Skip to content

Instantly share code, notes, and snippets.

@Barnacl437
Last active July 24, 2024 04:15
Show Gist options
  • Save Barnacl437/fbdf304a2cdd9814faa6db942cf70524 to your computer and use it in GitHub Desktop.
Save Barnacl437/fbdf304a2cdd9814faa6db942cf70524 to your computer and use it in GitHub Desktop.
VMware VM resolution force script (if you have installed VMwave tool). This tiny script helps you change to custom resolution in VMware VMs.
:This is a script to force resolution for VMware VMs.
:source:https://www.youtube.com/watch?v=raeK5oVLdqE
@echo off
rem More info at https://kb.vmware.com/s/article/2058577
title Force Resolution for VMware Guests, Single Display
echo .
echo This tool forces resolutions for VMware guests. For higher resolutions, refer to VMware documentation.
echo .
echo To revert to the default resolution list, disable the driver (VMware SVGA 3D) in Device Manager and then enable it again.
echo .
echo .
set /p width=Width:
set /p height=Height:
echo Resolution entered: %width% x %height%
pause
"%ProgramFiles%\VMware\VMware Tools\VMwareResolutionSet.exe" 0 1 , 0 0 %width% %height%
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment