I am running virtualbox 3.2.8. on Mac OS X 10.6.4. and would like to shutdown the guest machine (Win XP) automatically when the computer powers off. This doesn't work, because a dialogue box pops up which wants me to confirm the shutdown of the virtual machine. Is there a possibility to disable that dialogue box?
Thanks for your input!
*Philippe
Shutting down virtualbox when computer powers down
-
Perryg
- Site Moderator
- Posts: 34369
- Joined: 6. Sep 2008, 22:55
- Primary OS: Linux other
- VBox Version: OSE self-compiled
- Guest OSses: *NIX
Re: Shutting down virtualbox when computer powers down
Better not do that. If you force a shutdown and VBox was not shut down properly you will loose the guest.
-
Sasquatch
- Volunteer
- Posts: 17798
- Joined: 17. Mar 2008, 13:41
- Primary OS: Debian other
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Windows XP, Windows 7, Linux
- Location: /dev/random
Re: Shutting down virtualbox when computer powers down
There is a very dirty hack you can use to put the VM in saved state before the shut down takes place, but you have to postpone the shutdown process enough for that to finish. This hack however, as stated, is very dirty and could break several things and can even be reversed on an OS update.
So even though it's possible, I wouldn't do it. Just remember to close the VM yourself. When you want things to go right, do it yourself
. I'm with Perry on this.
So even though it's possible, I wouldn't do it. Just remember to close the VM yourself. When you want things to go right, do it yourself
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org
Retired from this Forum since OSSO introduction.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org
Retired from this Forum since OSSO introduction.
-
rpmurray
- Volunteer
- Posts: 918
- Joined: 3. Mar 2009, 00:29
- Primary OS: Mac OS X other
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Windows 7, Mac OS X (various flavors)
- Location: Between Heaven and Hell
Re: Shutting down virtualbox when computer powers down
You can use terminal commands to control the VM. The guys in this topic VBox Daemon for Mac OS X were talking about how to do something like this for a headless VM for when they startup and shutdown the computer. Maybe you can use some of their ideas.