Windows OS Hub
  • Windows
    • Windows 11
    • Windows Server 2022
    • Windows 10
    • Windows Server 2019
    • Windows Server 2016
  • Microsoft
    • Active Directory (AD DS)
    • Group Policies (GPOs)
    • Exchange Server
    • Azure and Microsoft 365
    • Microsoft Office
  • Virtualization
    • VMware
    • Hyper-V
  • PowerShell
  • Linux
  • Home
  • About

Windows OS Hub

  • Windows
    • Windows 11
    • Windows Server 2022
    • Windows 10
    • Windows Server 2019
    • Windows Server 2016
  • Microsoft
    • Active Directory (AD DS)
    • Group Policies (GPOs)
    • Exchange Server
    • Azure and Microsoft 365
    • Microsoft Office
  • Virtualization
    • VMware
    • Hyper-V
  • PowerShell
  • Linux

 Windows OS Hub / Windows 11 / How to Create, Delete, and Manage System Restore Points on Windows 10/11

March 14, 2024 PowerShellWindows 10Windows 11

How to Create, Delete, and Manage System Restore Points on Windows 10/11

System Restore Points is an easy tool to restore to the previous Windows OS state if you experience unexpected system file or registry problems after installing bad drivers, updates, or apps. You can use a restore point to revert the state of the registry, system files, drivers, and installed software to the date the restore point was created. Although system restore points are based on volume shadow copies, users’ profile files are not overwritten when restoring from a checkpoint. We’ll look at how system administrators can use restore points in Windows 10 and 11 in this guide.

Contents:
  • How to Enable System Protection on Windows
  • Create, List, and Delete a System Restore Point on Windows
  • Recovering Windows or Individual Files from the System Restore Point

How to Enable System Protection on Windows

The restore points feature in Windows 10 and 11 is based on the System Protection service, which is disabled by default. You can check if the system protection with restore points is enabled for a specific drive in Windows:

  1. Run the command systempropertiesprotection
  2. The System Protection tab of the classic System Properties applet will open;
  3. In this case, protection is enabled for the system drive (C:) and disabled for all others;
  4. Select the drive and click the Configure button;
  5. Here you can enable or disable drive protection, change the maximum disk size available for storing restore points, and delete all restore points.
    Turn on system protection on Windows 10 and 11

You can enable system protection using GPO. Configure the following Group Policy options:

  • Go to Computer Configuration -> Policies -> Administrative Templates -> System -> System Restore and change Turn off System Restore = Disabled
    GPO: Turn off System Restore
  • Navigate to Computer Configuration -> Policies -> Administrative Templates -> Windows Components -> Windows Defender -> Scan and set Create system restore point = Enabled

You can use PowerShell to enable system protection for a specific drive:

Enable-ComputerRestore -drive "c:\"

Create, List, and Delete a System Restore Point on Windows

By default, Windows automatically creates restore points when installing or uninstalling updates, drivers, or applications.

To create a restore point immediately, click the Create button, and enter a description for the point.
Create Restore Point on Windows

Also, you can manually create a restore point from a PowerShell prompt:

Checkpoint-Computer -description "Checkpoint before update video driver" -RestorePointType "APPLICATION_INSTALL"

Checkpoint-Computer - powershell

By default, a restore point of type APPLICATION_INSTALL is created. You can use the following values for the RestorePointType parameter:

  • MODIFY_SETTINGS
  • DEVICE_DRIVER_INSTALL
  • APPLICATION_INSTALL
  • APPLICATION_UNINSTALL
  • CANCELLED_OPERATION

List available restore points:

Get-ComputerRestorePoint|ft -AutoSize

List restore points: Get-ComputerRestorePoint

By default, System Protection allows you to create only one restore point every 24 hours. If you try to create a new one, you will get an error:

WARNING: A new system restore point cannot be created because one has already been created within the past 1440 minutes.

To create restore points more frequently, you must modify the SystemRestorePointCreationFrequency DWORD registry parameter under the HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SystemRestore reg key. The default parameter value is 1440 (24 hours). Change the value to 0 to disable the limit on how often restore points are created.

Restore points are not a full-featured backup tool for Windows and are not a replacement for it. You can backup your Windows image to external media using the built-in System Image Backup tool:

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

Windows restore points are based on shadow copies (checkpoints) of the volumes made by the VSS service. When you create a restore point, VSS tells all applications to go into a consistent state and temporarily suspend their activity. It then creates a snapshot of the consistency state of the entire volume.

Restore point image files are stored in the hidden System Volume Information folder located at the root of each drive. The screenshot shows shadow copy files for each of the restore points created. They can reach tens and hundreds of gigabytes in size, as you can see.

Restore point shadow copy files in System Volume Information folder

List the drives (volumes) for which shadow copies have been created:

vssadmin list shadowstorage

In this example, there are checkpoints on drive C: that take up 6% of the space (summary can occupy up to 10% of the drive capacity).

list size of shadow copies: vssadmin list shadowstorage

You can change the maximum size available for shadow copies using the commands:

vssadmin resize shadowstorage /on=c: /for=c: /maxsize=50GB

Or:

vssadmin resize shadowstorage /on=c: /for=c: /maxsize=15%

Lists available shadow copies for the specified volume:

vssadmin list shadows /for=c:

vssadmin list shadows

You can delete a specific checkpoint by its Shadow Copy ID:

vssadmin delete shadows /Shadow={xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx}

Use the following command to delete the oldest shadow copy:

vssadmin delete shadows /for=C: /oldest

Delete all restore points:

vssadmin delete shadows /all

To delete old restore points, you can also use the built-in Disk Cleanup tool (cleanmgr.exe). Go to the More Options tab and click Clean up in the System Restore and Shadow Copies section.

Clean up system restore and shadow copies

Recovering Windows or Individual Files from the System Restore Point

To restore the operating system state from a previously created restore point, you can use the rstrui.exe tool.

  1. Run the tool;
  2. Select the previous restore point to which you want to roll back Windows
  3. Compare the list of applications, services, and drivers in the online Windows image with the list at the restore point (click Scan for affected programs);
  4. Click Next -> Finish;
  5. Windows will rollback the system state to the previous shadow copy (reboot required).
    Restore Windows state from a system restore point

You can use PowerShell to restore Windows from a restore point. Get restore point IDs:

Get-ComputerRestorePoint

Restoring Windows from a specified restore point:

Restore-Computer -RestorePoint 21

Restore-Computer to earlier date using PowerShell

Check to see if the restore was successful:

Get-ComputerRestorePoint -LastStatus

As mentioned above, rolling back to a previous restore point will not overwrite the user’s files. But they are still available in a shadow copy (because a checkpoint of the entire volume is taken). This means you can manually restore any file from a volume shadow copy.

To view files in a shadow copy, you can use the free ShadowCopyView tool (https://www.nirsoft.net/utils/shadow_copy_view.html).  Browse the required shadow copy (sort by creation date), find the previous version of the file (folder), and restore it to a specific location on the disc (Copy Selected files to …).

In practice, this method of restoring personal files from restore points won’t work on Windows 10 22H2 because the files will be corrupted (partially filled with zeros) when restored.

To work around this, you can configure File History or use a Task Scheduler job to make shadow copies using the command:

wmic shadowcopy call create Volume='C:\'

ShadowCopyView browse the snapshots created by the Volume Shadow Copy service

You will be able to restore the state of Windows in offline mode. Boot your computer into the Windows RE recovery environment and select System Restore from the menu. You will be prompted to select one of the previously created restore points.

System restore in WinRE

After restoring a domain member computer from a previously created restore point, you will usually also need to repair the trust relationship with the domain:

Test-ComputerSecureChannel –Repair

On Windows Server, you should use the built-in feature of the Windows Server Backup (WSB) component as an analog to the restore point. This is because there is no System Protection service in Windows Server OSs.
0 comment
4
Facebook Twitter Google + Pinterest
previous post
Upgrading to Windows 11 on Unsupported Hardware
next post
Fix: Remote Desktop (RDP) Session Freezes (Disconnects) on Windows

Related Reading

WMIC Command Not Found on Windows

May 20, 2025

Configuring Windows Protected Print Mode (WPP)

May 19, 2025

Unable to Map Drive: An extended error has...

May 13, 2025

Map a Network Drive over SSH (SSHFS) in...

May 13, 2025

How to Cancel Windows Update Pending Restart Loop

May 6, 2025

Leave a Comment Cancel Reply

join us telegram channel https://t.me/woshub
Join WindowsHub Telegram channel to get the latest updates!

Recent Posts

  • Map a Network Drive over SSH (SSHFS) in Windows

    May 13, 2025
  • Configure NTP Time Source for Active Directory Domain

    May 6, 2025
  • Cannot Install Network Adapter Drivers on Windows Server

    April 29, 2025
  • Change BIOS from Legacy to UEFI without Reinstalling Windows

    April 21, 2025
  • How to Prefer IPv4 over IPv6 in Windows Networks

    April 9, 2025
  • Load Drivers from WinPE or Recovery CMD

    March 26, 2025
  • How to Block Common (Weak) Passwords in Active Directory

    March 25, 2025
  • Fix: The referenced assembly could not be found error (0x80073701) on Windows

    March 17, 2025
  • Exclude a Specific User or Computer from Group Policy

    March 12, 2025
  • AD Domain Join: Computer Account Re-use Blocked

    March 11, 2025

Follow us

Related Posts

  • How to Repair EFI/GPT Bootloader on Windows 10 or 11
  • How to Restore Deleted EFI System Partition in Windows
  • How to Allow Multiple RDP Sessions on Windows 10 and 11
  • How to Run Program without Admin Privileges and Bypass UAC Prompt
  • Wi-Fi (Internet) Disconnects After Sleep or Hibernation on Windows 10/11
  • How to Install Remote Server Administration Tools (RSAT) on Windows
  • How to Repair Windows Boot Manager, BCD and Master Boot Record (MBR)
  • Facebook
  • Twitter
  • Telegram
Popular Posts
  • Fix: Remote Desktop Licensing Mode is not Configured
  • How to Delete Old User Profiles in Windows
  • How to Install Remote Server Administration Tools (RSAT) on Windows
  • Configuring User Profile Disks (UPD) on Windows Server RDS
  • How to Create UEFI Bootable USB Drive to Install Windows
  • Wi-Fi (Internet) Disconnects After Sleep or Hibernation on Windows 10/11
  • How to Allow Non-Admin User to Start/Stop Service in Windows
Footer Logo

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


Back To Top