Jul
05
I don’t know about you, but I find it hassle having to navigate to the Windows Services list in order to stop and start IIS at will:
Start Menu -> Control Panel -> Administrative Tools -> Services
So, how can we do this quickly without all the fiddly and tedious navigation. Easy! Simply use these command-line commands:
Stop:
net stop iisadmin
Stop All Dependent Services:
net stop iisadmin /y
Start:
net start w3svc
Kill
This lead me to another annoying problem in that the W3SVC service acutally got stuck stopping. I sumbled upon some useful information on killing the process completely. Simply use the TaskKill command.
Taskkill /F /FI "SERVICES eq w3svc"
Taskkill /F /FI "SERVICES eq iisadmin"
Ater this the services may be displayed as being started, so be sure to stop them again.

no comment untill now