Broken function -- VBoxManage GUI/RestrictedCloseActions

Discussions related to using VirtualBox on Windows hosts.
Post Reply
poncho524
Posts: 50
Joined: 5. Mar 2008, 17:38

Broken function -- VBoxManage GUI/RestrictedCloseActions

Post by poncho524 »

I'm trying to make a VM only give the option to "Power Off" when being closed.

The user manual "9.19.8. Action when terminating the VM" says you can remove any/all options from the close dialog by using

Code: Select all

VBoxManage setextradata "VM name" GUI/RestrictedCloseActions OPTION[,OPTION...]
So for my particular VM I tried doing

Code: Select all

VBoxManage setextradata "VM name" GUI/RestrictedCloseActions SaveState,Shutdown,Restore
But everytime I close the VM it still gives the option to restore the last snapshot.

The "Restore" option should be removable according to documentation, but it isn't going away.

Anyone have a fix? or insight?
poncho524
Posts: 50
Joined: 5. Mar 2008, 17:38

Re: Broken function -- VBoxManage GUI/RestrictedCloseActions

Post by poncho524 »

I done did figure it out myself

https://www.virtualbox.org/ticket/12701
Post Reply