Microsoft internet information services is turned normal computer into World Wide Web publishing web servers. IIS helps to run dynamic websites such as ASP, ASP.net and PHP websites. This is supports to run File Transfer Protocol (FTP) and Simple Mail Transfer Protocol (SMTP) so this most important for web applications, also this is provides different types of security for that web servers.
Sometime IIS will stop to work on unexpected reason, in this situation you must restart the IIS manually this process many times tedious work for some people. So they can reset IIS by using scheduler task, this task will be reset IIS particular interval as per your settings.
Activate IIS Reset by using Schedule Task
Following steps explain how to reset IIS by using schedule task:
- Go to control panel and click Administrative Tools
- Select Task Scheduler
- In Task Scheduler window click Create Basic Task in right side Actions panel
- Create Basic Task wizard window will be open
- Enter the Task name as IIS Rest in Name area and Add the description if you wish and click next
- In Task Trigger area select when do you want IIS reset task start, Daily or Weekly or whatever your needs
- If you select Daily you can add the task start time
- In Action area select start a program options and click next
- Click on Program/Script browse button and select C:\Windows\System32\iisreset.exe and click next button
- You can review your settings and click to Finish button
- Now your IIS Reset scheduler task will be added and it will start as per your scheduler time
If you would like to modify the task, right click on the task and select properties it will be open Task settings window here you can modify anything as you wish.
This is great… Thanks.
Is there a way to get this to write an event to the Windows Event Log indicating that iisreset did restart IIS?