Repairing a Black Screen Hyper-V Virtual Machine of Windows Server 2012 or Windows 8

This is just a quick tip for repairing a Hyper-V Windows Server 2012 guest virtual machine if you ever encounter the Black screen of nothingness. I recently experienced a couple of Hyper-V Windows Server 2012 guests that were only showing a black screen and I could not get access to the underlying operating systems. I wanted to document the trick that I used to repair these VMs.

  1. You need to use either an installation DVD or an ISO file of the underlying Operating System. I simply pointed the virtual machines’ cd drives to the server 2012 installation ISO.
  2. You reset the virtual machine and press any key to boot from the DVD or Iso file.
  3. Choose the option: REPAIR YOUR COMPUTER
  4. Choose the option COMMAND LINE
  5. enter C: to receive a C: prompt instead of the X:
  6. Now, you want to repair the bootsector so you will use the command

      Bootsect /nt60 C: /force

  7. reset the virtual machine, and hopefully you will see the blue login screen this time. In my case it took two attempts of entering the commands but it worked for both virtual machines. There is a /SYS switch that can be used also with the bootsect command but in my case I didn’t need to use that just Bootsect /nt60 C: /force did the trick.