Ouvrir dans l'explorateur

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

Prevent Back-ESC mapping

Type
Utilisateur
Chemin GPO
Configuration utilisateur › Stratégies › Modèles d'administration › Composants Windows › Tablet PC › Boutons du Tablet PC EN : User Configuration › Policies › Administrative Templates › Windows Components › Tablet PC › Hardware Buttons
Pris en charge sur
Au minimum Windows Vista EN : At least Windows Vista
Fichier ADMX
TabletShell.admx
Nom interne
TabletShell/PreventBackEscMapping_1

Explication

Texte français issu de 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.

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.

Registre

HKEY_CURRENT_USER\SOFTWARE\Policies\Microsoft\TabletPC
Nom de la valeur
PreventButtonBackEscapeMapping
ÉtatValeur é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 : 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

Désactiver

# Désactiver : 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

Revenir à « Non configuré »

# Revenir à « Non configuré » : TabletShell/PreventBackEscMapping_1
$k = 'HKCU:\SOFTWARE\Policies\Microsoft\TabletPC'
Remove-ItemProperty -Path $k -Name 'PreventButtonBackEscapeMapping' -ErrorAction SilentlyContinue

Disponibilité