re-open
Public

How to Create Windows System Restore point with Script or Command line.

1 answer

Staff June 7, 2016

Here is command to create system restore point run the command as an administrator.  

Wmic.exe /Namespace:\\root\default Path SystemRestore Call CreateRestorePoint “%DATE%”, 100, 7

Here is Powershell script.  

$strDesc = “Any description here”
$systemrestore = [wmiclass]‘\\.\root\default:SystemRestore’
$systemrestore.CreateRestorePoint($strDesc, 12, 100)

#1

Please login or Register to Submit Answer

Social