Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 266
  • Last Modified:

virtualbox

hello,
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?
0
JeffBeall
Asked:
JeffBeall
  • 4
  • 2
2 Solutions
 
Andrew WrightIT CoordinatorCommented:
Make a snapshot and then instead of Shutting Down you revert to snapshot
0
 
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?
0
 
Andrew Hancock (VMware vExpert / EE MVE^2)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

https://communities.vmware.com/message/1784358

http://cormachogan.com/2013/04/16/what-are-dependent-independent-disks-persistent-and-non-persisent-modes/

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.
0
Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

 
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.
0
 
JeffBeallAuthor Commented:
ok, I'll try vmplayer
0
 
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.
0
 
JeffBeallAuthor Commented:
thank you - with vmware I added scsi0:0.mode = "independent-nonpersistent" and it is working exactly how I want it to.
0

Featured Post

When ransomware hits your clients, what do you do?

MSPs: Endpoint security isn’t enough to prevent ransomware.
As the impact and severity of crypto ransomware attacks has grown, Webroot has fought back, not just by building a next-gen endpoint solution capable of preventing ransomware attacks but also by being a thought leader.

  • 4
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now