hyper-v resolution

Secret 40 Reputation points
2024-08-14T03:45:13.9666667+00:00

How to adjust the resolution to 2560X1440?I am using a windows 10 VM on Hyper V. I have a 1440p monitor, but the Windows settings only support to 1080.(I know that Enhanced Mode Session can adjust the resolution.But this mode utilizes the resources of the physical machine.I want to test for virus in Hyper V.So for safety reasons I don't use this.)

Hyper-V
Hyper-V
A Windows technology providing a hypervisor-based virtualization solution enabling customers to consolidate workloads onto a single server.
2,708 questions
0 comments No comments
{count} votes

Accepted answer
  1. Zunhui Han 2,090 Reputation points Microsoft Vendor
    2024-08-14T09:09:18.1966667+00:00

    Hello,

    Thank you for posting in Q&A forum.

    I recommend shutting down the VM, opening PowerShell on the host as an administrator, and running the following command. Replace "TestVm" with your vm name.

    Set-VMVideo -VMName "TestVm" -HorizontalResolution 2560 -VerticalResolution 1440 -ResolutionType Single

    I recommend you refer to the following link:

    https://learn.microsoft.com/en-us/powershell/module/hyper-v/set-vmvideo?view=windowsserver2019-ps

    I hope the information above is helpful.

    Best regards

    Zunhui

    ============================================

    If the Answer is helpful, please click "Accept Answer" and upvote it.

    1 person found this answer helpful.

1 additional answer

Sort by: Most helpful
  1. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.

    14 deleted comments

    Comments have been turned off. Learn more

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.