IIS 7 Start / Stop / Restart

If you need to start, stop, or restart IIS from the command line, the quickest option is to use iisreset.

Commands

Start IIS:

iisreset /start

Stop IIS:

iisreset /stop

Restart IIS:

iisreset

Note

iisreset restarts the entire IIS service, so use it with care on shared or production servers. If you only need to restart a specific site or application pool, IIS Manager or PowerShell may be a better option.