Advertisement

Create A Restore Point in Windows 10 with PowerShell

If you use the System Restore function in Windows 10 to revert your operating system to the last known stable point when it was working correctly, you might be interested in creating a new restore point with PowerShell. This can be useful with various automation scenarios. Also, you can create a special shortcut to execute the PowerShell command and make a new restore point with one click.

Advertisеment


This can be especially useful in Windows 10 because System Restore has been scaled back to create restore points far less frequently, even as low as once a week. Before you begin, make sure you have System Restore enabled.

To create a restore point in Windows 10 with PowerShell, you need to do the following:

  1. Open PowerShell as Administrator.
  2. Type or copy-paste the following command:
    Checkpoint-Computer -Description "RestorePoint1" -RestorePointType "MODIFY_SETTINGS"

Powershell Create Restore Point

Once you press the Enter key, a special cmdlet Checkpoint-Computer will create a new restore point. Let's see what the command line arguments that are used in it do:

Description - specifies a name for your restore point.
RestorePointType - Specifies the type of restore point.

The acceptable values for the RestorePointType parameter are:
APPLICATION_INSTALL
APPLICATION_UNINSTALL
DEVICE_DRIVER_INSTALL
MODIFY_SETTINGS
CANCELLED_OPERATION
The default value is APPLICATION_INSTALL.

Please keep in mind, that in Windows 10, Checkpoint-Computer cannot create more than one restore point every day. If you try to create a new restore point before the 24-hour period has elapsed, Windows PowerShell generates the following error:

"A new system restore point cannot be created because one has already been created within the past 24 hours. Please try again later."

If you need to create a shortcut for this operation, you can do the following.

Right click on the Desktop and select the command "New -> Shortcut" from the context menu.

In the shortcut target, type or copy-paste the following text:

powershell -Command "Start-Process powershell.exe -ArgumentList '-ExecutionPolicy Bypass -NoExit -Command \`"Checkpoint-Computer -Description \"RestorePoint1\" -RestorePointType \"MODIFY_SETTINGS\"\`"' -Verb RunAs"

Powershell Create Restore Point Shortcut

Specify the desired name for your shortcut and set the icon of your choice and you are done.

Additionally, see these articles:

That's it.

Support us

Winaero greatly relies on your support. You can help the site keep bringing you interesting and useful content and software by using these options:

If you like this article, please share it using the buttons below. It won't take a lot from you, but it will help us grow. Thanks for your support!

Advertisеment

Author: Sergey Tkachenko

Sergey Tkachenko is a software developer who started Winaero back in 2011. On this blog, Sergey is writing about everything connected to Microsoft, Windows and popular software. Follow him on Telegram, Twitter, and YouTube.

5 thoughts on “Create A Restore Point in Windows 10 with PowerShell”

  1. It’s possible to alter the time interval of 24 h:

    create DWORD SystemRestorePointCreationFrequency in
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SystemRestore

    and specify the minimum time interval in minutes.

  2. The shortcut link does not work for me, perhaps because of the backtick quotes. Here is a working link (without backtick quotes):

    PowerShell -NoProfile -ExecutionPolicy Bypass -Command “& {Start-Process PowerShell -ArgumentList ‘-NoProfile -ExecutionPolicy Bypass -NoExit -Command “Checkpoint-Computer -Description “RestorePoint1” -RestorePointType “MODIFY_SETTINGS”; ” ‘ ” -Verb RunAs}”

  3. Only 260 characters of the supplied target text you had input will display when you subsequently right-click the shortcut on the desktop and choose “Properties”. This is due to a Windows limitation. Make sure you don’t copy just this truncated(!) target text to use as paste input when creating any new matching shortcut.

Leave a Reply

Your email address will not be published.

css.php
Using Telegram? Subscribe to the blog channel!
Hello. Add your message here.