Open in the explorer

Turn off SwitchBack Compatibility Engine

Désactiver le moteur de compatibilité Switchback

Type
Computer
GPO path
Computer Configuration › Policies › Administrative Templates › Windows Components › Application Compatibility FR: Configuration ordinateur › Stratégies › Modèles d'administration › Composants Windows › Compatibilité des applications
Supported on
At least Windows Server 2008 R2 or Windows 7 FR: Au minimum Windows Server 2008 R2 ou Windows 7
ADMX file
AppCompat.admx
Internal name
AppCompat/AppCompatTurnOffSwitchBack

Explanation

The policy controls the state of the Switchback compatibility engine in the system.

Switchback is a mechanism that provides generic compatibility mitigations to older applications by providing older behavior to old applications and new behavior to new applications.

Switchback is on by default.

If you enable this policy setting, Switchback will be turned off. Turning Switchback off may degrade the compatibility of older applications. This option is useful for server administrators who require performance and are aware of compatibility of the applications they are using.

If you disable or do not configure this policy setting, the Switchback will be turned on.

Please reboot the system after changing the setting to ensure that your system accurately reflects those changes.

French text from Windows 11 26H2

Cette stratégie contrôle l’état du moteur de compatibilité Switchback dans le système.

Switchback est un mécanisme qui assure la prévention de compatibilité générique à d’anciennes applications en proposant d’anciens comportements aux anciennes applications et les nouveaux comportements aux nouvelles applications.

Ce mécanisme est activé par défaut.

Si vous activez ce paramètre de stratégie, Switchback est désactivé. La désactivation de Switchback peut diminuer la compatibilité des anciennes applications. Cette option est utile pour les administrateurs de serveur ayant besoin de performances et connaissant la compatibilité des applications qu’ils utilisent.

Si vous désactivez ou ne configurez pas ce paramètre de stratégie, le mécanisme Switchback est activé.

Redémarrez le système après avoir modifié le paramètre afin de vous assurer que ces modifications ont été prises en compte.

Registry

HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\AppCompat
Value name
SbEnable
StateValue written
EnabledREG_DWORD = 0
DisabledREG_DWORD = 1

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: AppCompat/AppCompatTurnOffSwitchBack
$k = 'HKLM:\Software\Policies\Microsoft\Windows\AppCompat'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'SbEnable' -Value 0 -Type DWord

Disable

# Disable: AppCompat/AppCompatTurnOffSwitchBack
$k = 'HKLM:\Software\Policies\Microsoft\Windows\AppCompat'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'SbEnable' -Value 1 -Type DWord

Revert to "Not configured"

# Revert to "Not configured": AppCompat/AppCompatTurnOffSwitchBack
$k = 'HKLM:\Software\Policies\Microsoft\Windows\AppCompat'
Remove-ItemProperty -Path $k -Name 'SbEnable' -ErrorAction SilentlyContinue

Availability