Home » Task Scheduler - How to move the Task Scheduler log SchedLgU.Txt to different folder

Google
 

Task Scheduler - How to move the Task Scheduler log SchedLgU.Txt to different folder


What is the task scheduler?

The Task Scheduler service allows you to perform automated tasks on a chosen computer. With this service you can schedule any batch file, program, or document to run at a time that is convenient for you or when a specific event occurs. Task Scheduler monitors the time or event criteria you choose and then executes the task when those criteria are met.

With the Task Scheduler you can:

  • Create tasks.
  • Schedule a task to run at a specific time or when a specific event occurs.
  • Change the schedule for a task.
  • Customize how tasks run.
  • Stop a scheduled task.

There is a log file SchedLgU.Txt that captures the activity of Scheduled Tasks. By default the log file is located here: %SystemRoot%\Tasks\SchedLgU.Txt or on most systems : C:\Windows\Tasks\SchedLgU.Txt.

How to move the Task Scheduler log SchedLgU.Txt to different folder

If you need to move the task schdeuler log to different folder then here are the steps:

  1. Click Start, Run and type Regedit.exe
  2. Navigate to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\SchedulingAgent
  3. Backup the SchedulingAgent key to a safe location.
  4. Open the the LogPath value.
  5. Change the path to the new target folder.
  6. Close Regedit
  7. Restart the Task Scheduler service by completing the following
  8. Start -> Run -> Type services.msc
  9. Locate the task Scheduler service in the list -> right click and select restart.
  10. move the SchedLgU.txt file from %Systemroot%\tasks to the new folder.

Leave a Reply

Links: More at WindowsWideOpen.com

powered by FreeFind