Run logon scripts synchronously

Policy ID
Run_Logon_Script_Sync_2
Scope
Computer Configuration
Supported on
At least Windows 2000
Source
Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (version 1.0)
Category
System › Scripts

Description

This policy setting directs the system to wait for logon scripts to finish running before it starts the File Explorer interface program and creates the desktop.

If you enable this policy setting, File Explorer does not start until the logon scripts have finished running. This policy setting ensures that logon script processing is complete before the user starts working, but it can delay the appearance of the desktop.

If you disable or do not configure this policy setting, the logon scripts and File Explorer are not synchronized and can run simultaneously.

This policy setting appears in the Computer Configuration and User Configuration folders. The policy setting set in Computer Configuration takes precedence over the policy setting set in User Configuration.

Registry

ComputerHKEY_LOCAL_MACHINE
  • RunLogonScriptSyncREG_DWORD

Other policies in the same category

View all policies in this category (8)