Can a custom DPI setting be applied to Remote Desktop sessions

dpi

Can a custom DPI setting be applied to Remote Desktop sessions?

When you try to change the DPI from a Remote Desktop session, you get a message that display settings can't be changed from a remote session. That made me think that changing DPI from a console setting would work. It did, sort of. If I connected via Remote Desktop to an existing console session with a custom DPI setting, that setting would be applied to the Remote Desktop session. However, if I logged off that session, the custom DPI would not be applied to subsequent Remote Desktop sessions even though it was maintained for subsequent console sessions.

It looks like the registry value HKEY_CURRENT_USER\Control Panel\Desktop\WindowMetrics\AppliedDPI (and perhaps other values) is overwritten at logon, but I haven't been able figure out how to prevent it.

Best Answer

DPI can be changed via registry for all users on terminal server. If youwant to change from 96 to 120 dpi (125%), backup server registry and run this:

Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\FontDPI]
"LogPixels"=dword:00000078

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Fonts]
"Small Fonts (VGA res)"=-
"Courier 10,12,15 (VGA res)"=-
"MS Sans Serif 8,10,12,14,18,24 (VGA res)"=-
"MS Serif 8,10,12,14,18,24 (VGA res)"=-
"Courier 10,12,15 (8514a res)"="COURFE.FON"
"MS Serif 8,10,12,14,18,24 (8514a res)"="SERIFFE.FON"
"MS Sans Serif 8,10,12,14,18,24 (8514a res)"="SSERIFFE.FON"
"Small Fonts (8514a res)"="SMALLFE.FON"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\GRE_Initialize]
"FIXEDFON.FON"="8514fixe.fon"
"FONTS.FON"="8514syse.fon"
"OEMFONT.FON"="8514oeme.fon"

[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Hardware Profiles\0001\Software\Fonts]
"FIXEDFON.FON"="8514fixe.fon"
"FONTS.FON"="8514syse.fon"
"OEMFONT.FON"="8514oeme.fon"
"LogPixels"=dword:00000078

[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Hardware Profiles\Current\Software\Fonts]
"FIXEDFON.FON"="8514fixe.fon"
"FONTS.FON"="8514syse.fon"
"OEMFONT.FON"="8514oeme.fon"
"LogPixels"=dword:00000078

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Hardware Profiles\0001\Software\Fonts]
"FIXEDFON.FON"="8514fixe.fon"
"FONTS.FON"="8514syse.fon"
"OEMFONT.FON"="8514oeme.fon"
"LogPixels"=dword:00000078

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Hardware Profiles\Current\Software\Fonts]
"FIXEDFON.FON"="8514fixe.fon"
"FONTS.FON"="8514syse.fon"
"OEMFONT.FON"="8514oeme.fon"
"LogPixels"=dword:00000078
Related Topic