Active ou désactive Enregistrement et diffusion de jeux Windows
Enables or disables Windows Game Recording and Broadcasting
Explication
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.
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.
Registre
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\GameDVR- Nom de la valeur
AllowGameDVR
| État | Valeur écrite |
|---|---|
| Activé | REG_DWORD = 1 |
| Désactivé | REG_DWORD = 0 |
PowerShell
Commandes PowerShell qui écrivent dans le registre ce que la stratégie écrirait. Les valeurs entre chevrons (<…>) sont à remplacer.
Écrire directement dans le registre contourne la stratégie de groupe : si une GPO gère cette valeur, elle sera réécrite au prochain gpupdate ; sinon la valeur reste en place (effet « tatouage »). Préférez une GPO ou, en local, LGPO.exe. Exécutez PowerShell en administrateur pour HKLM. Certaines stratégies demandent un redémarrage ou gpupdate /force.
Activer
# Activer : 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 DWordDésactiver
# Désactiver : 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 DWordRevenir à « Non configuré »
# Revenir à « Non configuré » : GameDVR/AllowGameDVR
$k = 'HKLM:\Software\Policies\Microsoft\Windows\GameDVR'
Remove-ItemProperty -Path $k -Name 'AllowGameDVR' -ErrorAction SilentlyContinue