Knowledge Base

How to Limit the Maximum Size of the Scheduled Tasks Log File

Article ID: 169443

Article Last Modified on 12/3/2007


APPLIES TO


This article was previously published under Q169443
IMPORTANT: This article contains information about modifying the registry. Before you modify the registry, make sure to back it up and make sure that you understand how to restore the registry if a problem occurs. For information about how to back up, restore, and edit the registry, click the following article number to view the article in the Microsoft Knowledge Base:

256986 Description of the Microsoft Windows Registry

SUMMARY

This article describes how to limit the size of the Schedlog.txt file (Windows 95, Windows 98, and Windows Millennium Edition) or the SchedLgU.Txt file (Windows 2000, Windows XP, and Windows Server 2003) for readability purposes. You may want to do this because the file can grow quite large.

MORE INFORMATION

IMPORTANT: This article contains information about modifying the registry. Before you modify the registry, make sure to back it up and make sure that you understand how to restore the registry if a problem occurs. For information about how to back up, restore, and edit the registry, click the following article number to view the article in the Microsoft Knowledge Base:

256986 Description of the Microsoft Windows Registry

To set the maximum size of the Schedlog.txt file (Windows 95, Windows 98, and Windows Millennium Edition) or the SchedLgU.Txt file (Windows 2000 and Windows XP), use Registry Editor to locate the following key:

HKEY_LOCAL_MACHINE\Software\Microsoft\SchedulingAgent

Modify the decimal value for the MaxLogSizeKB DWord value. Set the value to the maximum size you want. Note that this value represents kilobytes (KB) of data. By default, the value is 32K.

Note: To open the Scheduled Tasks Log file, open the Scheduled Tasks folder and then click View Log on the Advanced menu.

Additional query words: 4.00 5.00

Keywords: kbmgmtservices kbenv kbhowto KB169443