Windows OS Hub
  • Windows Server
    • Windows Server 2022
    • Windows Server 2019
    • Windows Server 2016
    • Windows Server 2012 R2
    • Windows Server 2008 R2
    • SCCM
  • Active Directory
    • Active Directory Domain Services (AD DS)
    • Group Policies
  • Windows Clients
    • Windows 11
    • Windows 10
    • Windows 8
    • Windows 7
    • Windows XP
    • MS Office
    • Outlook
  • Virtualization
    • VMWare
    • Hyper-V
    • KVM
  • PowerShell
  • Exchange
  • Cloud
    • Azure
    • Microsoft 365
    • Office 365
  • Linux
    • CentOS
    • RHEL
    • Ubuntu
  • Home
  • About

Windows OS Hub

  • Windows Server
    • Windows Server 2022
    • Windows Server 2019
    • Windows Server 2016
    • Windows Server 2012 R2
    • Windows Server 2008 R2
    • SCCM
  • Active Directory
    • Active Directory Domain Services (AD DS)
    • Group Policies
  • Windows Clients
    • Windows 11
    • Windows 10
    • Windows 8
    • Windows 7
    • Windows XP
    • MS Office
    • Outlook
  • Virtualization
    • VMWare
    • Hyper-V
    • KVM
  • PowerShell
  • Exchange
  • Cloud
    • Azure
    • Microsoft 365
    • Office 365
  • Linux
    • CentOS
    • RHEL
    • Ubuntu

 Windows OS Hub / Windows 10 / How to Create and Restore System Image Backup on Windows 10?

April 29, 2021 Windows 10

How to Create and Restore System Image Backup on Windows 10?

This article will tell you how to backup Window 10 to an external media (USB drive, additional HDD/SSD or shared network folder) using built-in system image backup tools, and how to properly restore the system from this image. Windows System Image Backup includes a complete OS image, system and user partitions with all installed programs, settings and personal user data.

Contents:
  • How to Create a Windows 10 System Image Using Wbadmin?
  • Performing an Image Backup using the Windows GUI
  • Managing Windows Backups Using the Wbadmin
  • How to Restore Windows 10 from a System Image Backup?

In this article, we’ll use the default System Image Backup tool to save your Windows image. And although Microsoft stopped developing it long ago, its features are enough for our task.

How to Create a Windows 10 System Image Using Wbadmin?

To make a system image backup, you can use the command prompt tool wbadmin.exe. Connect an external disk or USB flash drive to your computer, to which we will save the Windows 10 image.

Start the PowerShell console as an administrator.

How to create a backup with system image tool on Windows 10?

In our case, Windows 10 is installed on the C:\ drive, and we’ll save the system image to the U:\ flash drive (there must be enough free space on the flash drive). In this case, a command to create the system image will be as follows:

wbAdmin start backup -backupTarget:U: -include:C: -allCritical -quiet

Note. To backup a system image using Wbadmin.exe, you have to be a member of the local Backup Operators or Administrators groups.

If you need to include in the backup not only the system partition on which Windows 10 is installed, but also other partitions, use the following command:

wbAdmin start backup -backupTarget:U: -include:C:,D:,E:,F: -allCritical -quiet

In case, you have to save the system image to a shared network folder, you need to specify the UNC path (your account must have NTFS write permissions on this folder):

wbAdmin start backup -backupTarget:\\mun-srvbk1\backup\userimages -include:C: -allCritical –quiet

You can specify user credentials to access the SMB share as follows:

wbAdmin start backup -backupTarget:\\mun-srvbk1\backup\userimages -user:jsmith -password:$tr0ngP@$$w0rrd -include:C: -allCritical –quiet

If you want to add specific directories to the backup, specify them like this:

-include:E:\Docs

It will take some time to create a Windows image backup, depending on how much data is on the source drives.

Volume Shadow Copy (VSS) service is used to create a system image backup. This means you can continue to use Windows while the backup is in progress.

wbAdmin start backup from the command prompt

The backup operation successfully completed.
The backup of volume (EFI System Partition) (100.00 MB) completed successfully.
The backup of volume (C:) completed successfully.
The backup of volume (542.00 MB) completed successfully.

As you can see, not only the system partition was included in the image backup, but also the EFI and System Reserved partitions.

System Image Backup supports both full and incremental backups (i.e. only the changed blocks are added to the backup image).

When wbAdmin utility completes its task, WindowsImageBackup directory containing the system image will appear in the root of the target drive. It contains your system and data partitions in the VHDX file format. If necessary, you can manually mount these VHDX disks and access their contents.

vhdx files with hard disk images on WindowsImageBackup folder

Note that a UAC prompt appears when accessing the WindowsImageBackup folder. If you don’t want UAC to change NTFS permissions on this directory, run the File Explorer in elevated mode.

uac prompt whe accessing WindowsImageBackup folder

Performing an Image Backup using the Windows GUI

You can also backup your Windows 10 image from the Windows 10 GUI. This feature is available through the Control Panel (Control Panel\System and Security\File History). Click on the System Image Backup button in the bottom left corner.

Open the System Image Backup tool on Windows 10

Alternatively, just run the Sdclt.exe command.

In the next window, click Setup backup and specify the drive where you want to save the Windows image.

select the media to save the backup image

Select the drives you want to back up. Make sure that the “Include a system image of drives: EFI System Partition, C:, Windows Recovery Environment” option is checked.

select what to backup

Then you can configure an automatic backup schedule.

To start the backup, click Save settings and run backup.

schedule and run the system image backup on windows 10

You can check the current backup status in the Control Panel.

check the backup state on Windows 10

Managing Windows Backups Using the Wbadmin

Let’s look at several commands of the wbadmin.exe command line tool for managing backups.

List the backups registered in the system:

Wbadmin get versions

Wbadmin get versions

Backup time: 4/28/2021 9:55 AM
Backup target: 1394/USB Disk labeled JetFlash(U:)
Version identifier:04/28/2021-17:45
Can recover: Volume(s), File(s), Application(s), Bare Metal Recovery, System State
Snapshot ID: {02036e21-cda2-1012-2bf1-d22401212344}

In this case, we have 2 backups. To list the items stored in a specific backup, specify its Version identifier:

Wbadmin get items -version:04/28/2021-16:55

Wbadmin get items

To delete all backups except the last three, run:

wbadmin delete backup -keepversions:3

To remove only the oldest image backup version:

Wbadmin delete backup –deleteOldest

Earlier, we showed how to use wbadmin to backup Hyper-V virtual machines.

How to Restore Windows 10 from a System Image Backup?

To restore Windows 10 from a previously created system image backup, you will need:

  • A Windows 10 install image on a DVD disk or a USB flash drive (how to create a bootable USB flash drive with Windows 10), system repair disk, MSDaRT recovery image, or similar LiveCD;
  • Change the boot order in the BIOS/UEFI settings so that the computer boots from your DVD/USB media.

Boot from an installation/boot disk.

On the first Windows Setup screen, click Next.

boot from windows 10 install disk

Click Repair your computer button in the bottom left corner.

Repair your computer

After that, go to Troubleshoot -> Advanced Options -> System Image Recovery.

System Image Recovery

Select Windows 10 from the list of target OSs.

Window10 recovery from image

The recovery wizard will scan the connected drives and find a list of previously created backups. You can restore the latest image, or choose an earlier one.

re-image your computer using system image backup

Tip. Since the system has booted from a boot media, the drive letters may not match the drive letters in Windows.

Select the image to be restored from the list of available images.

select image backup to restore

Check the option Format and repartition disks if you are restoring an image to a new disk. In this case, the Recovery wizard will delete all current partitions on the disk and recreate the partition table in accordance with partitions in the image.

Format and repartition disks

Now, you only have to confirm restoring the system from the image.

When the installation wizard completes its task, boot from your hard drive (don’t forget to change the boot device priority in the BIOS) and make sure that you have successfully restored Windows 10 from the image backup you created earlier.

If the system image backup is stored on a shared network folder, you will need to initialize and configure the network in WinPE first. Press the Shift+F10 keyboard shortcut to open the Command Prompt.

Run startnet.cmd or wpeinit.exe to initialize the network.

You can check the current network settings as follows:

ipconfig /all

To set a static IP address and specify DNS servers, use the following commands:

netsh int ipv4 set addr "Ethernet0" static 192.168.10.15 255.255.255.0 192.168.10.1 1
net start dnscache
netsh int ipv4 set dns "Ethernet0" static 192.168.10.11 primary

Now you can switch to the System Image Recovery windows and specify UNC path to your image backup folder.

0 comment
6
Facebook Twitter Google + Pinterest
previous post
Hardening Windows Using Microsoft Security Baselines
next post
How to Check Disk Performance (IOPS and Latency) in Linux?

Related Reading

How to Connect VPN Before Windows Logon

November 14, 2023

Using WPAD (Web Proxy Auto-Discovery Protocol) on Windows

November 7, 2023

Zabbix: How to Get Data from PowerShell Scripts

October 27, 2023

Tracking Printer Usage with Windows Event Viewer Logs

October 19, 2023

How to Use Ansible to Manage Windows Machines

September 25, 2023

Leave a Comment Cancel Reply

Categories

  • Active Directory
  • Group Policies
  • Exchange Server
  • Microsoft 365
  • Azure
  • Windows 11
  • Windows 10
  • Windows Server 2022
  • Windows Server 2019
  • Windows Server 2016
  • PowerShell
  • VMWare
  • Hyper-V
  • Linux
  • MS Office

Recent Posts

  • How to Connect VPN Before Windows Logon

    November 14, 2023
  • Removing Azure Arc Setup Feature on Windows Server 2022

    November 9, 2023
  • Using WPAD (Web Proxy Auto-Discovery Protocol) on Windows

    November 7, 2023
  • Send Emails with Microsoft Graph API and PowerShell

    November 6, 2023
  • Zabbix: How to Get Data from PowerShell Scripts

    October 27, 2023
  • Tracking Printer Usage with Windows Event Viewer Logs

    October 19, 2023
  • PowerShell: Configure Certificate-Based Authentication for Exchange Online (Azure)

    October 15, 2023
  • Reset Root Password in VMware ESXi

    October 12, 2023
  • How to Query and Change Teams User Presence Status with PowerShell

    October 8, 2023
  • How to Increase Size of Disk Partition in Ubuntu

    October 5, 2023

Follow us

  • Facebook
  • Twitter
  • Telegram
Popular Posts
  • How to Repair EFI/GPT Bootloader on Windows 10 or 11
  • How to Restore Deleted EFI System Partition in Windows
  • Network Computers are not Showing Up in Windows 10/11
  • Updating List of Trusted Root Certificates in Windows
  • How to Create a Wi-Fi Hotspot on your Windows PC
  • How to Sign an Unsigned Device Driver in Windows
  • How to Download APPX File from Microsoft Store for Offline Installation?
Footer Logo

@2014 - 2023 - Windows OS Hub. All about operating systems for sysadmins


Back To Top