Display instructions in startup scripts as they run
Jump to overview

Policy overview

Key metadata and intent for this policy.

Computer
Category
System > Scripts
Supported on
At least Windows 2000

Supported OS tags: Windows10, Windows10RT, Windows11, Windows2000, Windows7, Windows8, Windows81, WindowsRT, WindowsRT81, WindowsServer2003, WindowsServer2008, WindowsServer2012, WindowsServer2012R2, WindowsServer2016, WindowsVista, WindowsXP

This policy setting displays the instructions in startup scripts as they run. Startup scripts are batch files of instructions that run before the user is invited to log on. By default, the system does not display the instructions in the startup script. If you enable this policy setting, the system displays each instruction in the startup script as it runs. Instructions appear in a command window. This policy setting is designed for advanced users. If you disable or do not configure this policy setting, the instructions are suppressed. Note: Starting with Windows Vista operating system, scripts that are configured to run asynchronously are no longer visible on startup, whether this policy setting is enabled or not.

Internal name
Run_Startup_Script_Visible
Policy ID
069d8f72a811
Elements
0

Registry values

How enabled and disabled states update the registry.

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

Policy elements

Inputs and configuration options exposed by this policy.

This policy has no additional user input fields.