On a computer running Windows Vista, you enabled the "Run logon scripts synchronously" Group Policy. When you tried to log on, the Welcome screen was displayed for 30 seconds. Then, the logon script interacted with you before the logon script process was completed. For example, the script prompted you to confirm a dialog box.
This issue occurs because the logon process runs in session 0. However, the logon script process runs in a different session. A 30-second delay occurs before Windows Vista switches from session 0 to another session. When the logon script interacts with you before the logon script process is complete, you have to wait for the 30-second time-out interval of session 0. To fix this problem, change the time-out interval to less than 30 seconds.
To resolve this issue, follow these steps:
- Go to Start
- Type regedit in the Start Search box, and then press ENTER.
- Find the following registry subkey:
- Double-click the DelayedDesktopSwitchTimeout registry entry.
- In the Value data box, type 5, and then click OK.
- In the File menu, click Exit.