Open in the explorer

Enables or disables Windows Game Recording and Broadcasting

Active ou désactive Enregistrement et diffusion de jeux Windows

Type
Computer
GPO path
Computer Configuration › Policies › Administrative Templates › Windows Components › Windows Game Recording and Broadcasting FR: Configuration ordinateur › Stratégies › Modèles d'administration › Composants Windows › Enregistrement et diffusion de jeux Windows
Supported on
At least Windows 10 FR: Au minimum Windows 10
ADMX file
GameDVR.admx
Internal name
GameDVR/AllowGameDVR

Explanation

Windows Game Recording and Broadcasting.

This setting enables or disables the Windows Game Recording and Broadcasting features. If you disable this setting, Windows Game Recording will not be allowed.
If the setting is enabled or not configured, then Recording and Broadcasting (streaming) will be allowed.

French text from Windows 11 26H2

Enregistrement et diffusion de jeux Windows.

Ce paramètre active ou désactive les fonctionnalités Enregistrement et Diffusion de jeux Windows. Si vous désactivez ce paramètre, l’enregistrement de jeux Windows n’est pas autorisé.
Si vous activez ce paramètre ou ne le configurez pas, l’enregistrement et la diffusion (en continu) ne sont pas autorisés.

Registry

HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\GameDVR
Value name
AllowGameDVR
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: GameDVR/AllowGameDVR
$k = 'HKLM:\Software\Policies\Microsoft\Windows\GameDVR'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'AllowGameDVR' -Value 1 -Type DWord

Disable

# Disable: GameDVR/AllowGameDVR
$k = 'HKLM:\Software\Policies\Microsoft\Windows\GameDVR'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'AllowGameDVR' -Value 0 -Type DWord

Revert to "Not configured"

# Revert to "Not configured": GameDVR/AllowGameDVR
$k = 'HKLM:\Software\Policies\Microsoft\Windows\GameDVR'
Remove-ItemProperty -Path $k -Name 'AllowGameDVR' -ErrorAction SilentlyContinue

Availability

Windows Server