Jump to content

Recommended Posts

Posted

How can you silently create a restore point ? Sometimes it becomes necessary when servicing a system (or before deploying something major through group policy). The below code is the one to do it:

'Unattended System Restore Point
'sysrestorepoint.vbs

Set sr = getobject("winmgmts:\\.\root\default:Systemrestore")

msg = "New Restore Point successfully created." & vbCR
msg = msg & "It is listed as: " & vbCR
msg = msg & "Automatic Restore Point " & Date & " " & Time

Hoping this helps somebody out there.


Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...