Open in the explorer

Do not allow Sound Recorder to run

Ne pas autoriser l’exécution du Magnétophone

Type
User
GPO path
User Configuration › Policies › Administrative Templates › Windows Components › Sound Recorder FR: Configuration utilisateur › Stratégies › Modèles d'administration › Composants Windows › Magnétophone
Supported on
At least Windows Vista FR: Au minimum Windows Vista
ADMX file
SoundRec.admx
Internal name
SoundRec/Soundrec_DiableApplication_TitleText_1

Explanation

Specifies whether Sound Recorder can run.

Sound Recorder is a feature of Microsoft Windows Vista that can be used to record sound from an audio input device where the recorded sound is encoded and saved as an audio file.

If you enable this policy setting, Sound Recorder will not run.

If you disable or do not configure this policy setting, Sound Recorder can be run.

French text from Windows 11 26H2

Spécifie si le Magnétophone peut s’exécuter.

Le Magnétophone est une fonctionnalité de Microsoft Windows Vista, qui permet d’enregistrer des sons à partir d’un périphérique d’entrée audio, où le son recueilli est encodé et enregistré en tant que fichier audio.

Si vous activez ce paramètre de stratégie, le Magnétophone ne peut pas s’exécuter.

Si vous désactivez ce paramètre de stratégie ou si vous ne le configurez pas, le Magnétophone peut s’exécuter.

Registry

HKEY_CURRENT_USER\SOFTWARE\Policies\Microsoft\SoundRecorder
Value name
Soundrec
StateValue written
EnabledREG_DWORD = 1
DisabledREG_DWORD = 0

PowerShell

PowerShell commands that write to the registry what the policy would write. Values in angle brackets (<…>) must be replaced.

Writing directly to the registry bypasses Group Policy: if a GPO manages this value, it will be rewritten at the next gpupdate; otherwise the value stays in place (the "tattooing" effect). Prefer a GPO or, locally, LGPO.exe. Run PowerShell as administrator for HKLM. Some policies need a restart or gpupdate /force.

Enable

# Enable: SoundRec/Soundrec_DiableApplication_TitleText_1
$k = 'HKCU:\SOFTWARE\Policies\Microsoft\SoundRecorder'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'Soundrec' -Value 1 -Type DWord

Disable

# Disable: SoundRec/Soundrec_DiableApplication_TitleText_1
$k = 'HKCU:\SOFTWARE\Policies\Microsoft\SoundRecorder'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'Soundrec' -Value 0 -Type DWord

Revert to "Not configured"

# Revert to "Not configured": SoundRec/Soundrec_DiableApplication_TitleText_1
$k = 'HKCU:\SOFTWARE\Policies\Microsoft\SoundRecorder'
Remove-ItemProperty -Path $k -Name 'Soundrec' -ErrorAction SilentlyContinue

Availability