JSI Tip 3846. Your windows 2000 startup / logon scripts don't finish?
June 27, 2001
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.
About the Author
You May Also Like