Igrnore all changes on shutdown?

Discussions related to using VirtualBox on Windows hosts.
Post Reply
supercrazymark
Posts: 31
Joined: 14. May 2013, 11:42
Primary OS: MS Windows 7
VBox Version: OSE other
Guest OSses: Windows 7 32bit
Location: Salisbury
Contact:

Igrnore all changes on shutdown?

Post by supercrazymark »

Hello,

Is it possible to make it so when someone closes down the VM, if they (or another user) opens it then any changes the user has made are lost?

I want to basically open up a "clean" image everytime and any changes made since opening the image are lost on close/shutdown.

I have excluded the "state" switches with:

Code: Select all

VBoxManage setextradata global GUI/RestrictedCloseActions SaveState,Restore
but if I, for example, open a VM and put a shortcut on the desktop and then close/shutdown the VM that shortcut is still there when it's re-opened again.

Is this possible?

Mark
Last edited by supercrazymark on 20. May 2013, 08:43, edited 1 time in total.
noteirak
Site Moderator
Posts: 5231
Joined: 13. Jan 2012, 11:14
Primary OS: Debian other
VBox Version: OSE Debian
Guest OSses: Debian, Win 2k8, Win 7
Contact:

Re: Igrnore and changes on shutdown?

Post by noteirak »

Yes it is possible, you need to change the VM disks to "Immutable".
Each time you poweroff/poweron, they are reset.
Hyperbox - Virtual Infrastructure Manager - https://apps.kamax.lu/hyperbox/
Manage your VirtualBox infrastructure the free way!
supercrazymark
Posts: 31
Joined: 14. May 2013, 11:42
Primary OS: MS Windows 7
VBox Version: OSE other
Guest OSses: Windows 7 32bit
Location: Salisbury
Contact:

Re: Igrnore all changes on shutdown?

Post by supercrazymark »

Perfect, thank you :D Worked a treat!
Post Reply