I have created a virtualbox machine ( running win7 ) and I want to make it so that when I close the machine ( I click on the start button and choose shutdown ) no changes I made during the time I am running the virtual machine are saved. So anything I've saved to the virtual hard drive - any software that is installed - NOTHING is saved.
Is this possible?
Who is Participating?
Andrew Hancock (VMware vExpert / EE MVE^2)Connect With a Mentor VMware and Virtualization ConsultantCommented:
I don't think Virtualbox has the same features as VMware Workstation or VMware Player, which have this function called

Independent Non-persistent Mode for virtual disks.

see here

The only way to do it with VMware Player is as suggested, Create Snapshot, Shutdown Machine, Revert Snapshot, a little more manual steps, than if you were using VMware Player.

With Workstation or Player, it will do exactly what you require, after setting up the VM, shutdown VM, and all your changes are discarded automatically.
Andrew WrightConnect With a Mentor IT CoordinatorCommented:
Make a snapshot and then instead of Shutting Down you revert to snapshot
JeffBeallAuthor Commented:
ok, so when I right click on the virtual machine, I don't see snapshot, but there is a clone option. So is the clone machine thing like a snapshot?
Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

JeffBeallAuthor Commented:
also, would there be an automated way to revert to the snapshot? My goal is to have the user start the virtual machine, do what they need to do. Then shutdown the machine, and next time they need to run the machine, it is reverted back to the clone, so no changes are kept. But for the user, I want, preferably, just one thing for them to click on to start the machine. The user is not very computer literate, so I'm trying to make things as seamless as possible.
JeffBeallAuthor Commented:
ok, I'll try vmplayer
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
Virtualbox - Not without scripting, follow the article, and use VMware Player, it's automated.

Turn of VM, it's reset automatically.
JeffBeallAuthor Commented:
thank you - with vmware I added scsi0:0.mode = "independent-nonpersistent" and it is working exactly how I want it to.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.