Open in the explorer

Turn off GdiDPIScaling for applications

Désactiver GdiDPIScaling pour les applications

Type
Computer
GPO path
Computer Configuration › Policies › Administrative Templates › System › Display FR: Configuration ordinateur › Stratégies › Modèles d'administration › Système › Affichage
Supported on
At least Windows Server 2016, Windows 10 Version 1703 FR: Windows Server 2016, Windows 10 version 1703 ou versions supérieures
ADMX file
Display.admx
Internal name
Display/DisplayTurnOffGdiDPIScaling

Explanation

GDI DPI Scaling enables applications that are not DPI aware to become per monitor DPI aware.

This policy setting lets you specify legacy applications that have GDI DPI Scaling turned off.

If you enable this policy setting, GDI DPI Scaling is turned off for all applications in the list, even if they are enabled by using ApplicationCompatibility database, ApplicationCompatibility UI System (Enhanced) setting, or an application manifest.

If you disable or do not configure this policy setting, GDI DPI Scaling might still be turned on for legacy applications.

If GDI DPI Scaling is configured to both turn off and turn on an application, the application will be turned off.

French text from Windows 11 26H2

La mise à l’échelle PPP GDI permet aux applications sans prise en charge DPI de disposer d'une prise en charge DPI par moniteur.

Ce paramètre de stratégie vous permet de spécifier des applications héritées dont la mise à l'échelle PPP GDI est désactivée.

Si vous activez cette stratégie, la mise à l'échelle PPP GDI est activée pour toutes les applications héritées de la liste, même si elles sont activées à l'aide de la base de données ApplicationCompatibility, du paramètre ApplicationCompatibility UI System (amélioré) ou d'un manifeste d'application.

Si vous désactivez ou si vous ne configurez pas ce paramètre de stratégie, la mise à l’échelle PPP GDI peut toujours être activée pour des applications héritées.

Si la mise à l'échelle PPP GDI est configurée pour l'activation ou la désactivation d'une application, l'application sera désactivée.

Registry

HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\Display
Value name
not defined in the ADMX

Enable / disable values: not defined in the ADMX (see the options below).

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: Display/DisplayTurnOffGdiDPIScaling
$k = 'HKLM:\Software\Policies\Microsoft\Windows\Display'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# Disable GDI DPI Scaling for the following applications. Use either the full application path or the application filename and extension. Separate applications with a semicolon.
Set-ItemProperty -Path $k -Name 'DisableGdiDPIScaling' -Value '<value>' -Type String

Disable

# Disable: Display/DisplayTurnOffGdiDPIScaling
# No value is written in the "Disabled" state (nothing defined in the ADMX)

Revert to "Not configured"

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

Options (1)

LabelControlRegistry valueREG typeConstraints / details
Disable GDI DPI Scaling for the following applications. Use either the full application path or the application filename and extension. Separate applications with a semicolon.Désactivez la mise à l'échelle PPP GDI pour les applications suivantes. Utilisez le chemin complet de l'application ou le nom du fichier et l'extension de l'application. Séparez les applications à l'aide d'un point-virgule.DisplayTurnOffGdiDPIScalingPromptText boxtextDisableGdiDPIScalingREG_SZ
Required

Availability

Windows Server