Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to use PowerShell to create system restore points in Windows 10

2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

This article shows you how to use PowerShell to create system restore points in Windows 10. The content is concise and easy to understand, which will definitely brighten your eyes. I hope you can get something through the detailed introduction of this article.

The specific methods are as follows:

1. Use administrator mode to open PowerShell

2. Execute the following command:

Checkpoint-Computer

-Description

"XITONGZHIJIA"

-RestorePointType "APPLICATION_INSTALL"

If you enter only the Checkpoint-Computer in the main part of the command, you will be asked to enter the name of the restore point separately. The restore point type uses the default setting.

Where "XITONGZHIJIA" is an example of a restore point name and can be customized; "APPLICATION_INSTALL" is the default restore point type. If you have other requirements, you can refer to the following:

APPLICATION_INSTALL (install applications)

APPLICATION_UNINSTALL (uninstall application)

DEVICE_DRIVER_INSTALL (install device driver)

MODIFY_SETTINGS (modify settings)

CANCELLED_OPERATION (canceled operation)

If you do not add the-RestorePointType section to the command, the default setting type "APPLICATION_INSTALL" will be used; of course, you can not specify a name in advance, and you will be asked for the restore point name later.

It should be noted that the Win10 system defaults to creating only one restore point per day. If you try to create it several times a day, the system will prompt you not to create it again within 1440 minutes (24 hours). However, this rule can be changed by modifying the registry as follows:

1. Enter regedit in the Cortana search bar and press enter to enter the registry editor

2. Navigate to HKEY_LOCAL_MACHINE\ SOFTWARE\ Microsoft\ Windows NT\ CurrentVersion\ SystemRestore

3. Create a new DWORD (32-bit) value, named SystemRestorePointCreationFrequency

4. The meaning of numerical data is the interval between two creation of restore points (in minutes). If the numerical data is not modified, it means that the interval is 0 minutes, and you can create restore points at will. In order to facilitate modification, you can use "decimal" to set the value.

If you want to set the interval, you can enter it in decimal system (in minutes).

5. After setting the time, click "OK", and the modification will take effect immediately.

If you use the registry to unlock the creation interval of Win10 restore points, users should be careful to avoid frequent creation behavior, so as not to overwrite the old restore points. After all, the capacity of restore points is limited, and it does not make much practical sense for ordinary users to create too many almost the same restore points in a short period of time.

Also, if you find that system restore is disabled, check to see if the Microsoft Software Shadow Copy Provider service is turned on, as shown in the following figure

The service can be started manually

If there is no effect, users above Professional Edition can check whether the two items in the computer configuration → management template → system → system restore in Group Policy are enabled. If so, you need to disable (or select "not configured") before you can enable system restore, as shown below.

Selecting "not configured" or "disabled" does not restrict system restore on

After the above restrictions are fixed, system restore can be enabled in system Properties → system Protection, as shown in the figure below.

The above is how to use PowerShell to create system restore points in Windows 10. Have you learned any knowledge or skills? If you want to learn more skills or enrich your knowledge reserve, you are welcome to follow the industry information channel.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report