美文网首页
高DPI下windows远程桌面缩放问题

高DPI下windows远程桌面缩放问题

作者: 紫剡 | 来源:发表于2019-06-11 10:48 被阅读0次

    第一步:

    打开注册表:HKEY_LOCAL_MACHINE > SOFTWARE > Microsoft > Windows > CurrentVersion > SideBySide

    新建DWORD (32 bit)的项,命名为:PreferExternalManifest,打开PreferExternalManifest,将值设为1,16进制。

    第二步

    打开记事本输入如下代码:

    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
     
    <assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0" xmlns:asmv3="urn:schemas-microsoft-com:asm.v3">
     
    <dependency>
      <dependentAssembly>
        <assemblyIdentity
          type="win32"
          name="Microsoft.Windows.Common-Controls"
          version="6.0.0.0" processorArchitecture="*"
          publicKeyToken="6595b64144ccf1df"
          language="*">
        </assemblyIdentity>
      </dependentAssembly>
    </dependency>
     
    <dependency>
      <dependentAssembly>
        <assemblyIdentity
          type="win32"
          name="Microsoft.VC90.CRT"
          version="9.0.21022.8"
          processorArchitecture="amd64"
          publicKeyToken="1fc8b3b9a1e18e3b">
        </assemblyIdentity>
      </dependentAssembly>
    </dependency>
     
    <trustInfo xmlns="urn:schemas-microsoft-com:asm.v3">
      <security>
        <requestedPrivileges>
          <requestedExecutionLevel
            level="asInvoker"
            uiAccess="false"/>
        </requestedPrivileges>
      </security>
    </trustInfo>
     
    <asmv3:application>
      <asmv3:windowsSettings xmlns="http://schemas.microsoft.com/SMI/2005/WindowsSettings">
        <ms_windowsSettings:dpiAware xmlns:ms_windowsSettings="http://schemas.microsoft.com/SMI/2005/WindowsSettings">false</ms_windowsSettings:dpiAware>
      </asmv3:windowsSettings>
    </asmv3:application>
     
    </assembly>
    

    另存到C:\Windows\system32下,文件名mstsc.exe.manifest

    相关文章

      网友评论

          本文标题:高DPI下windows远程桌面缩放问题

          本文链接:https://www.haomeiwen.com/subject/blyffctx.html