Summary of several ways to restart the IIS service

  • 2020-05-13 03:54:34
  • OfStack

Most software problems can be solved by rebooting to the method, according to Microsoft products' generic troubleshooting and troubleshooting methods. We can restart the IIS server service without restarting the computer. When the website application breaks down and cannot be controlled effectively, the website application does not work normally or stably, even quite serious problems can be solved by restarting IIS.

Here are some ways to restart the IIS service. Take Windows2003 as an example:

Command action, the fourth method, is recommended.

1. Restart via IIS manager
Expand the IIS node in the IIS server administrative control tree, select the computer that needs to restart the IIS service, right-click, and select "all tasks" - > "Restart IIS."

2, through the "control panel" - > "Management tools" - > Service restarts

Open "control panel" - > "Management tools" - > "Service." Go to "IIS Admin Service", right click "restart" to bring up the "stop other services" window, and click "yes".

3. Operate through the Net command

Click "start" - > "Run", enter cmd to open the command window;

Enter net stop iisadmin /y enter to stop IIS;
Enter net start iisadmin enter to start IIS;
Enter net start w3svc enter WEB service.

4. Operate through IISReset command

Click "start" - > "Run", enter iisreset enter. In general, we use iisreset /restart. Sometimes, in order to realize the automatic restart of iis, we combine windows task plan.


Related articles: