Open in the explorer

Prevent Back-ESC mapping

Empêcher le mappage de Préc. vers Échap

Type
User
GPO path
User Configuration › Policies › Administrative Templates › Windows Components › Tablet PC › Hardware Buttons FR: Configuration utilisateur › Stratégies › Modèles d'administration › Composants Windows › Tablet PC › Boutons du Tablet PC
Supported on
At least Windows Vista FR: Au minimum Windows Vista
ADMX file
TabletShell.admx
Internal name
TabletShell/PreventBackEscMapping_1

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.

French text from Windows 11 26H2

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
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: 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 DWord

Disable

# 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 DWord

Revert to "Not configured"

# Revert to "Not configured": TabletShell/PreventBackEscMapping_1
$k = 'HKCU:\SOFTWARE\Policies\Microsoft\TabletPC'
Remove-ItemProperty -Path $k -Name 'PreventButtonBackEscapeMapping' -ErrorAction SilentlyContinue

Availability