VirtualBox Machine auto shutting down, how do I stop it from auto shutdown

16

8

I downloaded and installed these virtual machines for IE8/IE9 web development, IE9 stays running but it appears the IE8 VM is constantly shutting itself down, and it is saving the state (it doesn't boot fresh) so I think it is Vbox. How can I debug what is causing this specific VM to shutdown. It is stable when I use it and only happens when I am not watching it, it never happens when I am using the VM.

Elijah Lynn

Posted 2012-09-25T13:33:41.197

Reputation: 1 021

5These test VMs are typically unlicensed copies of Windows and the anti-piracy measures in Windows will reboot your machine every few hours. Could this be what is happening? – heavyd – 2012-09-25T14:38:59.053

1The machine can be set to hibernate after some idle time? – laurent – 2012-09-25T14:44:32.257

These are not unlicensed copies, they are legitimate versions that just never get registered and are legal. The machine isn't rebooting, since the state is being saved. I will check into hibernation. – Elijah Lynn – 2012-09-26T02:20:19.253

Answers

26

heavyd is right.

https://github.com/xdissent/ievms/issues/22

In the Windows guest, open the command prompt and enter

slmgr /rearm

(not --rearm as cited in that post, since this is Windows). You can do that up to twice apparently, to extend by 30 days each time. Apparently the iectrl tool from ievms also works but I didn't try that.

Adam Herbst

Posted 2012-09-25T13:33:41.197

Reputation: 361

When I enter the code I get, "Error: 0xC004F025 Access denied: the requested action requires elevated priilages. " Please help! – Alex – 2017-06-29T22:15:55.537

2@Alex Try right clicking on the Command Prompt icon and selecting "Run as Administrator" – Jordan Eldredge – 2017-10-08T17:56:32.200

4

The slmgr /rearm command needs to be run as Administrator. Otherwise you'll get the error:

"Error: 0xC004F025 Access denied: the requested action requires elevated privileges."

For Windows 8:

  1. Get to Desktop
  2. Right-click bottom left Start icon to display the menu
  3. Select "Command Prompt (Admin)"
  4. Click "OK" on the dialog box.
  5. In the Command Prompt run slmgr /rearm

For other windows versions, visit this TechNet page.

Shannon WM

Posted 2012-09-25T13:33:41.197

Reputation: 41

1Looks like this is not for Windows 10? After success message and reboot I still see Windows License is expired on the desktop bottom-right. – Vitaly Zdanevich – 2018-02-05T11:16:43.393