HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System
Data type | Range | Default value |
---|---|---|
REG_DWORD | 0 | 1 -32000 seconds | 600 (10 minutes) |
Determines how long the system waits for scripts applied by Group Policy to run.
The value of this entry limits the combined time allowed for all logon, startup, and shutdown scripts applied by Group Policy to finish running.
This entry stores the setting of the Maximum wait time for Group Policy scripts Group Policy. Group Policy adds this entry to the registry with the value you enter when you configure the Maximum wait time for Group Policy scripts policy. If you disable the policy or do not configure it, Group Policy deletes the entry from the registry and the system behaves as though the value of the entry is 600 seconds (10 minutes).
Value | Meaning |
---|---|
0x0 | The system waits until all scripts have finish running, no matter how long they take. |
0x1 - 0x8000 | Specifies how long the system waits for scripts to finish. If the scripts have not finished running when the specified time expires, the system stops script processing and records an error event. |
This interval is particularly important when other system tasks must wait while the scripts complete. By default, each startup script must complete before the next one runs. Also, you can set the RunLogonScriptSync entry to direct the system to wait for the logon scripts to complete before loading the desktop.
An excessively long interval can delay the system and inconvenience users. However, if the interval is too short, prerequisite tasks might not be done, and the system can appear to be ready prematurely.
To change the value of this entry, use Group Policy. This entry corresponds to the Maximum wait time for Group Policy scripts policy (Computer Configuration\Administrative Templates\System\Logon). In the Seconds box, type a number from 1 to 32,000 for the number of seconds you want the system to wait for the set of scripts to finish. To direct the system to wait until the scripts have finished, no matter how long they take, type 0.
Note
This entry takes precedence over a user setting. When this entry appears in the registry, a policy is in effect and the system ignores the value of MaxGPOScriptWait in the Winlogon subkey.
Tip
For detailed information about particular Group Policy settings, see the Group Policy Reference (Gp.chm) on the Windows 2000 Resource Kit companion CD.
For general information about Group Policy, see Group Policy in Windows 2000 Help.
To see a table associating policies with their corresponding registry entries, see the Group Policy Reference Table.
Related Entries