Tag: iisreset

IIS World wide web publishing service stopping

Got an alert stating IIS 7 role unavailable, when checked found that the service named World Wide Web publishing service was not starting. This could be in case the IIS isn’t shutdown cleanly. This could break the services like World Wide Web publishing service (w3svc).
In that case, we can fix the issue by resetting the IIS by executing the commands
# iisreset /stop
# iisreset /start
taskkill /F /FI “SERVICES eq w3svc”
Finally, restarting the IIS would fix the issue.


Filed under: Windows(2003/2008/2012)Tagged with: , , , , , , , ,

Unable to restat IIS service in Windows (Error 1053).

Unable to restart IIS service, Could not stop the IIS Admin service on local computer
Error 1053: The service did not respond to the start or control request in a timely fashion
Usually when this happens I’m forced to reboot.

Therefore, today I found something very useful i.e the iisreset command! It restarts the IIS when it craps out like this is as simple as opening a command prompt and typing this command:

iisreset localhost /restart

Of course, you’ll need to use the correct machine name in place of localhost.

Running this program will result in this output:

Attempting stop…
Internet services successfully stopped
Attempting start…
Internet services successfully restarted

After it’s done (which seems to take less time than using the services control panel to restart the services) IIS will work correctly again.

Filed under: Windows(2003/2008/2012)Tagged with: , , , , ,