|
本帖最后由 ikaze 于 2022-8-7 11:40 编辑
是的、UAC的这个参数可在微软的文档查阅到具体用途
- https://docs.microsoft.com/zh-cn/cpp/build/reference/manifestuac-embeds-uac-information-in-manifest
复制代码
感谢楼上 nttwqz 大佬提供的高DPI设定以及同样在微软查到的资料说明
- https://docs.microsoft.com/zh-cn/windows/win32/hidpi/setting-the-default-dpi-awareness-for-a-process
复制代码
最终修改如下,且已本机及PE模式验证通过未发现异常
- <?xml version='1.0' encoding='UTF-8' standalone='yes'?>
- <assembly xmlns='urn:schemas-microsoft-com:asm.v1' manifestVersion='1.0'>
- <assemblyIdentity name='Microsoft.Windows.Shell.PECMD' processorArchitecture='AMD64' version='1.0.0.0' type='win32'/>
- <description>WinPE Commander (Modified By DSystem mdyblog.blog.163.com)</description>
- <application xmlns="urn:schemas-microsoft-com:asm.v3">
- <windowsSettings>
- <dpiAware xmlns="http://schemas.microsoft.com/SMI/2005/WindowsSettings">false</dpiAware>
- </windowsSettings>
- </application>
- <dependency>
- <dependentAssembly>
- <assemblyIdentity type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*' />
- </dependentAssembly>
- </dependency>
- <trustInfo xmlns='urn:schemas-microsoft-com:asm.v3'>
- <security>
- <requestedPrivileges>
- <requestedExecutionLevel level='requireAdministrator' uiAccess='false' />
- </requestedPrivileges>
- </security>
- </trustInfo>
- </assembly>
复制代码
|
|