Windows – How to change the default system dpi

dpiwindows 7

I have a 15.4" work laptop with 1680×1050 native resolution that came with Vista. After re-installing it with 7 a few days ago I noticed that the DPI setting in Control Panel -> Appearance and Personalization was not on 100 % but on 125 % (or 150 %, I don't remember). Apparently Windows decided that with 100 % on that screen text would be too small and made 125 % the system default.

I changed it to 100 % for my account, but the system default is still 125 %. The login screen is still on 125 % (not really a problem), but more annoying the msi installation packages created with Visual Studio 2010 are using the system default and look weird.

Is there a way to change the system default dpi setting?

Best Answer

Check out HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Hardware Profiles\Current\Software\Fonts\ in the registry.

It will/should have a key named "LogPixels" (type REG_DWORD), with the default DPI as it's data. I.E.: set it to (decimal) 96 for 96DPI, which is "100%".

If you change it there in the registry, you'll need to reboot to have it take effect.

Related Question