Usage of IISReset command
In this article I have explain how to run IIS restart from command prompt.
Normally when you want to restart the IIS, you will go to "Administrative Tools" under "Control Panel" and Open IIS and restart the server.
IF you use the below command you do it from the Run Windows/command prompt. You can Restart, Stop and Start IIS from the Run Windows/command Prompt.
Steps to do this
IIS Restart:
1. Press Windows + r to open Run
2. Type IISReset
This will open the command prompt and will run the Stop and Start request automatically.
If you don't have admin rights open command prompt as administrator and run IISReset.
:IIS Stop ::
1. Press Windows + r to open Run
2. Type IISReset -stop
This will open the command prompt and will run the Stop request automatically.
If you don't have admin rights open command prompt as administrator and run IISReset -stop.
IIS Start :
1. Press Windows + r to open Run
2. Type IISReset -start
This will open the command prompt and will run the Start request automatically.
If you don't have admin rights open command prompt as administrator and run IISReset -start.
