When I quit a running VirtualBox guest, an alert appears to select between save state/shutdown signal/power off.
Is there some way to disable the alert? The extra "OK" step is quite annoying whenever I need to reboot the host.
In several years of running VirtualBox I don't think I have ever selected the shutdown signal or power off options and there are other ways to do both actions if I ever do need that.
[Resolved] Remove prompt on quit
-
- Posts: 9
- Joined: 14. Mar 2012, 11:13
[Resolved] Remove prompt on quit
Last edited by socratis on 13. Aug 2019, 12:39, edited 1 time in total.
Reason: Marked as [Resolved].
Reason: Marked as [Resolved].
-
- Site Moderator
- Posts: 20965
- Joined: 30. Dec 2009, 20:14
- Primary OS: MS Windows 10
- VBox Version: PUEL
- Guest OSses: Windows, Linux
Re: Remove prompt on quit
The manual, section 9.19.9 says it's possible:
This command:
I tried this command on a guest:9.19.9 Default Action when Terminating the VM
You can define a specific action for terminating a VM. In contrast to the setting described in the
previous section, this setting allows only one action when the user terminates the VM. No exit
menu is shown.
And the guest automatically save-stated when I closed the guest window, no Close box appearedVBoxManage setextradata "<vmname>" GUI/DefaultCloseAction SaveState
This command:
cleared the default and re-showed the Close box.VBoxManage setextradata "<vmname>" GUI/DefaultCloseAction
-
- Posts: 9
- Joined: 14. Mar 2012, 11:13
Re: Remove prompt on quit
Thanks! That worked for me.
-
- Site Moderator
- Posts: 27330
- Joined: 22. Oct 2010, 11:03
- Primary OS: Mac OS X other
- VBox Version: PUEL
- Guest OSses: Win(*>98), Linux*, OSX>10.5
- Location: Greece
Re: Remove prompt on quit
Marking as [Resolved].
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.