Hyper-V Checkpoints - Create and Use in Windows 10

    Hyper-V Checkpoints - Create and Use in Windows 10

    How to Create and Use Hyper-V Checkpoints in Windows 10
    Published by
    2014-10-05
    Designer Media Ltd

    Published by


    Kari's Avatar
    Finnish but not finished


    Location: A Finnish ex-pat in Germany
    Posts: 9,516

    Show Printable Version 


    How to Create and Use Hyper-V Checkpoints in Windows 10


    Note   Note
    Checkpoint is a powerful Hyper-V feature to easily undo all changes on a virtual machine. You can play with virtual machines testing apps, changing settings, editing registry and so on as if "sandboxing" and when needed, discard all changes and restore an earlier Checkpoint in a few clicks and seconds.

    A standard checkpoint stores virtual machine state exactly as it is (see Part Three in this tutorial for difference between a production and a standard checkpoint). Whereas a Windows Restore Point only stores and restores the Windows system state but does not store the app state and restore or remove user files, a standard Hyper-V checkpoint stores and restores the complete system including app state and user files. A checkpoint can rather be compared with a system image than a restore point although even that comparison is not accurate.

    You can create as many Checkpoints as you want to. Creating a checkpoint only takes a few seconds. Testing for instance sysprepping Windows 10 Technical Preview in Audit Mode you can create a checkpoint before entering the Audit Mode after installation has finished and Windows boots to OOBE / Welcome Mode, second checkpoint when signed in as built-in administrator in Audit Mode and third before sysprepping with your answer file. Now when something does not work as you'd expected, simply return to any of your earlier checkpoints instead of starting from scratch.

    In this tutorial we will create checkpoints and apply (restore) them.


    For this tutorial you will need Hyper-V enabled and setup as told in this tutorial, and at least one working virtual machine.

    Contents:

    Part One: Create a Checkpoint
    Part Two: Apply (restore) a checkpoint
    Part Three: Checkpoint settings



    Hyper-V Checkpoints - Create and Use in Windows 10 Part One Hyper-V Checkpoints - Create and Use in Windows 10
    Create a Checkpoint

    1.1) Checkpoints can be created in Hyper-V Manager from Action menu (#1) or from context (right click) menu (#2). Select a vm first, then create a checkpoint for that vm. The vm don't have to be running, you can create a checkpoint also when the vm is turned off:

    Click image for larger version. 

Name:	2014-10-06_00h29_42.png 
Views:	614 
Size:	93.4 KB 
ID:	6110

    A checkpoint can also be created from Action menu in Virtual Machine Connection > Action menu:

    Name:  2014-10-06_00h33_21.png
Views: 4966
Size:  139.1 KB

    1.2) When you select Checkpoint in Action or Context menus as told in 1.1 Hyper-V asks if you want to rename the checkpoint (default name vm_name_date&time). Name the checkpoint as you wish, click Yes (No for default name):

    Name:  2014-10-06_00h53_12.png
Views: 4887
Size:  14.7 KB

    1.3) The progress can be seen in status bar of Virtual Machine Connection:

    Name:  2014-10-06_01h03_12.png
Views: 4858
Size:  76.2 KB

    1.4) When checkpoint is created click OK:

    Name:  2014-10-06_00h59_53.png
Views: 4813
Size:  10.8 KB

    1.5) You can see all your checkpoints in Hyper-V Manager. Select a vm to see its checkpoints, Now is the current state:

    Click image for larger version. 

Name:	2014-10-06_01h10_27.png 
Views:	553 
Size:	69.3 KB 
ID:	6120



    Hyper-V Checkpoints - Create and Use in Windows 10 Part 2 Hyper-V Checkpoints - Create and Use in Windows 10
    Apply (restore) a checkpoint

    2.1) To revert (restore) to last checkpoint created directly from Virtual Machine Connection, select Action > Revert:

    Click image for larger version. 

Name:	2014-10-06_01h23_59.png 
Views:	460 
Size:	226.8 KB 
ID:	6137

    2.2) Confirm the operation:

    Name:  2014-10-06_01h26_01.png
Views: 4896
Size:  10.5 KB

    2.3) To apply any existing checkpoint, select your vm in Hyper-V Manager and double click a checkpoint, alternatively right click a checkpoint and select Apply:

    Click image for larger version. 

Name:	2014-10-06_01h34_02.png 
Views:	921 
Size:	68.1 KB 
ID:	6139

    2.4) The selected checkpoint will now be applied and vm turned off. Hyper-V notifies you of success (#1), start (boot) the vm to checkpoint you had selected by clicking the Start button (#2):

    Name:  2014-10-06_01h28_03.png
Views: 4902
Size:  28.8 KB



    Hyper-V Checkpoints - Create and Use in Windows 10 Part 3 Hyper-V Checkpoints - Create and Use in Windows 10
    Checkpoint settings

    3.1) In vm settings you can select what type of checkpoints you will use:

    Click image for larger version. 

Name:	2014-10-06_01h41_40.png 
Views:	505 
Size:	90.1 KB 
ID:	6141

    1. Production checkpoints
      • A Production Checkpoint stores the machine state but considers all apps being closed; if you have let's say an Excel workbook open but you have not saved your work, applying this checkpoint will restore the state of the vm as it was when you had saved your work last time. When a production checkpoint is applied Windows boots as in cold boot, to Welcome screen and empty desktop after sign in with no running apps.

    2. Standard checkpoints
      • A Standard Checkpoint stores the machine state with app state; all open apps and unsaved work will be saved in checkpoint, if you have PowerPoint with an unsaved presentation open when checkpoint is created, it will be open and and your unsaved work there when the checkpoint is applied. This causes a minor security risk, though: as a standard checkpoint when applied bypasses Welcome / Sign In and enters directly to desktop as it was when checkpoint was saved, anyone having access to your vm can see your files and use your access rights.

    3.2) The location of checkpoints (highlighted in above screenshot) can only be changed when the vm in question has no checkpoints. When the first checkpoint is created and saved, you can no longer change the location of checkpoints of that vm.


    That's about it! Do not hesitate to post your questions and concerns in this thread.

    Kari



  1. Joined : Feb 2015
    3rd Rock
    Posts : 323
    WinX Pro x64 IP v14986
       2015-02-16 #1

    Excellent work.
      My System SpecsSystem Spec


  2. Joined : Oct 2013
    A Finnish ex-pat in Germany
    Posts : 9,516
    Windows 10 Pro
       2015-02-16 #2

    Thanks John .
      My System SpecsSystem Spec


  3. Joined : Aug 2015
    Paris
    Posts : 1
    Windows 10 Pro x64
       2015-08-09 #3

    Excellent, thank you.
    Check point for M$ and snapshot for VMWARE.
      My System SpecsSystem Spec


  4. Joined : Feb 2015
    Bamberg Germany
    Posts : 12,893
    Microsoft Windows 10 Pro 64-bit 14393 Multiprocessor Free
       2015-12-05 #4

    Great tutorial @Kari. I just set my VM to "Standard Checkpoints" from "Production" and created my first one
      My System SpecsSystem Spec


  5. Joined : Feb 2015
    3rd Rock
    Posts : 323
    WinX Pro x64 IP v14986
       2016-04-18 #5

    Fwiw, Kari, build 14316 is the first build running on my eVGA home built machine that doesn't cause me a boot loop. Now to play
      My System SpecsSystem Spec


  6. Joined : Oct 2013
    A Finnish ex-pat in Germany
    Posts : 9,516
    Windows 10 Pro
       2016-04-19 #6

    johngalt said: View Post
    Fwiw, Kari, build 14316 is the first build running on my eVGA home built machine that doesn't cause me a boot loop. Now to play
    Wrong thread?
      My System SpecsSystem Spec


  7. Joined : Feb 2015
    3rd Rock
    Posts : 323
    WinX Pro x64 IP v14986
       2016-04-19 #7

    Not this time. I meant Hyper-V causing the boot loops
      My System SpecsSystem Spec


  8. Joined : Oct 2013
    A Finnish ex-pat in Germany
    Posts : 9,516
    Windows 10 Pro
       2016-04-19 #8

    Really? I have to admit I do not understand what you mean with boot loops? Do you mean that your virtual machines looped, rebooting when no reboot was expected?
      My System SpecsSystem Spec


  9. Joined : Feb 2015
    3rd Rock
    Posts : 323
    WinX Pro x64 IP v14986
       2016-04-19 #9

    No, We talked about this back in the TP2 days - Installing Hyper-V on my desktop machine would cause it to lock up and reboot inexplicably, as soon as I installed it.

    Bootlooping is a term more often used in the world of Android, whereupon, after making a system change, the device boots, starts to load the OS, and crashes, repeating ad infinitum. My situation was the same - with Hyper-V just enabled on previous builds, my system continually rebooted before I even got to the login screen. Disabling VT-x in BIOS stopped the boot loops - but, without that enabled, I can't use Hyper-V. It was a catch .22 for me. I had no issues with Hyper-V on any other machine but this one.

    Now, I have no issues with running it on this one. I clean installed Build 14295 (and then took build 14316) after I noticed that 14295 had a lot of newer (date-wise) drivers as default drivers. I also played around in my BIOS settings, but currently they are exactly the same as I previously used (loaded from my saved profile). But, for whatever reason, Hyper-V actually works and my system is not bootlooping.
      My System SpecsSystem Spec


 


Similar Threads
Tutorial Category
Hyper-V virtualization - Setup and Use in Windows 10
How to Setup and Use Hyper-V in Windows 10 for OS Virtualization Windows 10 Pro, Education and Enterprise editions come with a built-in hypervisor client Hyper-V allowing users to create and run other operating systems on a virtual machine....
Tutorials
Hyper-V - Create and Use VHD of Windows 10 with Disk2VHD
How to Create VHD of Windows 10 Installation and Use in Hyper-V The tutorial has been updated today (13-JUN-2016) and also covers how to make a Hyper-V vm from a UEFI based, GPT partitioned host system with Disk2VHD. Part Three in tutorial...
Tutorials
Hyper-V Virtual Machine - Create Shortcut in Windows
How to Create Shortcut of Hyper-V Virtual Machine in Windows 8 and 10 There's nothing wrong in running the Hyper-V Manager and launch your virtual machines from there. However, creating a shortcut for each vm you have you can start them fast...
Tutorials
Hyper-V VM - Install CentOS Linux in Windows 10
How to Install CentOS Linux on Hyper-V Virtual Machine in Windows 10 A working and quite nice alternative for dual booting is to install various operating systems on a virtual machine. CentOS is officially supported by Microsoft as a guest OS...
Tutorials
Solved Windows 10 and Hyper-V
I tried to install the preview as a virtual machine and everything went fine until after a reboot following the download and installation of the updates. Both 8.1 & 10 locked up with a strange crackling noise through the speakers every few seconds....
Installation and Setup
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 18:39.
Find Us
Twitter Facebook Google+



Windows 10 Forums