Deprecated: Function get_magic_quotes_gpc() is deprecated in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 99

Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 619

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 1169

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 1176

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 1176

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 1176

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 1176

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 1176

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 1176

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 1176

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 1176

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 1176

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 1176

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 1176

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 1176

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 1176

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 1176

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 1176

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 1176

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 1176

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 1176

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 1176

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 1176
8000 Fix blurry applications in Windows 10/11 by changing the application's high DPI settings via context menu · GitHub
Nothing Special   »   [go: up one dir, main page]

Skip to content

Instantly share code, notes, and snippets.

@martinwilco
Created February 12, 2025 13:45
Show Gist options
  • Save martinwilco/2b5cee4a73b905fad2faf27e488c0732 to your computer and use it in GitHub Desktop.
Save martinwilco/2b5cee4a73b905fad2faf27e488c0732 to your computer and use it in GitHub Desktop.
Fix blurry applications in Windows 10/11 by changing the application's high DPI settings via context menu
6777
Windows Registry Editor Version 5.00
; Problem: Some applications may appear blurry in Windows 10/11 when system scaling is other than 100%
; Solution: Make the application override the system setting via Properties -> Compatibility -> Change high DPI settings (inconvenient)
; What this script does: Adds a context menu item for .exe and .lnk files to quickly change the application's high dpi settings
; How to use: Right-click on blurry .exe or .lnk -> High DPI scaling override -> Application/System/System (enhanced)/Reset
; MIT License
; Copyright © 2025 martinwilco, https://gist.github.com/martinwilco
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\exefile\shell\FixHighDPI]
"MUIVerb"="High DPI scaling override"
"Icon"="%SystemRoot%\\System32\\shell32.dll,15"
"Position"="Bottom"
"Subcommands"=hex(2):00,00
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\exefile\shell\FixHighDPI\shell]
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\exefile\shell\FixHighDPI\shell\Application]
"Icon"="%SystemRoot%\\System32\\imageres.dll,299"
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\exefile\shell\FixHighDPI\shell\Application\command]
@="REG ADD \"HKCU\\Software\\Microsoft\\Windows NT\\CurrentVersion\\AppCompatFlags\\Layers\" /v \"%1\" /t REG_SZ /d \"~ HIGHDPIAWARE\" /f"
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\exefile\shell\FixHighDPI\shell\System]
"Icon"="%SystemRoot%\\System32\\shell32.dll,314"
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\exefile\shell\FixHighDPI\shell\System\command]
@="REG ADD \"HKCU\\Software\\Microsoft\\Windows NT\\CurrentVersion\\AppCompatFlags\\Layers\" /v \"%1\" /t REG_SZ /d \"~ DPIAWARE\" /f"
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\exefile\shell\FixHighDPI\shell\System (enhanced)]
"Icon"="%SystemRoot%\\System32\\shell32.dll,314"
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\exefile\shell\FixHighDPI\shell\System (enhanced)\command]
@="REG ADD \"HKCU\\Software\\Microsoft\\Windows NT\\CurrentVersion\\AppCompatFlags\\Layers\" /v \"%1\" /t REG_SZ /d \"~ GDIDPISCALING DPIUNAWARE\" /f"
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\exefile\shell\FixHighDPI\shell\zReset]
"MUIverb"="Reset"
"Icon"="%SystemRoot%\\System32\\imageres.dll,256"
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\exefile\shell\FixHighDPI\shell\zReset\command]
@="REG DELETE \"HKCU\\Software\\Microsoft\\Windows NT\\CurrentVersion\\AppCompatFlags\\Layers\" /v \"%1\" /f"
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\lnkfile\shell\FixHighDPI]
"MUIVerb"="High DPI scaling override"
"Icon"="%SystemRoot%\\System32\\shell32.dll,15"
"Position"="Bottom"
"Subcommands"=hex(2):00,00
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\lnkfile\shell\FixHighDPI\shell]
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\lnkfile\shell\FixHighDPI\shell\Application]
"Icon"="%SystemRoot%\\System32\\imageres.dll,299"
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\lnkfile\shell\FixHighDPI\shell\Application\command]
@="REG ADD \"HKCU\\Software\\Microsoft\\Windows NT\\CurrentVersion\\AppCompatFlags\\Layers\" /v \"%1\" /t REG_SZ /d \"~ HIGHDPIAWARE\" /f"
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\lnkfile\shell\FixHighDPI\shell\System]
"Icon"="%SystemRoot%\\System32\\shell32.dll,314"
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\lnkfile\shell\FixHighDPI\shell\System\command]
@="REG ADD \"HKCU\\Software\\Microsoft\\Windows NT\\CurrentVersion\\AppCompatFlags\\Layers\" /v \"%1\" /t REG_SZ /d \"~ DPIAWARE\" /f"
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\lnkfile\shell\FixHighDPI\shell\System (enhanced)]
"Icon"="%SystemRoot%\\System32\\shell32.dll,314"
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\lnkfile\shell\FixHighDPI\shell\System (enhanced)\command]
@="REG ADD \"HKCU\\Software\\Microsoft\\Windows NT\\CurrentVersion\\AppCompatFlags\\Layers\" /v \"%1\" /t REG_SZ /d \"~ GDIDPISCALING DPIUNAWARE\" /f"
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\lnkfile\shell\FixHighDPI\shell\zReset]
"MUIverb"="Reset"
"Icon"="%SystemRoot%\\System32\\imageres.dll,256"
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\lnkfile\shell\FixHighDPI\shell\zReset\command]
@="REG DELETE \"HKCU\\Software\\Microsoft\\Windows NT\\CurrentVersion\\AppCompatFlags\\Layers\" /v \"%1\" /f"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
0