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
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.

