If you accidentally use a dead loop in PHP, or when you test the DLL component, hang up. IIS stops responding and restarts the IIS service with the IISReset command.
However, the process is still running and Internet Service Manager is not closed. And when you want to end Inetinfo.exe or Dllhost. EXE process, we get a rejection of the information, of course, you are administrator rights or get this hint. You may also use net stop, but it takes a long time and sometimes does not respond. Then we have to reboot the computer. Can you restart IIS without restarting your computer?
Of course, Microsoft installs IIS while installing a tool called IISReset, which you can find in Winnt\System32, which can be used as a command line with Ping. It has multiple parameters, and here are a few important, as well as the pertinent parameters of our article:
Restart the IIS server and start-> run->cmd (listed below for related operations commands):
Start after Iisreset/restart stop
Iisreset/start Start IIS (if stopped)
Iisreset/stop Stop IIS (if started)
Iisreset/reboot Reboot the computer
Iisreset/rebootonerror Restart the computer if IIS fails to stop
Iisreset/noforce do not force IIS to stop
Iisreset/timeout:x after X seconds, IIS is forced to stop unless the/noforce parameter is given.
The most convenient use, of course, you can also run under cmd:
Iisreset/start