Policy
Configure Logon Script Delay
Windows 11 25H2
Policy overview
Key metadata and intent for this policy.
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.
Registry values
How enabled and disabled states update the registry.
| Registry location | Type | Enabled value | Disabled value |
|---|---|---|---|
| HKLM\Software\Policies\Microsoft\Windows\System\EnableLogonScriptDelay | REG_DWORD | 1 | 0 |
Policy elements
Inputs and configuration options exposed by this policy.
| Element | Type | Registry mapping | Constraints & behavior |
|---|---|---|---|
minute: ID AsyncScriptDelay1 | decimal | HKLM\Software\Policies\Microsoft\Windows\System\AsyncScriptDelay Type REG_DWORD | Range: ? to 1000 |
Other policies in this category
Explore related policies at the same level.
- ComputerAllow cross-forest user policy and roaming user profilesAt least Windows Server 2003
- ComputerAlways use local ADM files for Group Policy Object EditorWindows Server 2003 and Windows XP only
- ComputerChange Group Policy processing to run asynchronously when a slow network connection is detected.At least Windows Vista
- ComputerConfigure Direct Access connections as a fast network connectionAt least Windows Server 2012, Windows 8 or Windows RT
- ComputerConfigure disk quota policy processingAt least Windows 2000
- ComputerConfigure EFS recovery policy processingAt least Windows 2000
- ComputerConfigure folder redirection policy processingAt least Windows 2000
- ComputerConfigure Group Policy CachingAt least Windows Server 2012 R2, Windows 8.1 or Windows RT 8.1
- UserConfigure Group Policy domain controller selectionAt least Windows 2000
- ComputerConfigure Group Policy slow link detectionAt least Windows 2000
- UserConfigure Group Policy slow link detectionAt least Windows 2000
- ComputerConfigure Internet Explorer Maintenance policy processingAt least Windows 2000