設定每個處理序系統 DPI 設定 的登錄值 EnablePerProcessSystemDPIForProcesses 等 1 個 (Display)電腦HKLM\Software\Policies\Microsoft\Windows\Display

原則 ID
DisplayPerProcessSystemDpiSettings
適用範圍
電腦設定、使用者設定
支援的作業系統
至少需要 Windows Server 2016、Windows 10 1803 版
來源
Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (版本 1.0)
類別
系統 › 顯示器

登錄

EnablePerProcessSystemDPI

REG_DWORD電腦使用者
啟用時的值
取決於選項值
元素
為所有應用程式啟用或停用每個處理序系統 DPI。
選項
項目儲存的值
啟用1
停用0
以 .reg · CMD · PowerShell 套用
電腦整部電腦的設定
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\Control Panel\Desktop]

; 選項 (只使用其中一個)
; 啟用
"EnablePerProcessSystemDPI"=dword:00000001
; 停用
"EnablePerProcessSystemDPI"=dword:00000000
CMD
:: 選項 (只使用其中一個)

:: 啟用
reg add "HKLM\Software\Policies\Microsoft\Windows\Control Panel\Desktop" /v "EnablePerProcessSystemDPI" /t REG_DWORD /d 1 /f
:: 停用
reg add "HKLM\Software\Policies\Microsoft\Windows\Control Panel\Desktop" /v "EnablePerProcessSystemDPI" /t REG_DWORD /d 0 /f
PowerShell
# 共通: 建立機碼
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\Control Panel\Desktop' -Force | Out-Null

# 選項 (只使用其中一個)
# 啟用
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\Control Panel\Desktop' -Name 'EnablePerProcessSystemDPI' -PropertyType DWord -Value 1 -Force | Out-Null
# 停用
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\Control Panel\Desktop' -Name 'EnablePerProcessSystemDPI' -PropertyType DWord -Value 0 -Force | Out-Null
使用者各帳戶的設定
.reg
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows\Control Panel\Desktop]

; 選項 (只使用其中一個)
; 啟用
"EnablePerProcessSystemDPI"=dword:00000001
; 停用
"EnablePerProcessSystemDPI"=dword:00000000
CMD
:: 選項 (只使用其中一個)

:: 啟用
reg add "HKCU\Software\Policies\Microsoft\Windows\Control Panel\Desktop" /v "EnablePerProcessSystemDPI" /t REG_DWORD /d 1 /f
:: 停用
reg add "HKCU\Software\Policies\Microsoft\Windows\Control Panel\Desktop" /v "EnablePerProcessSystemDPI" /t REG_DWORD /d 0 /f
PowerShell
# 共通: 建立機碼
New-Item -Path 'HKCU:\Software\Policies\Microsoft\Windows\Control Panel\Desktop' -Force | Out-Null

# 選項 (只使用其中一個)
# 啟用
New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Windows\Control Panel\Desktop' -Name 'EnablePerProcessSystemDPI' -PropertyType DWord -Value 1 -Force | Out-Null
# 停用
New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Windows\Control Panel\Desktop' -Name 'EnablePerProcessSystemDPI' -PropertyType DWord -Value 0 -Force | Out-Null

EnablePerProcessSystemDPIForProcesses

REG_SZ電腦使用者
啟用時的值
取決於選項值
元素
為下列應用程式啟用每個處理序系統 DPI。使用完整應用程式路徑或應用程式檔案名稱及副檔名。使用分號分隔應用程式。
值類型
REG_SZ
以 .reg · CMD · PowerShell 套用
電腦整部電腦的設定
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\Display]

; 值名稱與類型依照 ADMX。請自行填入下方的 <輸入值>
"EnablePerProcessSystemDPIForProcesses"="<輸入值>"
CMD
:: 值名稱與類型依照 ADMX。請自行填入下方的 <輸入值>

reg add "HKLM\Software\Policies\Microsoft\Windows\Display" /v "EnablePerProcessSystemDPIForProcesses" /t REG_SZ /d "<輸入值>" /f
PowerShell
# 值名稱與類型依照 ADMX。請自行填入下方的 <輸入值>

New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\Display' -Force | Out-Null
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\Display' -Name 'EnablePerProcessSystemDPIForProcesses' -PropertyType String -Value '<輸入值>' -Force | Out-Null
使用者各帳戶的設定
.reg
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows\Display]

; 值名稱與類型依照 ADMX。請自行填入下方的 <輸入值>
"EnablePerProcessSystemDPIForProcesses"="<輸入值>"
CMD
:: 值名稱與類型依照 ADMX。請自行填入下方的 <輸入值>

reg add "HKCU\Software\Policies\Microsoft\Windows\Display" /v "EnablePerProcessSystemDPIForProcesses" /t REG_SZ /d "<輸入值>" /f
PowerShell
# 值名稱與類型依照 ADMX。請自行填入下方的 <輸入值>

New-Item -Path 'HKCU:\Software\Policies\Microsoft\Windows\Display' -Force | Out-Null
New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Windows\Display' -Name 'EnablePerProcessSystemDPIForProcesses' -PropertyType String -Value '<輸入值>' -Force | Out-Null

DisablePerProcessSystemDPIForProcesses

REG_SZ電腦使用者
啟用時的值
取決於選項值
元素
為下列應用程式停用每個處理序系統 DPI。使用完整應用程式路徑或應用程式檔案名稱及副檔名。使用分號分隔應用程式。
值類型
REG_SZ
以 .reg · CMD · PowerShell 套用
電腦整部電腦的設定
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\Display]

; 值名稱與類型依照 ADMX。請自行填入下方的 <輸入值>
"DisablePerProcessSystemDPIForProcesses"="<輸入值>"
CMD
:: 值名稱與類型依照 ADMX。請自行填入下方的 <輸入值>

reg add "HKLM\Software\Policies\Microsoft\Windows\Display" /v "DisablePerProcessSystemDPIForProcesses" /t REG_SZ /d "<輸入值>" /f
PowerShell
# 值名稱與類型依照 ADMX。請自行填入下方的 <輸入值>

New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\Display' -Force | Out-Null
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\Display' -Name 'DisablePerProcessSystemDPIForProcesses' -PropertyType String -Value '<輸入值>' -Force | Out-Null
使用者各帳戶的設定
.reg
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows\Display]

; 值名稱與類型依照 ADMX。請自行填入下方的 <輸入值>
"DisablePerProcessSystemDPIForProcesses"="<輸入值>"
CMD
:: 值名稱與類型依照 ADMX。請自行填入下方的 <輸入值>

reg add "HKCU\Software\Policies\Microsoft\Windows\Display" /v "DisablePerProcessSystemDPIForProcesses" /t REG_SZ /d "<輸入值>" /f
PowerShell
# 值名稱與類型依照 ADMX。請自行填入下方的 <輸入值>

New-Item -Path 'HKCU:\Software\Policies\Microsoft\Windows\Display' -Force | Out-Null
New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Windows\Display' -Name 'DisablePerProcessSystemDPIForProcesses' -PropertyType String -Value '<輸入值>' -Force | Out-Null