大网数据广告活动
服务器运维问答

esxi 6.5 how to turn off autofit window / automatic display resolution change

· 52CE 我爱测

after I installed VMware Tools on virtual machine its resolution adjusts to the console window size automatically. It is not what I want - I want that the resolution of my virtual machine stays the same. It is VMware ESXi 6.5, wh…

问题原文

原帖链接 · Tiroue · CC BY-SA 3.0

after I installed VMware Tools on virtual machine its resolution adjusts to the console window size automatically. It is not what I want - I want that the resolution of my virtual machine stays the same.

It is VMware ESXi 6.5, where is only web console available.

It is happening only after installing VMware Tools (i need it of course).

Anyone knows how to turn it off ?

I tried to use some forums tips with setting: svga.MaxWidth/svga.MaxHeight parameters, but it doesn't work...

社区高分解答

原帖链接 · Moritz Both · CC BY-SA 3.0

Found a solution!!

Windows Client resolution changes work by calling <ProgramDir>\VMware\VMware Tools\VMwareResolutionSet.exe. After I renamed that file, bingo no more resolution changes. Obviously this works until the next VMware tools update only, but it does the job for us.

Since it is not easy to find, here is the reference for VMwareResolutionSet.exe from a random forum thread at https://kb.vmware.com/s/article/2058577

Run VMwareResolutionSet.exe to force Windows to set your desired resolution.

VMwareResolutionSet.exe Variable1 Variable2 , Variable3 Variable4 Variable5 Variable6

Variable 1 is the index of the primary monitor (Default = 0).

Variable 2 is the number of total monitors (Default = 1).

Variable 3 is the starting X position of monitor 0 (Default = 0).

Variable 4 is the starting Y position of monitor 0 (Default = 0).

Variable 5 is the width (X) of monitor 0 in pixels.

Variable 6 is the width (Y) of monitor 0 in pixels.

For Example, to set the virtual machine display resolution to 3280 x 2048:

VMwareResolutionSet.exe 0 1 , 0 0 3280 2048

The spaces around the comma seem to be significant.

摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。

资料来源与适用范围

资料来源
Server Fault
适用范围
以原帖系统、软件版本与发布日期为准(2017-02-06)
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY-SA 3.0

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。