Prevent Back-ESC mapping
Empêcher le mappage de Préc. vers Échap
Explanation
Removes the Back->ESC mapping that normally occurs when menus are visible, and for applications that subscribe to this behavior.
If you enable this policy, a button assigned to Back will not map to ESC.
If you disable this policy, Back->ESC mapping will occur.
If you do not configure this policy, Back->ESC mapping will occur.
Supprime le mappage Préc.->Échap qui se produit lorsque les menus sont visibles, ainsi que dans les applications où ce comportement est possible.
Si vous activez cette stratégie, un bouton attribué à Préc. n'est pas mappé vers Échap.
Si vous désactivez cette stratégie, le mappage Préc.->Échap se produit.
Si vous ne configurez pas cette stratégie, le mappage Préc.->Échap se produit.
Registry
HKEY_CURRENT_USER\SOFTWARE\Policies\Microsoft\TabletPC- Value name
PreventButtonBackEscapeMapping
| 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: TabletShell/PreventBackEscMapping_1
$k = 'HKCU:\SOFTWARE\Policies\Microsoft\TabletPC'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'PreventButtonBackEscapeMapping' -Value 1 -Type DWordDisable
# Disable: TabletShell/PreventBackEscMapping_1
$k = 'HKCU:\SOFTWARE\Policies\Microsoft\TabletPC'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'PreventButtonBackEscapeMapping' -Value 0 -Type DWordRevert to "Not configured"
# Revert to "Not configured": TabletShell/PreventBackEscMapping_1
$k = 'HKCU:\SOFTWARE\Policies\Microsoft\TabletPC'
Remove-ItemProperty -Path $k -Name 'PreventButtonBackEscapeMapping' -ErrorAction SilentlyContinue