4

I have installed Windows 8 Professional 64-bit in a VHD that dual boots with Windows 7. The VHD is dynamically expanding with a 128 GB capacity.

When windows 8 reboots, it seems to get stuck in an infinite loop and will say "Restarting" while the five dots circle around for hours and hours. When I use the power button to force it to turn off, it sometimes says, "Your PC ran into a problem". This error message tells me absolutely nothing that I don't already know. What happened to useful error messages?

If I use the command line shutdown /r /f /t 0 it actually reboots. Is there a way to set the default arguments?

ctype.h
  • 863

2 Answers2

2

It seems the best solution is not to use VHD boot. After reinstalling Windows 8 directly in a partition on my hard drive, the problem has been resolved.

While VHD boot is a cool feature, unfortunately it seems that it is not yet ready for serious use.

ctype.h
  • 863
1

Create a new .bat file called shutdown2 containing the following

shutdown /r /f /t 0

Put it in a folder of your choice, I.E. C:\scripts and add that location to your Path variable. Easiest way to do this is

  1. Win + W
  2. Type system environment variables
  3. Enter
  4. Environment Variables
  5. Under System variables select Path and click Edit
  6. Scroll to the end and add ; C:\scripts. The semicolon is necessary because it separates it from the previous entry

Now you can run shutdown2 just like any other command, either in command prompt or through Win + R.

Caleb Jares
  • 2,639