Unable to Delete Text in the Task Scheduler Log File


When you try to delete text from the Task Scheduler log file (schedlog.txt) by opening Task Scheduler, clicking Advanced, clicking View Log, selecting the text that you want to delete and then pressing DELETE, you may receive the following message:

The text in the C:\WINDOWS\SchedLog.Txt file has changed. Do you want to save the changes?

If you click Yes and then click Save, you receive the following message:

C:WINDOWS\SchedLog.Txt already exists. Do you want to replace it?

If you then click Yes, you receive the following error message:

Cannot create the C:\WINDOWS\SchedLog.Txt file. Make sure that the path and filename are correct.


This issue can occur because the Schedlog.txt file is in use by Task Scheduler and can not be modified until it is no longer in use.


To resolve this issue, disable Task Scheduler, edit the Schedlog.txt file, and then re-enable Task Scheduler. To do so, use the following steps:

  1. Click Start, point to Programs, point to Accessories, point to System Tools, and then click Scheduled Tasks.
  2. Click Advanced, and then click Stop Using Task Scheduler.
  3. Click View Log, edit the Schedlog.txt file, close the file, and then click Yes when you are prompted to save the file.
  4. Click Advanced, and then click Start Using Task Scheduler.

Article ID: 191427 - Last Review: Jan 23, 2007 - Revision: 1