Create Restore Point in Win 10 using Batch Script
This script will enable the computer restore point and also creates the initial restore point. This can be particularly useful for the freshly installed OS or before making any major changes/updates in a OS.
## This script will enable the computer restore point to the freshly installed PCs/Laptop ## Also the initial restore point (OOTB) will be created # Set Execution Policy Unrestricted # set-executionpolicy unrestricted # Enable Computer Restore Option for Drive C:\ enable-computerrestore -drive "C:\" # Create Restore Point Checkpoint-Computer -description "Initial Baramundi Deployment Restore Point" -restorepointtype "Modify_Settings" # Set Execution Policy Restricted set-executionpolicy restricted
RSS Source: https://www.blog.anupchhetri.com/?p=2132