To save the IIS configuration to the metabase, use the
net stop and the
net start commands to stop and start your services, or stop and start the services from the MMC snap-in. To locate the snap-in, follow these steps:
- On the task bar click Start, point to Programs, point to Administrative Tools, and then click Services.
- Right-click IISAdmin Service and click Stop.
The following examples illustrate the commands that are necessary to stop and start IIS from a command prompt. To stop IIS from a command prompt:
NOTE: Take note of each of the services that depend on the IISAdmin Service, because you need to restart each of these services in the next step.
To start IIS from a command prompt:
net start w3svc
net start msftpsvc
net start smtpsvc
net start <short name for any other services that are listed when you stop IIS>
NOTE: Because W3SVC and the other services that are listed depend on the IISAdmin Service, the the IISAdmin Service is started automatically when the W3SVC service is started.
For additional information on finding the short names of services, click the article number below to view the article in the Microsoft Knowledge Base:
271362 How to Find the Short Names of Services