Configure Logon Script Delay
Jump to overview

Policy overview

Key metadata and intent for this policy.

Computer
Category
System > Group Policy
Supported on
At least Windows Server 2012 R2, Windows 8.1 or Windows RT 8.1

Supported OS tags: Windows10, Windows10RT, Windows11, Windows81, WindowsRT81, WindowsServer2012R2, WindowsServer2016

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.

Internal name
LogonScriptDelay
Policy ID
2bb246b6ce61
Elements
1

Registry values

How enabled and disabled states update the registry.

ScopeRegistry locationTypeEnabled valueDisabled valueCopy
Computer
Path
Software\Policies\Microsoft\Windows\System
Value name
EnableLogonScriptDelay
REG_DWORD
HKLM
1
HKLM
0
Registry location
Type REG_DWORD · Computer
Path
Software\Policies\Microsoft\Windows\System
Value name
EnableLogonScriptDelay
Hive
HKLM
Enabled value
1
Disabled value
0

Policy elements

Inputs and configuration options exposed by this policy.

ScopeElementTypeRegistry mappingConstraints & behaviorCopy
Computer
minute:
ID AsyncScriptDelay1
decimal
Path
Software\Policies\Microsoft\Windows\System
Value name
AsyncScriptDelay
Type
REG_DWORD
Range: ? to 1000
minute:
Computer · Type decimal
Registry mapping
Path
Software\Policies\Microsoft\Windows\System
Value name
AsyncScriptDelay
Type
REG_DWORD
Details
Range: ? to 1000