I recently switched over to VirtualBox for running my VM’s. While VirtualBox is a great product, I was encountering issues with my Windows based VM’s randomly shutting down or restarting. Fortunately, a few others had encountered this issue and came up with the work around listed below
- Start VirtualBox
- Start the desired VM and signin
- Open a command prompt windows as an Admin and enter
This command will list the available Power Schemes, with an * at the end of the line for the active Power Scheme
- If (High performance) is not the active Power Scheme run the following command
powercfg -setactive “8c5e7fda-e8bf-4a96-9a85-a6e23a8c635c”
The default power schemes (Balanced, High performance, & Power saver) have the same GUID on all Windows machine, so you should have no issue with running the above command.
- Now rerun
To verify that the Power Scheme has changed.
Hopefully you don’t run into this issue but if you do maybe the above will help you out.