Activer la transcription PowerShell : valeur de Registre EnableTranscripting et 2 autresUtilisateurHKCU\Software\Policies\Microsoft\Windows\PowerShell\Transcription
- ID de stratégie
- EnableTranscripting
- Étendue
- Configuration ordinateur, configuration utilisateur
- Pris en charge sur
- Au moins Microsoft Windows 7 ou famille Windows Server 2008
- Source
- Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (version 1.0)
- Catégorie
- Composants Windows › Windows PowerShell
Registre
EnableTranscripting
REG_DWORDUtilisateurOrdinateur…\Software\Policies\Microsoft\Windows\PowerShell\TranscriptionHKCU\Software\Policies\Microsoft\Windows\PowerShell\Transcription Clé actuelle
HKLM\Software\Policies\Microsoft\Windows\PowerShell\Transcription
HKLM\Software\Policies\Microsoft\Windows\PowerShell\Transcription
- Valeur si activée
- 1
- Valeur si désactivée
- 0
Appliquer avec .reg · CMD · PowerShell
UtilisateurParamètre par compte
.reg
Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows\PowerShell\Transcription] ; Options (en utiliser une seule) ; Activé "EnableTranscripting"=dword:00000001 ; Désactivé "EnableTranscripting"=dword:00000000
CMD
:: Options (en utiliser une seule) :: Activé reg add "HKCU\Software\Policies\Microsoft\Windows\PowerShell\Transcription" /v "EnableTranscripting" /t REG_DWORD /d 1 /f :: Désactivé reg add "HKCU\Software\Policies\Microsoft\Windows\PowerShell\Transcription" /v "EnableTranscripting" /t REG_DWORD /d 0 /f
PowerShell
# Commun : créer la clé New-Item -Path 'HKCU:\Software\Policies\Microsoft\Windows\PowerShell\Transcription' -Force | Out-Null # Options (en utiliser une seule) # Activé New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Windows\PowerShell\Transcription' -Name 'EnableTranscripting' -PropertyType DWord -Value 1 -Force | Out-Null # Désactivé New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Windows\PowerShell\Transcription' -Name 'EnableTranscripting' -PropertyType DWord -Value 0 -Force | Out-Null
OrdinateurParamètre valable pour tout l’ordinateur
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\PowerShell\Transcription] ; Options (en utiliser une seule) ; Activé "EnableTranscripting"=dword:00000001 ; Désactivé "EnableTranscripting"=dword:00000000
CMD
:: Options (en utiliser une seule) :: Activé reg add "HKLM\Software\Policies\Microsoft\Windows\PowerShell\Transcription" /v "EnableTranscripting" /t REG_DWORD /d 1 /f :: Désactivé reg add "HKLM\Software\Policies\Microsoft\Windows\PowerShell\Transcription" /v "EnableTranscripting" /t REG_DWORD /d 0 /f
PowerShell
# Commun : créer la clé New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\PowerShell\Transcription' -Force | Out-Null # Options (en utiliser une seule) # Activé New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\PowerShell\Transcription' -Name 'EnableTranscripting' -PropertyType DWord -Value 1 -Force | Out-Null # Désactivé New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\PowerShell\Transcription' -Name 'EnableTranscripting' -PropertyType DWord -Value 0 -Force | Out-Null
OutputDirectory
REG_SZUtilisateurOrdinateur…\Software\Policies\Microsoft\Windows\PowerShell\TranscriptionHKCU\Software\Policies\Microsoft\Windows\PowerShell\Transcription Clé actuelle
HKLM\Software\Policies\Microsoft\Windows\PowerShell\Transcription
HKLM\Software\Policies\Microsoft\Windows\PowerShell\Transcription
- Valeur si activée
- Dépend de la valeur de l'option
- Élément
- Répertoire de sortie de transcription
- Type de valeur
- REG_SZ
Appliquer avec .reg · CMD · PowerShell
UtilisateurParamètre par compte
.reg
Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows\PowerShell\Transcription] ; Les noms et types de valeur suivent l'ADMX. Remplacez <saisir la valeur> ci-dessous par vos propres données "OutputDirectory"="<saisir la valeur>"
CMD
:: Les noms et types de valeur suivent l'ADMX. Remplacez <saisir la valeur> ci-dessous par vos propres données reg add "HKCU\Software\Policies\Microsoft\Windows\PowerShell\Transcription" /v "OutputDirectory" /t REG_SZ /d "<saisir la valeur>" /f
PowerShell
# Les noms et types de valeur suivent l'ADMX. Remplacez <saisir la valeur> ci-dessous par vos propres données 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 '<saisir la valeur>' -Force | Out-Null
OrdinateurParamètre valable pour tout l’ordinateur
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\PowerShell\Transcription] ; Les noms et types de valeur suivent l'ADMX. Remplacez <saisir la valeur> ci-dessous par vos propres données "OutputDirectory"="<saisir la valeur>"
CMD
:: Les noms et types de valeur suivent l'ADMX. Remplacez <saisir la valeur> ci-dessous par vos propres données reg add "HKLM\Software\Policies\Microsoft\Windows\PowerShell\Transcription" /v "OutputDirectory" /t REG_SZ /d "<saisir la valeur>" /f
PowerShell
# Les noms et types de valeur suivent l'ADMX. Remplacez <saisir la valeur> ci-dessous par vos propres données 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 '<saisir la valeur>' -Force | Out-Null
EnableInvocationHeader
REG_DWORDUtilisateurOrdinateur…\Software\Policies\Microsoft\Windows\PowerShell\TranscriptionHKCU\Software\Policies\Microsoft\Windows\PowerShell\Transcription Clé actuelle
HKLM\Software\Policies\Microsoft\Windows\PowerShell\Transcription
HKLM\Software\Policies\Microsoft\Windows\PowerShell\Transcription
- Cochée
- 1
- Décochée
- 0
- Élément
- Inclure les en-têtes de l'appel :
- Type de valeur
- REG_DWORD
Appliquer avec .reg · CMD · PowerShell
UtilisateurParamètre par compte
.reg
Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows\PowerShell\Transcription] ; Options (en utiliser une seule) ; Cochée "EnableInvocationHeader"=dword:00000001 ; Décochée "EnableInvocationHeader"=dword:00000000
CMD
:: Options (en utiliser une seule) :: Cochée reg add "HKCU\Software\Policies\Microsoft\Windows\PowerShell\Transcription" /v "EnableInvocationHeader" /t REG_DWORD /d 1 /f :: Décochée reg add "HKCU\Software\Policies\Microsoft\Windows\PowerShell\Transcription" /v "EnableInvocationHeader" /t REG_DWORD /d 0 /f
PowerShell
# Commun : créer la clé New-Item -Path 'HKCU:\Software\Policies\Microsoft\Windows\PowerShell\Transcription' -Force | Out-Null # Options (en utiliser une seule) # Cochée New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Windows\PowerShell\Transcription' -Name 'EnableInvocationHeader' -PropertyType DWord -Value 1 -Force | Out-Null # Décochée New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Windows\PowerShell\Transcription' -Name 'EnableInvocationHeader' -PropertyType DWord -Value 0 -Force | Out-Null
OrdinateurParamètre valable pour tout l’ordinateur
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\PowerShell\Transcription] ; Options (en utiliser une seule) ; Cochée "EnableInvocationHeader"=dword:00000001 ; Décochée "EnableInvocationHeader"=dword:00000000
CMD
:: Options (en utiliser une seule) :: Cochée reg add "HKLM\Software\Policies\Microsoft\Windows\PowerShell\Transcription" /v "EnableInvocationHeader" /t REG_DWORD /d 1 /f :: Décochée reg add "HKLM\Software\Policies\Microsoft\Windows\PowerShell\Transcription" /v "EnableInvocationHeader" /t REG_DWORD /d 0 /f
PowerShell
# Commun : créer la clé New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\PowerShell\Transcription' -Force | Out-Null # Options (en utiliser une seule) # Cochée New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\PowerShell\Transcription' -Name 'EnableInvocationHeader' -PropertyType DWord -Value 1 -Force | Out-Null # Décochée New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\PowerShell\Transcription' -Name 'EnableInvocationHeader' -PropertyType DWord -Value 0 -Force | Out-Null