1. Save the code below to, say, c:\system_restore.vbs:
Set SRP = GetObject( "winmgmts:\\.\root\default:Systemrestore" ) CSRP = SRP.CreateRestorePoint( "Before Changes", 0, 100 )
2. Double-click the script file you just created, any time you want to create a fresh System Restore Point.
It only takes a few seconds to do this. And no dialogues are shown to confirm that a Restore Point was created. If you want to double-check you can click "Start | All Programs | Accessories | System Tools | System Restore" and click "Restore My Computer To An Earlier Time."
You'll see the restore point you just created (called "Before Changes") right there. Now be sure to cancel out of System Restore.
source
No comments:
Post a Comment