Microsoft KB Archive/256320

From BetaArchive Wiki
< Microsoft KB Archive
Revision as of 12:53, 21 July 2020 by X010 (talk | contribs) (Text replacement - """ to """)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Knowledge Base


Article ID: 256320

Article Last Modified on 3/1/2007



APPLIES TO

  • Microsoft Windows 2000 Server
  • Microsoft Windows 2000 Advanced Server
  • Microsoft Windows 2000 Professional Edition



This article was previously published under Q256320

SYMPTOMS

Your Windows 2000-based computer may appear to stop responding (hang) if the computer has a local policy that runs a startup script that may require user input. For example, if you have a startup script for "The Local Computer", and the script connects to domain resources and you move the machine to a workgroup, you do not see the dialog box that is requesting logon credentials for the resource. The computer will stay in this condition until you reach the timeout value for group policy scripts, and you receive the following message:

Please Wait
Running Startup Scripts

RESOLUTION

To work around this behavior, wait for the time-out, or restart the computer in safe mode and then edit the group policy.

STATUS

This behavior is by design.

MORE INFORMATION

To remove the startup script:

  • Click Start, click Run, type gpedit.msc, and then press ENTER.
  • View Computer Configuration\Windows Settings\Scripts.
  • Double-click Startup, click the appropriate script, and then click Remove.

By default, the computer permits the combined set of scripts to run for up to 600 seconds (10 minutes), but you can edit this policy to adjust this interval.

To change the default time out value:

  • Click Start, click Run, type gpedit.msc, and then press ENTER.
  • View Computer Configuration\Administrative Templates\System\Logon.
  • Double-click Maximum wait time for Group Policy scripts.
  • Click Enabled. In the Seconds box, type a number from 1 to 32,000 for the number of seconds you want the computer to wait for the set of scripts to finish. To direct the computer to wait until the scripts have finished, no matter how long they take, type 0.

This interval is particularly important when other computer tasks must wait while the scripts complete. By default, each startup script must complete before the next one runs. Also, you can use the "Run logon scripts synchronously" policy to direct the computer to wait for the logon scripts to complete before loading the desktop. An excessively long interval can delay the computer and inconvenience users. However, if the interval is too short, prerequisite tasks might not be done, and the computer can appear to be ready prematurely.

Keywords: kbenv kbgpo kbprb kbui KB256320