This can also be managed as either a GPO or LGPO. There are four possible locations for this setting. HKCU/HKLM WinLogon/Policies
quote:
RunLogonScriptSync
HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System
Data type Range Default value
REG_DWORD 0 | 1 0
Description
Directs the system to wait for the logon scripts to finish running before it starts the Windows Explorer interface program and creates the desktop.
This entry stores the setting of the Run logon scripts synchronously Group Policy. Group Policy adds this entry to the registry with a value of 1 when you enable the Run logon scripts synchronously policy. If you disable the policy, Group Policy sets the value to 0. If you set the policy to Not configured, Group Policy deletes the entry from the registry and the system behaves as though the value is 0.
Value Meaning
0 The policy is disabled or not configured. Logon scripts and Windows Explorer are not synchronized and can run simultaneously.
1 The policy is enabled. Windows Explorer does not start until the logon scripts have finished running. This setting assures that logon script processing is complete before the user starts working, but it can delay the appearance of the desktop.
Change method
To change the value of this entry, use Group Policy. This entry corresponds to the Run logon scripts synchronously policy (Computer Configuration\Administrative Templates\System\Logon).
Note
This entry appears in both HKEY_LOCAL_MACHINE and HKEY_CURRENT_USER. If the values conflict, the value in HKEY_LOCAL_MACHINE takes precedence over the value in HKEY_CURRENT_USER.
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 RunLogonScriptSync (HKLM) and RunLogonScriptSync (HKCU).
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.