1.    5 Days Ago #1

    HYPER-V Non persistent Disks ???


    Hi folks
    particularly @Kari

    With HYPER V is it possible to create a training environment so that people can do exercises / tutorials on a VM but at the end of the session the Virtual HDD's are restored to the initial state.

    With VMWARE it's easy enough but I'm not sure how HYPER V works. This way is better than just restoring VM's every time. Note this is different from SNAPSHOTS.

    Cheers
    jimbo
      My ComputerSystem Spec
  2.    5 Days Ago #2
    Join Date : Dec 2015
    Posts : 5,844
    Windows10

    Quote Originally Posted by jimbo45 View Post
    Hi folks
    particularly @Kari

    With HYPER V is it possible to create a training environment so that people can do exercises / tutorials on a VM but at the end of the session the Virtual HDD's are restored to the initial state.

    With VMWARE it's easy enough but I'm not sure how HYPER V works. This way is better than just restoring VM's every time. Note this is different from SNAPSHOTS.

    Cheers
    jimbo
    Dead easy - just create a checkpoint at start of session, and wind back to that at end of session.

    Also, you can export the VM for sharing so it can be reinstated quickly as an added precaution.
      My ComputerSystem Spec
  3.    4 Days Ago #3
    Join Date : Oct 2013
    A Finnish expat in Germany
    Posts : 12,940
    Windows 10 Pro

    Quote Originally Posted by cereberus View Post
    Dead easy - just create a checkpoint at start of session, and wind back to that at end of session.
    Exactly.

    Create the VM. Before booting it first time open its Settings and disable automatic checkpoints (#1), check that checkpoints are enabled (#2) and that checkpoint type is set as Standard Checkpoints (#3).

    Click image for larger version. 

Name:	image.png 
Views:	7 
Size:	448.5 KB 
ID:	163584

    Boot VM, set it up as it should be at start before user starts training (install required software, set resolution and other settings and so on). Shut down VM. Create checkpoint:

    Click image for larger version. 

Name:	image.png 
Views:	7 
Size:	165.3 KB 
ID:	163585

    Start VM, change it as you wish or as training requires. Shut down when done, apply checkpoint to restore saved state:

    Click image for larger version. 

Name:	image.png 
Views:	8 
Size:	101.3 KB 
ID:	163586

    Click image for larger version. 

Name:	image.png 
Views:	7 
Size:	75.8 KB 
ID:	163587

    That's it. Next time the VM is started, it restores the saved state as in selected checkpoint.

    Notice that by default, if you have applied checkpoints but not started virtual machines after applying them, next time Windows will be restarted the virtual machines will start automatically. To avoid automatic start of virtual machines with applied checkpoints after Windows boot, set Automatic Start Action to Nothing. Default is Automatically start if it was running when the service stopped, which not only starts virtual machines which were running when service was stopped (Windows shut down / restarted), but also automatically starts those virtual machines which had a checkpoint applied before service was stopped.

    Click image for larger version. 

Name:	image.png 
Views:	7 
Size:	296.0 KB 
ID:	163588

    Kari
      My ComputerSystem Spec
  4.    4 Days Ago #4

    Hi guys

    Thanks

    Nice clear explanations too -- thanks again

    Cheers
    jimbo
      My ComputerSystem Spec

 


Similar Threads
Thread Forum
Slow writing to physical disks in Hyper-V
If I copy a file from C drive in a hyper-v install to a separate partition on the vhd, I get approx 100MB/s which is pretty much the maximum hdd speed that contains the vhd. However, when I copy a file to an external physical drive, it is very...
Virtualization
Virtualization Change Hyper-V Virtual Hard Disks Folder in Windows 10
How to Change Default Folder to Store Hyper-V Virtual Hard Disks Hyper-V enables running virtualized computer systems on top of a physical host. These virtualized systems (aka: guests) can be used and managed just as if they were physical...
Tutorials
Persistent BSOD
First my apologies for not providing a log file with my post. I'm unable to run the tool that is provided in the Posting Instructions thread on the affected machine, because I can't get it to boot regularly, into safe mode or even into the...
BSOD Crashes and Debugging
Persistent Ramdisk
Any assistance on this, sorry I don't mean to post so much lately new computer. : @
Drivers and Hardware
Hyper-V Hypervisor not running - can't remove Hyper-V feature
I am using Windows 10 Insider Preview 11082 (upgraded from Windows 1151 fully updated. I had installed the Hyper-V feature in the latest Windows 1151 but had not used it before I received and installer the Insider Preview edition. The...
Virtualization
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 05:24.
Find Us
Twitter Facebook Google+ Ten Forums iOS App Ten Forums Android App



Windows 10 Forums