Page 1 of 1
Always shut down and restart
Posted: 18. Feb 2014, 20:34
by mille1j
Is it possible to configure a Windows 7 guest on an OSX host to always shut down the guest and therefore always restart it when reopening virtual box? Yes, the resume saves time, but in my environment its a security issue that is easily solved if i can just get the guest to always shut down.
Re: Always shut down and restart
Posted: 18. Feb 2014, 21:08
by Perryg
You should be able to lock down just about any feature. See the following link to the user manual chapter 9
http://www.virtualbox.org/manual/ch09.html#guitweaks
Re: Always shut down and restart
Posted: 18. Feb 2014, 21:21
by mille1j
Looked thru that, but really didn't find anything that seemed like it would address it.
Re: Always shut down and restart
Posted: 18. Feb 2014, 21:25
by Perryg
9.19.8. Action when terminating the VM
Re: Always shut down and restart
Posted: 18. Feb 2014, 21:31
by mille1j
AWESOME! thanks
Re: Always shut down and restart
Posted: 18. Feb 2014, 21:40
by mille1j
tried running this in terminal:
VBoxManage setextradata “Windows 7" GUI/RestrictedCloseActions SaveState
Still allows use of save state. nuts
must be some error in the syntax here.
Re: Always shut down and restart
Posted: 23. Feb 2014, 18:47
by mille1j
stupid smart quotes. so got this working:
VBoxManage setextradata "Windows 7" GUI/RestrictedCloseActions SaveState
and then, was able to use this
VBoxManage setextradata "Windows" GUI/RestrictedCloseActions SaveState,PowerOff
to make it so that the only option they see is to shutdown. So this is very helpful.
What would be AWESOME though, would be to not even have the dialog and for Virtual Box to just shutdown the PC when you quit it. Possible?