Registry data refreshed from vendors: Last vendor change detected: 5 Dec 2026Next refresh: 1st of the monthApp v1.4.0 (5 Dec 2026): Cleanup or tattoo: see what stays behind after a GPO is removed. Release notes
Windows (ADMX) · PowerShellExecutionPolicy.admx

PowerShellExecutionPolicy.admx: 5 policies

Generated from Microsoft Windows Server 2025 Datacenter build 26100 in-box templates + Windows 11 ADMX package (download id 108394) on 2026-12-05. Titles, explanations and "Supported on" text are Microsoft's own, from the en-US ADML file.

Set the default source path for Update-Help

Machine and user Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016

Supported on: At least Microsoft Windows 7 or Windows Server 2008 family

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKLM\Software\Policies\Microsoft\Windows\PowerShell\UpdatableHelp
Registry keyHKCU\Software\Policies\Microsoft\Windows\PowerShell\UpdatableHelp
Value nameEnableUpdateHelpDefaultSourcePath
Enabled writes1 (REG_DWORD)
Disabled writes0 (REG_DWORD)
OptionValueTypeAllowed values
Default Source PathDefaultSourcePathREG_SZText
What it does (vendor explanation)

This policy setting allows you to set the default value of the SourcePath parameter on the Update-Help cmdlet.

If you enable this policy setting, the Update-Help cmdlet will use the specified value as the default value for the SourcePath parameter. This default value can be overridden by specifying a different value with the SourcePath parameter on the Update-Help cmdlet.

If this policy setting is disabled or not configured, this policy setting does not set a default value for the SourcePath parameter of the Update-Help cmdlet.

Note: This policy setting exists under both Computer Configuration and User Configuration in the Group Policy Editor. The Computer Configuration policy setting takes precedence over the User Configuration policy setting.

Group Policy path: Computer or User Configuration > Administrative Templates > Windows Components > Windows PowerShell > Set the default source path for Update-Help

PowerShell equivalent (generated from the template)
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\PowerShell\UpdatableHelp' -Force | Out-Null
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\PowerShell\UpdatableHelp' -Name 'EnableUpdateHelpDefaultSourcePath' -Value 1 -PropertyType DWord -Force
# Default Source Path
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\PowerShell\UpdatableHelp' -Name 'DefaultSourcePath' -Value <value> -PropertyType String -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Remote management (WinRM, PowerShell, UAC remote)File Explorer and desktopPower managementADMX: PowerShellExecutionPolicy.admx · policy name EnableUpdateHelpDefaultSourcePath

Turn on Module Logging

Machine and user Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016

Supported on: At least Microsoft Windows 7 or Windows Server 2008 family

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKLM\Software\Policies\Microsoft\Windows\PowerShell\ModuleLogging
Registry keyHKCU\Software\Policies\Microsoft\Windows\PowerShell\ModuleLogging
Value nameEnableModuleLogging
Enabled writes1 (REG_DWORD)
Disabled writes0 (REG_DWORD)
OptionValueTypeAllowed values
Module NamesSoftware\Policies\Microsoft\Windows\PowerShell\ModuleLogging\ModuleNames\(list subkey)REG_SZ (one value per entry)One value per list entry
What it does (vendor explanation)

This policy setting allows you to turn on logging for Windows PowerShell modules.

If you enable this policy setting, pipeline execution events for members of the specified modules are recorded in the Windows PowerShell log in Event Viewer. Enabling this policy setting for a module is equivalent to setting the LogPipelineExecutionDetails property of the module to True.

If you disable this policy setting, logging of execution events is disabled for all Windows PowerShell modules. Disabling this policy setting for a module is equivalent to setting the LogPipelineExecutionDetails property of the module to False.

If this policy setting is not configured, the LogPipelineExecutionDetails property of a module or snap-in determines whether the execution events of a module or snap-in are logged. By default, the LogPipelineExecutionDetails property of all modules and snap-ins is set to False.

To add modules and snap-ins to the policy setting list, click Show, and then type the module names in the list. The modules and snap-ins in the list must be installed on the computer.

Note: This policy setting exists under both Computer Configuration and User Configuration in the Group Policy Editor. The Computer Configuration policy setting takes precedence over the User Configuration policy setting.

Group Policy path: Computer or User Configuration > Administrative Templates > Windows Components > Windows PowerShell > Turn on Module Logging

PowerShell equivalent (generated from the template)
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\PowerShell\ModuleLogging' -Force | Out-Null
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\PowerShell\ModuleLogging' -Name 'EnableModuleLogging' -Value 1 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Remote management (WinRM, PowerShell, UAC remote)File Explorer and desktopPower managementADMX: PowerShellExecutionPolicy.admx · policy name EnableModuleLogging

Turn on PowerShell Script Block Logging

Machine and user Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016

Supported on: At least Microsoft Windows 7 or Windows Server 2008 family

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKLM\Software\Policies\Microsoft\Windows\PowerShell\ScriptBlockLogging
Registry keyHKCU\Software\Policies\Microsoft\Windows\PowerShell\ScriptBlockLogging
Value nameEnableScriptBlockLogging
Enabled writes1 (REG_DWORD)
Disabled writes0 (REG_DWORD)
OptionValueTypeAllowed values
Log script block invocation start / stop events:EnableScriptBlockInvocationLoggingREG_DWORDChecked: 1; unchecked: 0
What it does (vendor explanation)

This policy setting enables logging of all PowerShell script input to the Microsoft-Windows-PowerShell/Operational event log. If you enable this policy setting, Windows PowerShell will log the processing of commands, script blocks, functions, and scripts - whether invoked interactively, or through automation.

If you disable this policy setting, logging of PowerShell script input is disabled.

If you enable the Script Block Invocation Logging, PowerShell additionally logs events when invocation of a command, script block, function, or script starts or stops. Enabling Invocation Logging generates a high volume of event logs.

Note: This policy setting exists under both Computer Configuration and User Configuration in the Group Policy Editor. The Computer Configuration policy setting takes precedence over the User Configuration policy setting.

Group Policy path: Computer or User Configuration > Administrative Templates > Windows Components > Windows PowerShell > Turn on PowerShell Script Block Logging

PowerShell equivalent (generated from the template)
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\PowerShell\ScriptBlockLogging' -Force | Out-Null
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\PowerShell\ScriptBlockLogging' -Name 'EnableScriptBlockLogging' -Value 1 -PropertyType DWord -Force
# Log script block invocation start / stop events:
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\PowerShell\ScriptBlockLogging' -Name 'EnableScriptBlockInvocationLogging' -Value <value> -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Remote management (WinRM, PowerShell, UAC remote)File Explorer and desktopPower managementADMX: PowerShellExecutionPolicy.admx · policy name EnableScriptBlockLogging

Turn on PowerShell Transcription

Machine and user Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016

Supported on: At least Microsoft Windows 7 or Windows Server 2008 family

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKLM\Software\Policies\Microsoft\Windows\PowerShell\Transcription
Registry keyHKCU\Software\Policies\Microsoft\Windows\PowerShell\Transcription
Value nameEnableTranscripting
Enabled writes1 (REG_DWORD)
Disabled writes0 (REG_DWORD)
OptionValueTypeAllowed values
Transcript output directoryOutputDirectoryREG_SZText
Include invocation headers:EnableInvocationHeaderREG_DWORDChecked: 1; unchecked: 0
What it does (vendor explanation)

This policy setting lets you capture the input and output of Windows PowerShell commands into text-based transcripts.

If you enable this policy setting, Windows PowerShell will enable transcripting for Windows PowerShell, the Windows PowerShell ISE, and any other applications that leverage the Windows PowerShell engine. By default, Windows PowerShell will record transcript output to each users' My Documents directory, with a file name that includes 'PowerShell_transcript', along with the computer name and time started. Enabling this policy is equivalent to calling the Start-Transcript cmdlet on each Windows PowerShell session.

If you disable this policy setting, transcripting of PowerShell-based applications is disabled by default, although transcripting can still be enabled through the Start-Transcript cmdlet.

If you use the OutputDirectory setting to enable transcript logging to a shared location, be sure to limit access to that directory to prevent users from viewing the transcripts of other users or computers.

Note: This policy setting exists under both Computer Configuration and User Configuration in the Group Policy Editor. The Computer Configuration policy setting takes precedence over the User Configuration policy setting.

Group Policy path: Computer or User Configuration > Administrative Templates > Windows Components > Windows PowerShell > Turn on PowerShell Transcription

PowerShell equivalent (generated from the template)
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\PowerShell\Transcription' -Force | Out-Null
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\PowerShell\Transcription' -Name 'EnableTranscripting' -Value 1 -PropertyType DWord -Force
# Transcript output directory
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\PowerShell\Transcription' -Name 'OutputDirectory' -Value <value> -PropertyType String -Force
# Include invocation headers:
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\PowerShell\Transcription' -Name 'EnableInvocationHeader' -Value <value> -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Remote management (WinRM, PowerShell, UAC remote)File Explorer and desktopPower managementADMX: PowerShellExecutionPolicy.admx · policy name EnableTranscripting

Turn on Script Execution

Machine and user Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016

Supported on: At least Microsoft Windows 7 or Windows Server 2008 family

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKLM\Software\Policies\Microsoft\Windows\PowerShell
Registry keyHKCU\Software\Policies\Microsoft\Windows\PowerShell
Value nameEnableScripts
Enabled writes1 (REG_DWORD)
Disabled writes0 (REG_DWORD)
OptionValueTypeAllowed values
Execution PolicyExecutionPolicyAllSigned (REG_SZ) = Allow only signed scripts
RemoteSigned (REG_SZ) = Allow local scripts and remote signed scripts
Unrestricted (REG_SZ) = Allow all scripts
What it does (vendor explanation)

This policy setting lets you configure the script execution policy, controlling which scripts are allowed to run.

If you enable this policy setting, the scripts selected in the drop-down list are allowed to run.

The "Allow only signed scripts" policy setting allows scripts to execute only if they are signed by a trusted publisher.

The "Allow local scripts and remote signed scripts" policy setting allows any local scrips to run; scripts that originate from the Internet must be signed by a trusted publisher.

The "Allow all scripts" policy setting allows all scripts to run.

If you disable this policy setting, no scripts are allowed to run.

Note: This policy setting exists under both "Computer Configuration" and "User Configuration" in the Local Group Policy Editor. The "Computer Configuration" has precedence over "User Configuration."

If you disable or do not configure this policy setting, it reverts to a per-machine preference setting; the default if that is not configured is "No scripts allowed."

Group Policy path: Computer or User Configuration > Administrative Templates > Windows Components > Windows PowerShell > Turn on Script Execution

PowerShell equivalent (generated from the template)
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\PowerShell' -Force | Out-Null
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\PowerShell' -Name 'EnableScripts' -Value 1 -PropertyType DWord -Force
# Execution Policy
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\PowerShell' -Name 'ExecutionPolicy' -Value AllSigned -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Remote management (WinRM, PowerShell, UAC remote)File Explorer and desktopPower managementADMX: PowerShellExecutionPolicy.admx · policy name EnableScripts