Saturday 14 August 2021

How to reset IIS using batch file ?

 Please follow below steps to reset IIS using batch file :-

1) Open Notepad. Type command "C:\Windows\System32\iisreset.exe"

reset IIS using batch file

2)Save notepad file with .bat extension.

reset IIS using batch file

3)To reset  IIS, run .bat file as administrator.

reset IIS using batch file

   IIS reset shown in below image :-


So, in this way we can reset IIS using batch file. This batch file is very useful for automating IIS reset.


No comments:

Post a Comment