Why do programs scheduled to run using the Windows 2000 Scheduler stop running after 72 hours?

John Savill

October 30, 2001

1 Min Read
ITPro Today logo in a gray background | ITPro Today

A. Win2K introduced a maximum running time of 72 hours for programs executed using the Scheduler. To remove or modify this timeframe, contact Microsoft and request the Q304288 fix, which consists of updated mstask.exe and mstask.dll files. After you apply these files, you can use a new registry entry to set the timeout period. To edit the registry, perform the following steps:

  1. Start a registry editor (e.g., regedit.exe).

  2. Navigate to HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesSchedule.

  3. From the Edit menu, select New - DWORD value.

  4. Enter a name of AtTaskMaxHours, and press Enter.

  5. Double-click the new value, set the value to the number of hours (between 1 and 999, or set the value to 0 to disable a maximum time), and click OK.

  6. Close the registry editor.

  7. Restart the machine for the changes to take effect.

Microsoft plans to release this fix in Win2K Service Pack 3 (SP3).

About the Author

Sign up for the ITPro Today newsletter
Stay on top of the IT universe with commentary, news analysis, how-to's, and tips delivered to your inbox daily.

You May Also Like