Open in the explorer

Turn on GdiDPIScaling for applications

Activer 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/DisplayTurnOnGdiDPIScaling

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 on.

If you enable this policy setting, GDI DPI Scaling is turned on for all legacy applications in the list.

If you disable or do not configure this policy setting, GDI DPI Scaling will not be enabled for an application except when an application is enabled by using ApplicationCompatibility database, ApplicationCompatibility UI System (Enhanced) setting, or an application manifest.

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 activé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.

Si vous désactivez ou si vous ne configurez pas ce paramètre de stratégie, la mise à l’échelle PPP GDI ne sera pas activée pour une application, à moins qu'une application soit activée à l'aide de la base de données ApplicationCompatibility, du paramètre ApplicationCompatibility UI System (amélioré) ou d'un manifeste d'application.

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/DisplayTurnOnGdiDPIScaling
$k = 'HKLM:\Software\Policies\Microsoft\Windows\Display'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# Enable 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 'EnableGdiDPIScaling' -Value '<value>' -Type String

Disable

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

Revert to "Not configured"

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

Options (1)

LabelControlRegistry valueREG typeConstraints / details
Enable GDI DPI Scaling for the following applications. Use either the full application path or the application filename and extension. Separate applications with a semicolon.Activez 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.DisplayTurnOnGdiDPIScalingPromptText boxtextEnableGdiDPIScalingREG_SZ
Required

Availability

Windows Server