Turn on PowerShell Transcription
Computer Configuration and User Configuration > Administrative Templates > PowerShell Core
EnableTranscripting PowerShellCoreExecutionPolicy.admx PowerShell 7 7.6.10 Registry
| Key (computer) | HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\PowerShellCore\Transcription |
|---|---|
| Key (user) | HKEY_CURRENT_USER\Software\Policies\Microsoft\PowerShellCore\Transcription |
| Value name | EnableTranscripting |
| Supported on | At least Microsoft Windows 7 or Windows Server 2008 family |
| Namespace | Microsoft.Policies.PowerShellCore |
Options
Option Value written Type and range Default Use Windows PowerShell Policy setting. UseWindowsPowerShellPolicySetting on / off none Transcript output directory OutputDirectory REG_SZ none Include invocation headers: EnableInvocationHeader on / off none
What each state writes
Computed with the same rules RFF Conformance uses, with the default options. Pick your own options in the builder below.
Computer Configuration
HKLM\Software\Policies\Microsoft\PowerShellCore\Transcription | EnableTranscripting | 1 REG_DWORD |
HKLM\Software\Policies\Microsoft\PowerShellCore\Transcription | EnableTranscripting | 0 REG_DWORD |
HKLM\Software\Policies\Microsoft\PowerShellCore\Transcription | UseWindowsPowerShellPolicySetting | value removed |
HKLM\Software\Policies\Microsoft\PowerShellCore\Transcription | OutputDirectory | value removed |
HKLM\Software\Policies\Microsoft\PowerShellCore\Transcription | EnableInvocationHeader | value removed |
HKLM\Software\Policies\Microsoft\PowerShellCore\Transcription | EnableTranscripting | value removed |
HKLM\Software\Policies\Microsoft\PowerShellCore\Transcription | UseWindowsPowerShellPolicySetting | value removed |
HKLM\Software\Policies\Microsoft\PowerShellCore\Transcription | OutputDirectory | value removed |
HKLM\Software\Policies\Microsoft\PowerShellCore\Transcription | EnableInvocationHeader | value removed |
User Configuration
HKCU\Software\Policies\Microsoft\PowerShellCore\Transcription | EnableTranscripting | 1 REG_DWORD |
HKCU\Software\Policies\Microsoft\PowerShellCore\Transcription | EnableTranscripting | 0 REG_DWORD |
HKCU\Software\Policies\Microsoft\PowerShellCore\Transcription | UseWindowsPowerShellPolicySetting | value removed |
HKCU\Software\Policies\Microsoft\PowerShellCore\Transcription | OutputDirectory | value removed |
HKCU\Software\Policies\Microsoft\PowerShellCore\Transcription | EnableInvocationHeader | value removed |
HKCU\Software\Policies\Microsoft\PowerShellCore\Transcription | EnableTranscripting | value removed |
HKCU\Software\Policies\Microsoft\PowerShellCore\Transcription | UseWindowsPowerShellPolicySetting | value removed |
HKCU\Software\Policies\Microsoft\PowerShellCore\Transcription | OutputDirectory | value removed |
HKCU\Software\Policies\Microsoft\PowerShellCore\Transcription | EnableInvocationHeader | value removed |
In Intune
Intune sets third-party templates by importing the ADMX first. In the admin center that is Devices > Configuration > Import ADMX, then a profile from Imported Administrative templates. With a custom (OMA-URI) profile instead, ingest the file once and then set the policy:
| 1. Ingest the ADMX | ./Device/Vendor/MSFT/Policy/ConfigOperations/ADMXInstall/PowerShell7/Policy/PowerShellCoreExecutionPolicy String value: the whole contents of PowerShellCoreExecutionPolicy.admx. "PowerShell7" is a name you choose; use the same one below. |
|---|---|
| 2. Set it (device) | ./Device/Vendor/MSFT/Policy/Config/PowerShell7~Policy~PowerShell/EnableTranscripting |
| 2. Set it (user) | ./User/Vendor/MSFT/Policy/Config/PowerShell7~Policy~PowerShell/EnableTranscripting |
| Value to enable | <enabled/><data id="UseWindowsPowerShellPolicySetting" value="true"/><data id="OutputDirectory" value="your transcript output directory"/><data id="EnableInvocationHeader" value="true"/> |
| Value to disable | <disabled/> |
Path format from Microsoft's ADMX ingestion documentation; the category part comes from this ADMX.
Build it
Choose a state and options. You get the exact writes, a .reg file, a script that applies them, and a script that checks a machine and reports drift. Nothing leaves your browser.
Keep it set across your fleet
Group Policy writes these values once per refresh and never tells you when something changes them back. RFF Conformance reads them from every computer, shows which ones drifted and who changed them, and puts them back on approval, with each change versioned and undoable. It works without a domain controller.
Source: PowerShell 7 policy templates, version 7.6.10, published by Microsoft 2026-11-10. Policy names and option labels are Microsoft's. Microsoft's full description of this setting: search Microsoft Learn.
ADMX Viewer is open source: github.com/deadarcher/AdmxViewer. Found a wrong registry value, a missing catalog, or a template that won't load? Open an issue, email brian@getrff.com, or use the form below.
Your note and the summary below are all that get sent. Your file stays on your machine.