Browse FAQs

How to set task scheduler to reset IIS daily

Published date: 04 June 2020

Customer is trying to create a task to have IIS reset every day on PME system

Product Line
PME 8.x, PME 9.x,

Power Management Expert

Customer noticed Web Applications may freeze if its kept opened for a couple of days and wants to reset IIS

-First you'll have to create a batch file with the iis reset command. Use the sample below and copy in a notepad and save as desired name + ".bat" and for file type select "All Files". Second line is optional (just a delay) and can be removed.
@echo off
-Open Task Scheduler and create a new task.
-Go to 'Triggers' tab and create the desired frequency in which you'd like iss reset to run as well as the time of the day at which it should start.
-Lastly go to 'Actions' and select the '.bat' file you created.

Was this helpful?

What can we do to improve the information ?

Can't find what you are looking for?

Reach out to our customer care team to receive information on technical support, assistance for complaints and more.