bulk set default enhanced session resolution

Jorge Federico Galli Fernandez 20 Reputation points
2023-01-27T00:01:28.55+00:00

I would like to change the default VM window resolution from 1366x768 to something else.

Is there any way to set that with PowerShell or somewhere else and make it default for every VM?

Is there any way to set that in bulk, instead of specifying one VM each time?
Googling, I stumbled upon VMConnect.exe <ServerName> <VMName> /edit and that works, but I still have to set it and save it mannually. I think that that window is the same that appears when I double click a VM on Hyper-V manager.

Thanks!

Windows for business Windows Client for IT Pros Storage high availability Virtualization and Hyper-V
0 comments No comments
{count} votes

Accepted answer
  1. Limitless Technology 44,746 Reputation points
    2023-02-01T10:55:34.89+00:00

    Hello there,

    You're generally limited in choosing a resolution based on the resolution of the underlying operating system on which the virtual machine is running, so you may need to increase this to maximize your VirtualBox Display Resolution. You can also adjust VirtualBox's settings to give more video memory to your virtual machine, which may enable its operating system to output higher resolutions. To do so, click the "Screen" tab in the VirtualBox Settings menu and set how many megabytes of video memory you want to allocate to the machine.

    The Set-VMVideo cmdlet configures the video settings for virtual machines. https://learn.microsoft.com/en-us/powershell/module/hyper-v/set-vmvideo?view=windowsserver2022-ps

    Hope this resolves your Query !!

    --If the reply is helpful, please Upvote and Accept it as an answer--

    1 person found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.