How do I restart IIS via command prompt?
RDP on to the server
To restart IIS using the IISReset command-line utility
- From the Start menu, click Run.
- In the Open box, type cmd, and click OK.
- At the command prompt, type
iisreset /noforce
- 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.
