ru en

System PowerShell Restore Point in Windows 10

5396 просмотров
System PowerShell Restore Point in Windows 10

Many of you do not suspect that your OS has a so-called System PowerShell recovery point in Windows 10, which can allow you to create a backup copy of the operating system in the face of a full recovery point. This recovery point plan is ideal for those users who very often conduct experiments with the software and use various tweaks of the operating system registry.

The advantage of creating a recovery point using PowerShell is that the point itself is created during the execution of scripts. Also, you can use the PowerShell shortcut you created with a specific task, which will allow you to just double click on the shortcut, roll back the system. First, you need to make sure that the function that is responsible for restoring the system using checkpoints is activated.



Now, open the PowerShell console, but just open it as an administrator, as soon as the console is open, register and run the following command: Checkpoint-Computer - Descri rtion "My recovery point" - RestorePointType "APPLICATION_INSTALL"





Now, it is worthwhile to figure out what's in the above written team, for which it answers:

• Descrition - allows you to specify a text description of a particular recovery point.

• RestorePointType - the type of the recovery point, which in turn can be replaced, if necessary, by something else:

• MODIFY_SETTINGS - make changes to the settings.
• DEVICE_DRIVER_INSTALL - install / reinstall drivers.
• APPLICATION_INSTALL - allows you to install the application (this option is used by the default OS).
• APPLICATION_UNINSTALL - allows you to delete the application.
• CANCELLED_OPERATION - allows you to cancel actions.

In fact, it does not matter which key from the above described, you'll use, more importantly, that the recovery point data method, you can create no more than once a day - it's worth remembering and not forgetting!



If for some reason, you need to restore the PowerShell system restore point in Windows 10 more than once a day, then you can remove this restriction...

The restriction is removed as follows: use the "regedit" command to open the registry editor -> go to the following path: HKLM \ Software \ Microsoft \ Windows NT \ CurrentVersion \ SystemRestore -> in the final subkey, create a new 32-bit parameter of type " DWORD »-> the created parameter is given the name «SystemRestorePointCreationFrequency» -> we set the number of minutes as its value. Note that by default, the OS has a value of 1440, which is equal to the decimal system of the calculus and corresponds to 24 hours. Once you replace the value of 1440 with your own, you will be able to create a recovery point in Win 10, either more often or less often than once a day.

ru en