Open in the explorer

Configure Per-Process System DPI settings

Paramètres de configuration de la prise en charge DPI système par processus

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

Explanation

Per Process System DPI is an application compatibility feature for desktop applications that do not render properly after a display-scale factor (DPI) change. When the display scale factor of the primary display changes (which can happen when you connect or disconnect a display that has a different display scale factor (DPI), connect remotely from a device with a different display scale factor, or manually change the display scale factor), many desktop applications can display blurry. Desktop applications that have not been updated to display properly in this scenario will be blurry until the user logs out and back in to Windows.

When you enable this policy some blurry applications will be crisp after they are restarted, without requiring the user to log out and back in to Windows.

Be aware of the following:

Per Process System DPI will only improve the rendering of desktop applications that are positioned on the primary display. Some desktop applications can still be blurry on secondary displays that have different display scale factors.

Per Process System DPI will not work for all applications as some older desktop applications will always be blurry on high DPI displays.

In some cases, you may see some odd behavior in some desktop applications. If that happens, Per Process System DPI should be disabled.

Enabling this setting lets you specify the system-wide default for desktop applications as well as per-application overrides. If you disable or do not configure this setting, Per Process System DPI will not apply to any processes on the system.

French text from Windows 11 26H2

La résolution points par pouce du système par processus est une fonctionnalité de compatibilité des applications de bureau qui ne s'affichent pas correctement après un changement de facteur d'échelle d'affichage (PPP). Lorsque le facteur d'échelle d'affichage de l'écran principal change (ce qui peut se produire lorsque vous connectez ou déconnectez un écran ayant un facteur d'échelle d'affichage différent (PPP), que vous connectez à distance à partir d'un appareil ayant un autre facteur d'échelle d'affichage ou que vous modifiez manuellement le facteur d'échelle d'affichage), de nombreuses applications de bureau peuvent s'afficher de manière floue. Les applications de bureau qui n’ont pas été mises à jour pour s’afficher correctement dans ce scénario seront floues jusqu'à ce que l’utilisateur se déconnecte, puis revienne dans Windows.

Lorsque vous activez cette stratégie, certaines applications floues seront nettes après leur redémarrage, sans que l'utilisateur ne doive se déconnecter puis se reconnecter à Windows.

Prenez les éléments suivants en compte :

La résolution points par pouce du système par processus de traitement améliorera uniquement le rendu des applications de bureau qui seront positionnées sur l'écran principal. Certaines applications de bureau peuvent encore être floues sur des écrans secondaires qui présentent un autre facteur de mise à l'échelle d'affichage.

La résolution points par pouce du système par processus ne fonctionnera pas pour toutes les applications, puisque certaines applications de bureau plus anciennes seront toujours floues sur les écrans à haute résolution.

Dans certains cas, vous pouvez observer un comportement étrange de certaines applications de bureau. Si cela se produit, la résolution points par pouce du système par processus doit être désactivée.

L'activation de ce paramètre vous permet de spécifier la valeur par défaut à l'échelle du système des applications de bureau ainsi que les remplacements par application. Si vous désactivez ou ne configurez pas ce paramètre, la résolution points par pouce du système par processus ne s’applique à aucun processus du le système.

Registry

HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\Display
HKEY_CURRENT_USER\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.

Computer (HKLM)

Enable

# Enable: Display/DisplayPerProcessSystemDpiSettings
$k = 'HKLM:\Software\Policies\Microsoft\Windows\Control Panel\Desktop'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# Enable or disable Per-Process System DPI for all applications.
# Possible options:
#   Enable = 1
#   Disable = 0
Set-ItemProperty -Path $k -Name 'EnablePerProcessSystemDPI' -Value 1 -Type DWord
$k = 'HKLM:\Software\Policies\Microsoft\Windows\Display'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# Enable Per-Process System DPI 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 'EnablePerProcessSystemDPIForProcesses' -Value '<value>' -Type String
# Disable Per-Process System DPI 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 'DisablePerProcessSystemDPIForProcesses' -Value '<value>' -Type String

Disable

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

Revert to "Not configured"

# Revert to "Not configured": Display/DisplayPerProcessSystemDpiSettings
$k = 'HKLM:\Software\Policies\Microsoft\Windows\Control Panel\Desktop'
Remove-ItemProperty -Path $k -Name 'EnablePerProcessSystemDPI' -ErrorAction SilentlyContinue
$k = 'HKLM:\Software\Policies\Microsoft\Windows\Display'
Remove-ItemProperty -Path $k -Name 'EnablePerProcessSystemDPIForProcesses' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'DisablePerProcessSystemDPIForProcesses' -ErrorAction SilentlyContinue

User (HKCU)

Enable

Disable

Revert to "Not configured"

Options (3)

LabelControlRegistry valueREG typeConstraints / details
Enable or disable Per-Process System DPI for all applications.Activez ou désactivez la prise en charge DPI système par processus pour toutes les applications.DisplayGlobalPerProcessSystemDpiSettingsDrop-down listenumEnablePerProcessSystemDPIin Software\Policies\Microsoft\Windows\Control Panel\DesktopREG_DWORD
Default choice (UI): #0
LabelValue
EnableREG_DWORD = 1
DisableREG_DWORD = 0
Enable Per-Process System DPI for the following applications. Use either the full application path or the application filename and extension. Separate applications with a semicolon.Activez la prise en charge DPI système par processus pour les applications suivantes. Utilisez le chemin d'accès complet de l’application ou le nom et l’extension de l’application. Séparez les applications par un point-virgule.DisplayEnablePerProcessSystemDpiSettingsText boxtextEnablePerProcessSystemDPIForProcessesREG_SZ
Disable Per-Process System DPI for the following applications. Use either the full application path or the application filename and extension. Separate applications with a semicolon.Désactivez la prise en charge DPI système par processus pour les applications suivantes. Utilisez le chemin d'accès complet de l’application ou le nom et l’extension de l’application. Séparez les applications par un point-virgule.DisplayDisablePerProcessSystemDpiSettingsText boxtextDisablePerProcessSystemDPIForProcessesREG_SZ

Availability

Windows 10

Windows Server