How to disable auto-fitting of Windows guest OS screen resolution when accessing from Web Client and VMRC
search cancel

How to disable auto-fitting of Windows guest OS screen resolution when accessing from Web Client and VMRC

book

Article ID: 311172

calendar_today

Updated On:

Products

VMware VMware vCenter Server VMware vSphere ESXi

Issue/Introduction

  • When opening or resizing VMRC of any versions or Web Console of Web Client 6.5, the screen resolution of Windows Guest OS changes to fit the window size of the client if the guest OS is Windows. This results in changing the screen resolution of the guest.

Environment

  • VMware vSphere ESXI 8.0
  • VMware vSphere ESXI 7.0
  • VMware vSphere ESXI 6.0
  • VMware vSphere ESXI 5.5 Beta
  • VMware vSphere ESXI 5.5
  • VMware vSphere ESXI 6.5
  • VMware vCenter Server 6.0.x
  • VMware vCenter Server 6.5.x
  • VMware vCenter Server 7.0.x
  • VMware vCenter Server 8.0.x

Resolution

  • To disable auto-fitting screen resolution to client windows size, use VMware Tools 10.2 or later, and set following options to the VM's vmx config file.
     
    guestInfo.svga.wddm.modeset="FALSE"
    guestInfo.svga.wddm.modesetCCD="FALSE"
    guestInfo.svga.wddm.modesetLegacySingle="FALSE"
    guestInfo.svga.wddm.modesetLegacyMulti="FALSE"

     

    Note: The VM needs to be powered off when adding the above options.
  • With this solution, in order to prevent a user in the Guest OS from changing screen resolution of Guest OS, you might need to use Group Policy. For more information on group policy setting for display, see Microsoft Article.


Additional Information

NOTE:- The open VMRC should be closed for any Power operation on the Virtual Machine