rohitkumar32
Posts : 36 Points : 5388 Join date : 2009-12-31
| Subject: Create System Restore in one click Wed Jan 20, 2010 7:15 am | |
| we all know how to create a 'system restore' point, normally. However, here's a great method for creating a Restore Point with just the click of your mouse. Create a simple two line VBScript file that uses the WMI (Windows Management Instrumentation) monitor to access the SystemRestore class and create a Restore Point, like this : Launch Notepad. Type these two lines: Set IRP = getobject("winmgmts:\\.\root\default:Sys temrestore ") MYRP = IRP.createrestorepoint ("My RestorePoint", 0, 100)
Save the file as InstantRestorePoint.vbs.
Now, when you're ready to create an instant Restore Point, all you have to do is launch the script. When you do, System Restore will run in the background without displaying its interface, and it will create a restore point called "My RestorePoint". |
| |
|