Create and Use Hyper-V Checkpoints in Windows 10

    Create and Use Hyper-V Checkpoints in Windows 10

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

    Published by KariCategory: Virtualization
    05 Oct 2014 Last Updated: 19 Apr 2017 at 16:05

    Published by


    Kari's Avatar
    Finnish but not finished


    Location: A Finnish expat in Germany
    Posts: 12,657

    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 the Windows 10 Creators update you can now take checkpoints and saved states on virtual machines that are acting as nested Hyper-V hosts.

    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



    Create and Use Hyper-V Checkpoints in Windows 10 Part One Create and Use Hyper-V Checkpoints 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:	867 
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: 5989
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: 5909
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: 5876
Size:  76.2 KB

    1.4) When checkpoint is created click OK:

    Name:  2014-10-06_00h59_53.png
Views: 5833
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:	875 
Size:	69.3 KB 
ID:	6120



    Create and Use Hyper-V Checkpoints in Windows 10 Part 2 Create and Use Hyper-V Checkpoints 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:	629 
Size:	226.8 KB 
ID:	6137

    2.2) Confirm the operation:

    Name:  2014-10-06_01h26_01.png
Views: 5894
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:	1395 
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: 5947
Size:  28.8 KB



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

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

    Name:  2014-10-06_01h41_40.png
Views: 1489
Size:  90.1 KB

    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.    16 Feb 2015 #1
    Join Date : Feb 2015
    3rd Rock
    Posts : 697
    WinX Pro x64 IP v14986

    Excellent work.
      My ComputersSystem Spec
  2.    16 Feb 2015 #2
    Join Date : Oct 2013
    A Finnish expat in Germany
    Posts : 12,657
    Windows 10 Pro
    Thread Starter

    Thanks John .
      My ComputerSystem Spec
  3.    09 Aug 2015 #3
    Join Date : Aug 2015
    Paris
    Posts : 1
    Windows 10 Pro x64

    Excellent, thank you.
    Check point for M$ and snapshot for VMWARE.
      My ComputerSystem Spec
  4.    05 Dec 2015 #4
    Join Date : Feb 2015
    Bamberg Germany
    Posts : 16,972
    Win10 Pro, Win10 Pro N, Win10 Home, Win10 Pro Insider Fast Ring, Windows 8.1 Pro, Ubuntu

    Great tutorial @Kari. I just set my VM to "Standard Checkpoints" from "Production" and created my first one
      My ComputersSystem Spec
  5.    18 Apr 2016 #5
    Join Date : Feb 2015
    3rd Rock
    Posts : 697
    WinX Pro x64 IP v14986

    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 ComputersSystem Spec
  6.    19 Apr 2016 #6
    Join Date : Oct 2013
    A Finnish expat in Germany
    Posts : 12,657
    Windows 10 Pro
    Thread Starter

    Quote Originally Posted by johngalt 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 ComputerSystem Spec
  7.    19 Apr 2016 #7
    Join Date : Feb 2015
    3rd Rock
    Posts : 697
    WinX Pro x64 IP v14986

    Not this time. I meant Hyper-V causing the boot loops
      My ComputersSystem Spec
  8.    19 Apr 2016 #8
    Join Date : Oct 2013
    A Finnish expat in Germany
    Posts : 12,657
    Windows 10 Pro
    Thread Starter

    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 ComputerSystem Spec
  9.    19 Apr 2016 #9
    Join Date : Feb 2015
    3rd Rock
    Posts : 697
    WinX Pro x64 IP v14986

    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 ComputersSystem Spec

 


Similar Threads
Tutorial Category
Virtualization 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
Virtualization 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 (20-MAR-2017). Please post all your questions about this process in this thread. Please notice: some screenshots are from pre-release builds of...
Tutorials
Customization Create Shortcut of Hyper-V Virtual Machine 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
Virtualization 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 Upgrade
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 15:23.
Find Us
Twitter Facebook Google+ Ten Forums iOS App Ten Forums Android App



Windows 10 Forums