How to increase dpi settings on a server which does not have a video card to support Aero

http://social.microsoft.com/Forums/en/whatforum/thread/282a63c2-bd57-4639-811b-c03c6b82b49b

Use the above article and the registry setting mentioned there, increase the text size to use a higher % than 100, then logout.

When you log back in via remote desktop from a machine which has an aero enabled graphics card, it will make the text much clearer.

Update: You have to set windows to use full blown aero mode with settings for best display rather than best performance. Otherwise, this will not work properly.
  • [HKEY_CURRENT_USER\Software\Microsoft\Windows\DWM]
    "Composition"=dword:00000001
    "CompositionPolicy"=dword:00000000
    "ColorizationOpaqueBlend"=dword:00000000
    "EnableAeroPeek"=dword:00000001
    "AlwaysHibernateThumbnails"=dword:00000000
    "UseDpiScaling"=dword:00000000

    So I can read register table to get the setting is set or not

    private bool IsDpiScaling()
    {
        RegistryKey k= Registry.CurrentUser.OpenSubKey("Software\\Microsoft\\Windows\\DWM");
        if (k!= null)
        {
            if ((int)k.GetValue("UseDpiScaling") == 1)
            {
                return true;
            }
        }
        return false;
    }

Comments

  1. Thanks Vijay for your post and forum link. I was been facing this problem since a month and finally solved it.

    ReplyDelete

Post a Comment

Popular posts from this blog

Enable Visual Studio to use more than 2GB of memory

Firefox and Chrome dark mode

Dealing with the morons who built Dell 7710 and RAID