Policy

Configure Logon Script Delay

Enter “0” to disable Logon Script Delay. This policy setting allows you to configure how long the Group Policy client waits after logon before running scripts. By default, the Group Policy client waits five minutes before running logon scripts. This helps create a responsive desktop environment by preventing disk contention. If you enable this policy setting, Group Policy will wait for the specified amount of time before running logon scripts. If you disable this policy setting, Group Policy will run scripts immediately after logon. If you do not configure this policy setting, Group Policy will wait five minutes before running logon scripts.

Policy
Pack Microsoft Windows
Category System / Group Policy
Policy ID 2bb246b6ce61
Internal name LogonScriptDelay

Registry

Copy registry mappings

HKLM\Software\Policies\Microsoft\Windows\System\EnableLogonScriptDelay (enabled) = 1
HKLM\Software\Policies\Microsoft\Windows\System\EnableLogonScriptDelay (disabled) = 0
HKLM\Software\Policies\Microsoft\Windows\System\AsyncScriptDelay

Policy notes

Enter “0” to disable Logon Script Delay. This policy setting allows you to configure how long the Group Policy client waits after logon before running scripts. By default, the Group Policy client waits five minutes before running logon scripts. This helps create a responsive desktop environment by preventing disk contention. If you enable this policy setting, Group Policy will wait for the specified amount of time before running logon scripts. If you disable this policy setting, Group Policy will run scripts immediately after logon. If you do not configure this policy setting, Group Policy will wait five minutes before running logon scripts.

Related policies