Execute the following command in CMD:
IIS site:
Stop Site:
C: \ Windows \ System32 \ inetsrv \ the Appcmd.exe STOP Site "XXXX"
Start site:
C: \ Windows \ System32 \ inetsrv \ Start the Appcmd.exe Site "XXXX"
Note: XXXX is the name of the IIS Web site
The application pool:
Stop "application pool" Solo:
C: \ Windows \ System32 \ inetsrv \ AppPool /apppool.name:"XXXX the Appcmd.exe STOP "
Start "application pool" Solo:
C: \ Windows \ System32 \ inetsrv \ Start AppPool /apppool.name:"XXXX the Appcmd.exe "
Recycling alone "application pool":
C: \ Windows \ System32 \ inetsrv \ AppPool /apppool.name:"XXXX the Appcmd.exe Recycle "
XXXX is the IIS application pool name
This article is reproduced in: https: //www.cnblogs.com/jmaly/p/9860606.html
Execute the following command in CMD:
IIS site:
Stop Site:
C: \ Windows \ System32 \ inetsrv \ the Appcmd.exe STOP Site "XXXX"
Start site:
C: \ Windows \ System32 \ inetsrv \ Start the Appcmd.exe Site "XXXX"
Note: XXXX is the name of the IIS Web site
The application pool:
Stop "application pool" Solo:
C: \ Windows \ System32 \ inetsrv \ AppPool /apppool.name:"XXXX the Appcmd.exe STOP "
Start "application pool" Solo:
C: \ Windows \ System32 \ inetsrv \ Start AppPool /apppool.name:"XXXX the Appcmd.exe "
Recycling alone "application pool":
C: \ Windows \ System32 \ inetsrv \ AppPool /apppool.name:"XXXX the Appcmd.exe Recycle "
XXXX is the IIS application pool name