By creating a restore point, you can restore the system files, registry, etc. to the state when the restore point was created.
Normally, to create a system restore point in the GUI, open System Properties (sysdm.cpl) and open the System Protection tab.
This time, use PowerShell to manage system restore points. Start Windows PowerShell with administrator privileges.
Before creating a restore point, enable the restore points feature for that drive.
Enable-ComputerRestore -Drive C:CheckPoint-Computer -Description "first"> Get-ComputerRestorePoint
CreationTime Description SequenceNumber EventType RestorePointType
------------ ----------- -------------- --------- ----------------
first 4 BEGIN_SYSTEM_CHA… APPLICATION_INSTALLRun Restore-Computer to restore your system from a restore point.
Specify the sequence number obtained by Get-ComputerRestorePoint in the -RestorePoint property.
Restore-Computer -RestorePoint 4To restore from the previous restore point, use the -LastStatus switch instead of specifying the -RestorePoint parameter.: Restore-Computer -LastStatus