Updated: January 20, 2010
Applies To: Windows Server 2008
The Internet Information Services (IIS) IISAdmin service hosts the IIS 6.0 configuration compatibility component (metabase). The metabase is required to run IIS 6.0 administrative scripts, SMTP, and FTP.
The following is a list of all aspects that are part of this managed entity:
IISreset.exe is a command-line utility that can be used to stop, start, and restart IIS Internet services.
Note: Restarting or stopping IIS, or rebooting your Web server, is a severe action. When you use IISreset, your Web sites and applications become unavailable, all sessions connected to your Web server are dropped, and you lose existing state in your applications. Changes to the metabase can be lost. Your Web sites and applications will be unavailable until the affected Internet services are restarted.
The IISreset command stops and restarts the IIS Admin Service, the Windows Process Activation Service (WAS), and the World Wide Web Publishing Service (WWW Service).
Avoid using IISreset unless absolutely necessary. Instead, first try to restart an individual Web site or an individual application pool that may be causing problems. To do this by using IIS Manager, follow these steps:
To do this by using the appcmd command-line tool, follow these steps:
If you do need to use the IISreset command, include the /noforce parameter to prevent the services from being forcefully restarted if they cannot do so gracefully, and add the /timeout parameter to specify a number of seconds to wait before the services are restarted. This may help prevent problems that can occur when processes are stopped before they have finished.
For more information about IISReset in IIS 6.0, see the article "Restarting IIS (IIS 6.0)" at (http://go.microsoft.com/fwlink/?LinkId=103388).