ss_blog_claim=a92da441765f4a1d874a8747bc99ece7
One woman's plight in technical support.

Current News

Monday, January 19, 2009

How to: IIS (restarting)

Well, here's another in my small series on how to do things an admin needs to know how to do.
This one relates to IIS (Internet Information Services) which is the service, or rather series of services, that hosts connections to your server. This is also what holds up OWA and your web portal if you are self hosting.
Sample from a blog article I wrote:

One thing alot of admins don't know, is that you should never EVER restart the actual IIS service from the Services console. It's not because this sort of restart can cause harm, it's really because when you stop the IIS service several other services are stopped at the same time.

These services are dependent on IIS to run correctly. When IIS is restarted incorrectly, it doesn't usually come up with a list of services that were stopped during that time. Unless you have all these services memorized, it's best to not do an IIS restart this way.

Instead, it would be preferable to restart IIS with the methods I've outlined for you below. These will restart most of the services that IIS pulls down and will allow your system to resume regular operation the soonest.


Pre-note: The instructions below are for IIS 6.x and higher. In IIS 5 the instructions should be similar, but without the "All Tasks" portion.

My favorite method of restarting IIS is from the actual IIS console:

1. Click Start and go to Programs > Administrative Tools > Internet Information Services (IIS) Manager

2. In IIS, right-click and go to All Tasks > Restart IIS

3. In the window that pops up for confirmation click OK

You will then see a status window to let you know of your progress. It generally takes 2-4 minutes for the process to complete. You may be tempted to hit the End Now button, but typically I like to let this process flow naturally.

Note: If this takes longer than a few minutes to restart, or if it hangs, this may be an indication that there is a problem with your IIS. You may want to consider checking out Microsoft's website for more information, or instructions on how to reinstall IIS.


This is another method to restart from a console, this time from the Windows management console:

1. Right-click My Computer and go to Manage

2. Expand Services and Applications

3. Right-click Internet Information Services (IIS) Manager and go to All Tasks > Restart IIS



And lastly, from the command prompt:

1. From the Start menu, click Run.

2. In the Open box, type cmd, and click OK.

3. At the command prompt, type iisreset /noforce , and press ENTER.
(Note: You can also just type iisreset in most cases this will do the same thing.)

4. IIS attempts to stop all services before restarting.

The IISReset command-line utility waits up to one minute for all services to stop. If the services cannot be stopped within one minute, all IIS services are terminated, and IIS restarts.


Ok, so that's it. I have a MS article linked below for you to look at too, if you need it. :) Enjoy!!

Here's a Microsoft TechNet article with more detailed information about IIS.
http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/003ed2fe-6339-4919-b577-6aa965994a9b.mspx?mfr=true

Labels: , , , , , , , , , , , , ,

If you have tech horror stories you'd like to share I'd love to hear them! If I really really like it, I'll even blog about it. So let's hear it, what do your dumb customers do?

posted by Reine at 7:33 AM

0 Comments:

Post a Comment

<< Home