Solved HYPER-V - cannot resize console screen


jimbo45

Well-known member
Pro User
VIP
Local time
6:53 AM
Posts
3,987
Location
Hafnarfjörður IS
OS
Windows XP,7,10,11 Linux Arch Linux
Hi folks
running Windows 11 HOST and installing a Linux VM (could be Windows - same prob)

The console screen can't be re-sized e.g :

Skjámynd 2022-01-01 143946.png
But in Full size -- it then only has one small display -- I want 1920 X 1080

Works via RDP but I don't really want to use RDP.

Any ideas

Cheers
jimbo
 

My Computer

System One

  • OS
    Windows XP,7,10,11 Linux Arch Linux
    Computer type
    PC/Desktop
    CPU
    2 X Intel i7
Hi folks
running Windows 11 HOST and installing a Linux VM (could be Windows - same prob)

The console screen can't be re-sized ... But in Full size -- it then only has one small display -- I want 1920 X 1080

You can only resize the window of a Hyper-V VM when connected to the guest in an Enhanced session, and that is only available as an option if the guest is a Windows Pro edition, or higher. For a Windows Home or Linux guest the window size (and full screen size) is fixed at the resolution set within the guest OS. Enhanced session is greyed out and the only option in the VM connection window is 'zoom'.

1641052647099.png

So to get your desired 1920x1080 resolution you'll have to set it within the VM itself. For a Hyper-V Linux VM that requires editing grub.

Cereberus said:
1) Open Terminal
2) Type: sudo nano /etc/default/grub
3) Find the line starting with GRUB_CMDLINE_LINUX_DEFAULT, and add video=hyperv_fb:[the resolution you want].
So my line ends up looking like this: GRUB_CMDLINE_LINUX_DEFAULT="quiet splash video=hyperv_fb:1366x768"
4) Write the changes and quit nano
5) Run: sudo update-grub
6) Reboot the virtual machine

Works for me...

Hyper-V - Linux Mint 1920x1080.png
 

My Computers

System One System Two

  • OS
    Windows 11 Home
    Computer type
    Laptop
    Manufacturer/Model
    Acer Aspire 3 A315-23
    CPU
    AMD Athlon Silver 3050U
    Memory
    8GB
    Graphics Card(s)
    Radeon Graphics
    Monitor(s) Displays
    laptop screen
    Screen Resolution
    1366x768 native resolution, up to 2560x1440 with Radeon Virtual Super Resolution
    Hard Drives
    1TB Samsung EVO 870 SSD
    Internet Speed
    50 Mbps
    Browser
    Edge, Firefox
    Antivirus
    Defender
    Other Info
    fully 'Windows 11 ready' laptop. Windows 10 C: partition migrated from my old unsupported 'main machine' then upgraded to 11. A test migration ran Insider builds for 2 months. When 11 was released on 5th October it was re-imaged back to 10 and was offered the upgrade in Windows Update on 20th October. Windows Update offered the 22H2 Feature Update on 20th September 2022. It got the 23H2 Feature Update on 4th November 2023 through Windows Update.

    My SYSTEM THREE is a Dell Latitude 5410, i7-10610U, 32GB RAM, 512GB ssd, supported device running Windows 11 Pro (and all my Hyper-V VMs).

    My SYSTEM FOUR is a 2-in-1 convertible Lenovo Yoga 11e 20DA, Celeron N2930, 4GB RAM, 256GB ssd. Unsupported device: currently running Win10 Pro, plus Win11 Pro RTM and Insider Beta as native boot vhdx.

    My SYSTEM FIVE is a Dell Latitude 3190 2-in-1, Pentium Silver N5030, 4GB RAM, 512GB NVMe ssd, supported device running Windows 11 Pro, plus the Insider Beta, Dev, and Canary builds as a native boot .vhdx.
  • Operating System
    Windows 11 Pro
    Computer type
    Laptop
    Manufacturer/Model
    Dell Lattitude E4310
    CPU
    Intel® Core™ i5-520M
    Motherboard
    0T6M8G
    Memory
    8GB
    Graphics card(s)
    (integrated graphics) Intel HD Graphics
    Screen Resolution
    1366x768
    Hard Drives
    500GB Crucial MX500 SSD
    Browser
    Firefox, Edge
    Antivirus
    Defender
    Other Info
    unsupported machine: Legacy bios, MBR, TPM 1.2, upgraded from W10 to W11 using W10/W11 hybrid install media workaround. In-place upgrade to 22H2 using ISO and a workaround. Feature Update to 23H2 by manually installing the Enablement Package. Also running Insider Beta, Dev, and Canary builds as a native boot .vhdx.

    My SYSTEM THREE is a Dell Latitude 5410, i7-10610U, 32GB RAM, 512GB ssd, supported device running Windows 11 Pro (and all my Hyper-V VMs).

    My SYSTEM FOUR is a 2-in-1 convertible Lenovo Yoga 11e 20DA, Celeron N2930, 4GB RAM, 256GB ssd. Unsupported device: currently running Win10 Pro, plus Win11 Pro RTM and Insider Beta as native boot vhdx.

    My SYSTEM FIVE is a Dell Latitude 3190 2-in-1, Pentium Silver N5030, 4GB RAM, 512GB NVMe ssd, supported device running Windows 11 Pro, plus the Insider Beta, Dev, and Canary builds as a native boot .vhdx.
On Ubuntu, you can set up installation to use enhanced mode.

If you cannot use enhanced mode for Debian, you can set it up by making a linux modification.


Same works for Debian as well.


edit: @Bree beat me to it referencing an older post of mine LOL
 

My Computer

System One

  • OS
    Windows 10 Pro + others in VHDs
    Computer type
    Laptop
    Manufacturer/Model
    ASUS Vivobook 14
    CPU
    I7
    Motherboard
    Yep, Laptop has one.
    Memory
    16 GB
    Graphics Card(s)
    Integrated Intel Iris XE
    Sound Card
    Realtek built in
    Monitor(s) Displays
    N/A
    Screen Resolution
    1920x1080
    Hard Drives
    1 TB Optane NVME SSD, 1 TB NVME SSD
    PSU
    Yep, got one
    Case
    Yep, got one
    Cooling
    Stella Artois
    Keyboard
    Built in
    Mouse
    Bluetooth , wired
    Internet Speed
    72 Mb/s :-(
    Browser
    Edge mostly
    Antivirus
    Defender
    Other Info
    TPM 2.0
On Ubuntu, you can set up installation to use enhanced mode.

If you cannot use enhanced mode for Debian, you can set it up by making a linux modification.


Same works for Debian as well.


edit: @Bree beat me to it referencing an older post of mine LOL
Thanks Guys

Good info
Funnily enough once I updated DEBIAN with the "development repos" and did apt upgrade I was able to get full 1920 X 1080 resolution.

(I was using KDE desktop BTW on Debian 11).

Another partial solution is in the HYPER-V console view is to select "Manual Zoom" which works reasonably but you can't set it too large as the vertical screen won't show the whole thing -- around 125% is OK.

I'll now mark this as solved.

Networking is now OK too -- Bridged networking is easily enough done so full access to the VM from OUTSIDE the host.

Tunnelling with Putty and 8080 port access works brilliantly too from over the "public" internet,

I like the speed of HYPER-V on Windows -- and the fact that the VM can run in the background so users can logon who don't have Windows user accounts on the Host system.

Thanks "peeps"

Happy new year to all.

Cheers
jimbo
 

My Computer

System One

  • OS
    Windows XP,7,10,11 Linux Arch Linux
    Computer type
    PC/Desktop
    CPU
    2 X Intel i7

Latest Support Threads

Back
Top Bottom