Wednesday, May 3, 2017

How to Restart IIS Using Batch file




1.Open a new text file from notepad. type the following commands in the text file
2.Save the file as RestartIIS.bat on to your desktop
3.whenever you want to restart your IIS...just double click the RestartIIS.bat on ur desktop

*******************************************************************************
net stop w3svc
net stop iisadmin
net start iisadmin
net start w3svc
*******************************************************************************
 
 

No comments: