How to change VM resoulition to higher Hyper-V

1

I am trying to increase the resolution of the VM window. However I am not able to find the setting anywhere within Hyper-V manager.

Even in full screen mode I see VM doesnt occupy entire screen. I do remember it asked for resolution during first time set up, but I dont know how to change it now , I want it to be full screen or my custom length x width.

This is how it looks now in Full screen mode , occupying black background enter image description here

I have tried changing below options with no luck

Hyper-V settings -> Enhanced Session Mode

and

Hyper-V settings -> Reset Check boxes

Also added below text in config files located at C:\Users\Prateek\AppData\Roaming\Microsoft\Windows\Hyper-V\Client\1.0

  • clientsettings.config
  • user.config
  • virtmgmt.VMBrowser.config
  • vmconnect.config
  • vmwizards.config
<setting name="FullScreen" type="System.Boolean">
    <value>False</value>
</setting>
<setting name="DesktopSize" type="System.Drawing.Size">
    <value>1920, 1080</value>
</setting>

Guest OS(Ubuntu 18.4.3 Display settings

enter image description here

Prateek

Posted 2019-08-27T15:35:22.367

Reputation: 113

You change the resolution in the VM's OS, not Hyper-V Manager. If you have a Hyper-V aware OS that can use enhanced session that's where you'd get the question about the screen resolution. – essjae – 2019-08-27T23:54:40.200

@essjae Ubuntu 18.04 seems to be Hyper-V aware but Settings display shows Unknown Display at 1152x864(4:3)

– Prateek – 2019-08-28T00:41:09.750

Answers

3

One way to change your resolution is via the following:

  1. Open Terminal
  2. Enter sudo vi /etc/default/grub
  3. Find the line GRUB_CMDLINE_LINUX_DEFAULT
  4. Modify the line with the resolution you want, ex: 1920x1080: GRUB_CMDLINE_LINUX_DEFAULT="quiet splash video=hyperv_fb:1920x1080"
  5. Write the changes to vi and quit, ESC wq
  6. Enter sudo update-grub
  7. Reboot the VM

--if you can use the "Quick Create" option in Windows 10 Hyper-V, I believe you'll get a better experience and the ability to adjust the resolution on the fly. It doesn't seem that you can configure a manual install to do this.

essjae

Posted 2019-08-27T15:35:22.367

Reputation: 935