Registry data refreshed from vendors: Last vendor change detected: 5 Dec 2026Next refresh: 1st of the monthApp v1.4.0 (5 Dec 2026): Cleanup or tattoo: see what stays behind after a GPO is removed. Release notes
Windows (ADMX) · DeviceCompat.admx

DeviceCompat.admx: 2 policies

Generated from Microsoft Windows Server 2025 Datacenter build 26100 in-box templates + Windows 11 ADMX package (download id 108394) on 2026-12-05. Titles, explanations and "Supported on" text are Microsoft's own, from the en-US ADML file.

Device compatibility settings

Per machine Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016

Supported on: At least Windows Server 2012, Windows 8 or Windows RT

When the GPO stops applying: The value can stay behind (tattoo): this policy writes outside the Policies branches. Set it to the value you want left, let it apply, then remove the GPO. How cleanup works

Registry keyHKLM\System\CurrentControlSet\Policies\Microsoft\Compatibility
Value nameDisableDeviceFlags
Enabled writes0 (REG_DWORD)
Disabled writes1 (REG_DWORD)
What it does (vendor explanation)

Changes behavior of Microsoft bus drivers to work with specific devices.

Group Policy path: Computer Configuration > Administrative Templates > Windows Components > Device and Driver Compatibility > Device compatibility settings

PowerShell equivalent (generated from the template)
New-Item -Path 'HKLM:\System\CurrentControlSet\Policies\Microsoft\Compatibility' -Force | Out-Null
New-ItemProperty -Path 'HKLM:\System\CurrentControlSet\Policies\Microsoft\Compatibility' -Name 'DisableDeviceFlags' -Value 0 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

ADMX: DeviceCompat.admx · policy name DeviceFlags

Driver compatibility settings

Per machine Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016

Supported on: At least Windows Server 2012, Windows 8 or Windows RT

When the GPO stops applying: The value can stay behind (tattoo): this policy writes outside the Policies branches. Set it to the value you want left, let it apply, then remove the GPO. How cleanup works

Registry keyHKLM\System\CurrentControlSet\Policies\Microsoft\Compatibility
Value nameDisableDriverShims
Enabled writes0 (REG_DWORD)
Disabled writes1 (REG_DWORD)
What it does (vendor explanation)

Changes behavior of 3rd-party drivers to work around incompatibilities introduced between OS versions.

Group Policy path: Computer Configuration > Administrative Templates > Windows Components > Device and Driver Compatibility > Driver compatibility settings

PowerShell equivalent (generated from the template)
New-Item -Path 'HKLM:\System\CurrentControlSet\Policies\Microsoft\Compatibility' -Force | Out-Null
New-ItemProperty -Path 'HKLM:\System\CurrentControlSet\Policies\Microsoft\Compatibility' -Name 'DisableDriverShims' -Value 0 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

ADMX: DeviceCompat.admx · policy name DriverShims