question

Michlyper-3424 avatar image
0 Votes"
Michlyper-3424 asked AndreasBaumgarten edited

I accidentaly disabled my graphics card

I have a windows virtual machine on Microsoft Azure and on device manager I've disabled the graphics card for the screen, and I cant do anything right now, the screen is black when I connect to the virtual machine

If someone could help me to fix it I would appreciate, thanks.

azure-virtual-machines
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

AndreasBaumgarten avatar image
1 Vote"
AndreasBaumgarten answered AndreasBaumgarten commented

Hi @Michlyper-3424 ,

you can try this:

86355-image.png


 Get-PnpDevice -FriendlyName "Microsoft Hyper-V Video"  |  Enable-PnpDevice -Confirm:$false

(If the reply was helpful please don't forget to upvote and/or accept as answer, thank you)

Regards
Andreas Baumgarten




image.png (74.3 KiB)
· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Should there be an output?

0 Votes 0 ·

@Michlyper-3424 ,

if you run the command like I posted there should be no output. At least I didn't got any output.


(If the reply was helpful please don't forget to upvote and/or accept as answer, thank you)

Regards
Andreas Baumgarten

0 Votes 0 ·
Michlyper-3424 avatar image
0 Votes"
Michlyper-3424 answered

I checked the list of the Pnp devices and this is what I got: 86533-devices.txt


and there isn't "Microsoft Hyper-V Video", so if you could tell me what is the right device I should make the command line on would be much appreciated

@AndreasBaumgarten


devices.txt (4.0 KiB)
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

AndreasBaumgarten avatar image
0 Votes"
AndreasBaumgarten answered AndreasBaumgarten edited

HI @Michlyper-3424 ,

the Microsoft Hyper-V Video should be the "default" driver of a B2ms VM.
Which VM SKU are you running?

Based on the device list you attached I would try NVIDIA Tesla K80 .

If I ran this on my VM (B2ms SKU/Size):

 Get-PnpDevice -class Display

I get this output:

86541-image.png

So I assume the class Display of the devices is reflecting the graphics card device.

Based on this output and my assumption you can try this command as well:

 Get-PnpDevice -class Display  |  Enable-PnpDevice -Confirm:$false


(If the reply was helpful please don't forget to upvote and/or accept as answer, thank you)

Regards
Andreas Baumgarten





image.png (8.7 KiB)
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.