The secret to create a system restore point in Win XP

  
When we want to create a system restore point, the general method is: Start --> All Programs --> Attachments --> System Tools --> System Restore , then follow the steps under the guidance of the System Restore Wizard.

In fact, with the following secret, we only need to click or double click the mouse to create a system restore point.

The operation method is:

1. Start-->All Programs-->Accessories-->Notepad

2. Enter the following in Notepad Two lines (we can also copy/paste past):

Set IRP = getobject("winmgmts:\\\\.\ oot\\default:Systemrestore")

MYRP = IRP.createrestorepoint (" my system restore point 1 ", 0, 100)

3, using Notepad menu: - & gt; save as to save the location set for the desktop, the file type is set to" all files (*. )", the file name is: Instantly create a system restore point.vbs.

When we want to create an instant restore point, just run the "Immediately create system restore point .vbs" script on the desktop. When the script runs, the System Restore program will not display the interface, run in the background and create a restore point called "My System Restore Point 1".

This secret is actually using the WMI (Windows Management Instrumentation) alias to access the system restore class through VB
Script, and calls related methods to create system restore points.

Note: Remember, you must have Administrator privileges to use this script to create system restore points.
Copyright © Windows knowledge All Rights Reserved