If you are using windows server 2012 or 2008, can start or stop w3svc service on command prompt,

Open your command prompt, Windows Key + R and type " cmd  ",

Type the following command to start or stop W3SVC service,

Start

net start w3svc

The World Wide Web Publishing Service service is stopping..
The World Wide Web Publishing Service service was stopped successfully.

Stop :
 
net stop w3svc

The World Wide Web Publishing Service service is starting..
The World Wide Web Publishing Service service was started successfully.