Hyper-v black screen

빛가람 김 1 Reputation point
2022-07-08T02:44:55.703+00:00

218804-image.png

You can see it on the small screen on the left, but not on the big screen.

You can see it working on the left screen. But the big screen is just black

This happens to all machines.

Same after rebooting, you can see the machine turning on on the left screen

but the right screen is black

I don't know why this is happening please help

Windows for business | Windows Client for IT Pros | Storage high availability | Virtualization and Hyper-V
Windows for business | Windows Client for IT Pros | User experience | Other
{count} votes

3 answers

Sort by: Most helpful
  1. Anonymous
    2022-07-14T07:22:01.75+00:00

    Hello,

    The virtual machine black screen or the remote desktop cannot be connected, which is generally caused by the GPU problem. At this time, we can choose to disable the GPU.
    Of course, if you don't want to disable all the functions of the GPU, you have to enter the system:
    Cannot enter through the interface, and can only set the virtual machine through PowerShell.
    First find the virtual machine ID, and connect to the target virtual machine through the virtual machine ID, then modify the parameters inside the virtual machine, and restart the virtual machine after the modification is complete.

    1. Find virtual machine id command:get-vm | fl*
    2. Connect to the virtual machine:
      Enter-PSSession -vmid (get-vm vm name).vmid -Credential login account
    3. Enter the following command:
      @'
      fEnableVirtualizedGraphics
      VGOptimization_CaptureFrameRate
      VGOptimization_CompressionRatio
      AVC444ModePreferred
      AVCHardEncodePreferred
      '@ -split "`n"|%{
      Set-ItemProperty 'HKLM:\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services' -Name $_ -Value 0
      }
    4. Get-item 'HKLM:\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services'
    5. Finally restart the virtual machine to complete the GPU settings. Restart-Computer -Force

    Note: You can see if the -Credential parameter adds the credentials of the VM that needs to be connected. In addition, the object type of the parameter value needs to be PSCredential, which can be created using Get-Credential.

    Best Regards,
    Xu Gu

    1 person found this answer helpful.
    0 comments No comments

  2. Philippe Levesque 5,836 Reputation points
    2022-07-08T02:51:10.297+00:00

    Hi

    The connection is dine by RDP, does RDP’in to the VM work ?

    I would add In the console did you tried to enable enhanced session mode ?

    https://learn.microsoft.com/en-us/system-center/vmm/enhanced-console-session?view=sc-vmm-2022


  3. Limitless Technology 39,926 Reputation points
    2022-07-12T08:55:43.873+00:00

    Hello,

    I would recommend look in the next directions:

    1) Ensure that GPU drivers are fully updated
    2) If you are using a Gen2 virtual machine, try to add the storage to a Gen1 test VM to see if does make any difference
    3) Update Integration services as explained in: https:// docs. microsoft. com/en-us/windows-server/virtualization/hyper-v/manage/manage-hyper-v-integration-services#keep-integration-services-up-to-date


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

    0 comments No comments

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.