Make Print Screen key yieldable
Rendre la touche Impr écran réactive
Explanation
This policy setting determines whether the Print Screen key can be yielded to other applications.
If you enable this policy setting, the print Screen key can be intercepted by applications, allowing them to override the default screenshot functionality.
If you disable this policy setting, the print Screen key will retain its legacy behavior for taking screenshots and cannot be intercepted by applications.
If this policy is not configured, the print Screen key can be intercepted by applications, allowing them to override the default screenshot functionality, same as the enabled behaviour.
Note: This setting may require a system restart to take effect.
Ce paramètre de stratégie détermine si la touche Impr. écran peut être retournée à d’autres applications.
Si vous activez ce paramètre de stratégie, la touche Impr. écran peut être interceptée par les applications, ce qui leur permet de remplacer la fonctionnalité de capture d’écran par défaut.
Si vous désactivez ce paramètre de stratégie, la touche Impr. écran conserve son comportement hérité pour prendre des captures d’écran et ne peut pas être interceptée par les applications.
Si cette stratégie n’est pas configurée, la touche Impr. écran peut être interceptée par les applications, ce qui leur permet de remplacer la fonctionnalité de capture d’écran par défaut, identique au comportement activé.
Remarque : ce paramètre peut nécessiter un redémarrage du système pour prendre effet.
Registry
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\Explorer- Value name
MakePrintScreenKeyYieldable
| State | Value written |
|---|---|
| Enabled | REG_DWORD = 1 |
| Disabled | REG_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: Explorer/MakePrintScreenKeyYieldable
$k = 'HKLM:\Software\Policies\Microsoft\Windows\Explorer'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'MakePrintScreenKeyYieldable' -Value 1 -Type DWordDisable
# Disable: Explorer/MakePrintScreenKeyYieldable
$k = 'HKLM:\Software\Policies\Microsoft\Windows\Explorer'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'MakePrintScreenKeyYieldable' -Value 0 -Type DWordRevert to "Not configured"
# Revert to "Not configured": Explorer/MakePrintScreenKeyYieldable
$k = 'HKLM:\Software\Policies\Microsoft\Windows\Explorer'
Remove-ItemProperty -Path $k -Name 'MakePrintScreenKeyYieldable' -ErrorAction SilentlyContinue