PowerShell – Create Restore Point

email me

Commands 


Disable 24 Hour Default Setting

reg add “HKLM\Software\Microsoft\Windows NT\CurrentVersion\SystemRestore” /v SystemRestorePointCreationFrequency /t REG_DWORD /d 0 /f /reg:64


Create Restore Point

wmic.exe /Namespace:\\root\default Path SystemRestore Call CreateRestorePoint “EddieRestorePoint”, 100, 7

 

PowerShell


Create Restore Point

PowerShell -NoProfile -ExecutionPolicy Bypass -Command "& {Start-Process PowerShell -ArgumentList '-NoProfile -ExecutionPolicy Bypass -NoExit -Command "Checkpoint-Computer -Description "EddieRestorePoint" -RestorePointType "MODIFY_SETTINGS"; " ' " -Verb RunAs}"