JSI Tip 3846. Your windows 2000 startup / logon scripts don't finish?

Jerold Schulman

June 27, 2001

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

If the combined time for startup or logon (and logoff or shutdown) script processingexceeds the systems 10 minute default, the script processing aborts and records and event error.

You can alter the time limit using the the Maximum wait time for Group Policy scripts Group Policy at Computer ConfigurationAdministrative TemplatesSystemLogon or User ConfigurationAdministrative TemplatesSystemLogon.

If the policy is Not defined, you can set the MaxGPOScriptWait value name, a REG_DWORD data type, at HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionPoliciesSystem or HKEY_CURRENT_USERSOFTWAREMicrosoftWindowsCurrentVersionPoliciesSystem.

A data value of 0 causes the script to run to completion, without regard for time. You can set the data value to the number of seconds desired, between 1 and 32000 seconds.

NOTE: An entry at HKEY_LOCAL_MACHINE takes precedence over a user entry.

NOTE: See RunLogonScriptSync.



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