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:
- Start a registry editor (e.g., regedit.exe).
- Navigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Schedule.
- From the Edit menu, select New - DWORD value.
- Enter a name of AtTaskMaxHours, and press Enter.
- 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.
- Close the registry editor.
- Restart the machine for the changes to take effect.
Microsoft plans to release this fix in Win2K Service Pack 3 (SP3).