Configure Logon Script Delay
- Policy ID
- LogonScriptDelay
- Scope
- Computer Configuration
- Supported on
- At least Windows Server 2012 R2, Windows 8.1 or Windows RT 8.1
- Source
- Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (version 1.0)
- Category
- System › Group Policy
Description
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.
Options
Registry
ComputerHKEY_LOCAL_MACHINE
- EnableLogonScriptDelayREG_DWORD
- AsyncScriptDelayREG_DWORD