1-> Restart IIS Using Command Prompt
2-> Resetting Internet Information Service
3-> IIS Configuration
4-> Restart Mysql Server From cmd Prompt
5 ->MySQL Server is Gone Away
2 ) In the Open box, type cmd, and click OK.
3 ) At the command prompt, type iisreset /stop. IIS will attempt to stop all services and will return confirmation once all services have been stopped.

4 ) At the command prompt, type iisreset /start.

5 ) That’s it! IIS has been restarted.
Tips
2-> Resetting Internet Information Service
3-> IIS Configuration
4-> Restart Mysql Server From cmd Prompt
5 ->MySQL Server is Gone Away
How to reset IIS with the command Prompt
1 ) From the Start menu, click Run.2 ) In the Open box, type cmd, and click OK.
3 ) At the command prompt, type iisreset /stop. IIS will attempt to stop all services and will return confirmation once all services have been stopped.
4 ) At the command prompt, type iisreset /start.
5 ) That’s it! IIS has been restarted.
Tips
- Typing iisreset directly from the run command window will reset IIS.
- iisreset /status will show the current status of IIS
- iisreset /noforce will prevent the server from forcing close applications and process. This can cause IIS to reset slower but is more graceful.