Activar la transcripción de PowerShell: valor del Registro EnableTranscripting y 2 másEquipoHKLM\Software\Policies\Microsoft\Windows\PowerShell\Transcription

Id. de directiva
EnableTranscripting
Ámbito
Configuración del equipo, configuración de usuario
Compatible con
Al menos familia de Microsoft Windows 7 o Windows Server 2008
Origen
Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (versión 1.0)
Categoría
Componentes de Windows › Windows PowerShell

Registro

EnableTranscripting

REG_DWORDEquipoUsuario
Valor al habilitar
1
Valor al deshabilitar
0
Aplicar con .reg · CMD · PowerShell
EquipoConfiguración global del equipo
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\PowerShell\Transcription]

; Opciones (usar solo una)
; Habilitada
"EnableTranscripting"=dword:00000001
; Deshabilitada
"EnableTranscripting"=dword:00000000
CMD
:: Opciones (usar solo una)

:: Habilitada
reg add "HKLM\Software\Policies\Microsoft\Windows\PowerShell\Transcription" /v "EnableTranscripting" /t REG_DWORD /d 1 /f
:: Deshabilitada
reg add "HKLM\Software\Policies\Microsoft\Windows\PowerShell\Transcription" /v "EnableTranscripting" /t REG_DWORD /d 0 /f
PowerShell
# Común: crear la clave
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\PowerShell\Transcription' -Force | Out-Null

# Opciones (usar solo una)
# Habilitada
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\PowerShell\Transcription' -Name 'EnableTranscripting' -PropertyType DWord -Value 1 -Force | Out-Null
# Deshabilitada
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\PowerShell\Transcription' -Name 'EnableTranscripting' -PropertyType DWord -Value 0 -Force | Out-Null
UsuarioConfiguración por cuenta
.reg
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows\PowerShell\Transcription]

; Opciones (usar solo una)
; Habilitada
"EnableTranscripting"=dword:00000001
; Deshabilitada
"EnableTranscripting"=dword:00000000
CMD
:: Opciones (usar solo una)

:: Habilitada
reg add "HKCU\Software\Policies\Microsoft\Windows\PowerShell\Transcription" /v "EnableTranscripting" /t REG_DWORD /d 1 /f
:: Deshabilitada
reg add "HKCU\Software\Policies\Microsoft\Windows\PowerShell\Transcription" /v "EnableTranscripting" /t REG_DWORD /d 0 /f
PowerShell
# Común: crear la clave
New-Item -Path 'HKCU:\Software\Policies\Microsoft\Windows\PowerShell\Transcription' -Force | Out-Null

# Opciones (usar solo una)
# Habilitada
New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Windows\PowerShell\Transcription' -Name 'EnableTranscripting' -PropertyType DWord -Value 1 -Force | Out-Null
# Deshabilitada
New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Windows\PowerShell\Transcription' -Name 'EnableTranscripting' -PropertyType DWord -Value 0 -Force | Out-Null

OutputDirectory

REG_SZEquipoUsuario
Valor al habilitar
Depende del valor de la opción
Elemento
Directorio de salida de la transcripción
Tipo de valor
REG_SZ
Aplicar con .reg · CMD · PowerShell
EquipoConfiguración global del equipo
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\PowerShell\Transcription]

; Los nombres y tipos de valor siguen el ADMX. Reemplace <introducir valor> más abajo con sus propios datos
"OutputDirectory"="<introducir valor>"
CMD
:: Los nombres y tipos de valor siguen el ADMX. Reemplace <introducir valor> más abajo con sus propios datos

reg add "HKLM\Software\Policies\Microsoft\Windows\PowerShell\Transcription" /v "OutputDirectory" /t REG_SZ /d "<introducir valor>" /f
PowerShell
# Los nombres y tipos de valor siguen el ADMX. Reemplace <introducir valor> más abajo con sus propios datos

New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\PowerShell\Transcription' -Force | Out-Null
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\PowerShell\Transcription' -Name 'OutputDirectory' -PropertyType String -Value '<introducir valor>' -Force | Out-Null
UsuarioConfiguración por cuenta
.reg
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows\PowerShell\Transcription]

; Los nombres y tipos de valor siguen el ADMX. Reemplace <introducir valor> más abajo con sus propios datos
"OutputDirectory"="<introducir valor>"
CMD
:: Los nombres y tipos de valor siguen el ADMX. Reemplace <introducir valor> más abajo con sus propios datos

reg add "HKCU\Software\Policies\Microsoft\Windows\PowerShell\Transcription" /v "OutputDirectory" /t REG_SZ /d "<introducir valor>" /f
PowerShell
# Los nombres y tipos de valor siguen el ADMX. Reemplace <introducir valor> más abajo con sus propios datos

New-Item -Path 'HKCU:\Software\Policies\Microsoft\Windows\PowerShell\Transcription' -Force | Out-Null
New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Windows\PowerShell\Transcription' -Name 'OutputDirectory' -PropertyType String -Value '<introducir valor>' -Force | Out-Null

EnableInvocationHeader

REG_DWORDEquipoUsuario
Marcada
1
Sin marcar
0
Elemento
Incluir encabezados de invocación:
Tipo de valor
REG_DWORD
Aplicar con .reg · CMD · PowerShell
EquipoConfiguración global del equipo
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\PowerShell\Transcription]

; Opciones (usar solo una)
; Marcada
"EnableInvocationHeader"=dword:00000001
; Sin marcar
"EnableInvocationHeader"=dword:00000000
CMD
:: Opciones (usar solo una)

:: Marcada
reg add "HKLM\Software\Policies\Microsoft\Windows\PowerShell\Transcription" /v "EnableInvocationHeader" /t REG_DWORD /d 1 /f
:: Sin marcar
reg add "HKLM\Software\Policies\Microsoft\Windows\PowerShell\Transcription" /v "EnableInvocationHeader" /t REG_DWORD /d 0 /f
PowerShell
# Común: crear la clave
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\PowerShell\Transcription' -Force | Out-Null

# Opciones (usar solo una)
# Marcada
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\PowerShell\Transcription' -Name 'EnableInvocationHeader' -PropertyType DWord -Value 1 -Force | Out-Null
# Sin marcar
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\PowerShell\Transcription' -Name 'EnableInvocationHeader' -PropertyType DWord -Value 0 -Force | Out-Null
UsuarioConfiguración por cuenta
.reg
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows\PowerShell\Transcription]

; Opciones (usar solo una)
; Marcada
"EnableInvocationHeader"=dword:00000001
; Sin marcar
"EnableInvocationHeader"=dword:00000000
CMD
:: Opciones (usar solo una)

:: Marcada
reg add "HKCU\Software\Policies\Microsoft\Windows\PowerShell\Transcription" /v "EnableInvocationHeader" /t REG_DWORD /d 1 /f
:: Sin marcar
reg add "HKCU\Software\Policies\Microsoft\Windows\PowerShell\Transcription" /v "EnableInvocationHeader" /t REG_DWORD /d 0 /f
PowerShell
# Común: crear la clave
New-Item -Path 'HKCU:\Software\Policies\Microsoft\Windows\PowerShell\Transcription' -Force | Out-Null

# Opciones (usar solo una)
# Marcada
New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Windows\PowerShell\Transcription' -Name 'EnableInvocationHeader' -PropertyType DWord -Value 1 -Force | Out-Null
# Sin marcar
New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Windows\PowerShell\Transcription' -Name 'EnableInvocationHeader' -PropertyType DWord -Value 0 -Force | Out-Null