I have a 15.4" work laptop with 1680x1050 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?

1 Answer 1


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.

  • 1
    It worked but it's not binary it's 96 decimal or 0x60 hexa.
    – Sacha K
    Apr 4, 2013 at 7:17
  • hehe, fixed that. :) Apr 4, 2013 at 10:59

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.