You can create System Restore Points quickly by scripting it using WMI. Here is a script that helps you create a System Restore point in a single click in Windows 7, Windows Vista and Windows XP.

Restore Point creation using Script

Download createsrp.vbs and save to a folder of your choice, say D:\Scripts.

Double-click the file createsrp.vbs to run it. When you see the following prompt, type the description and press ENTER. The description you provided here will be listed in the System Restore window.

The text box is pre-populated with the text Manual Restore Point. You may use the default description, or alter it accordingly before pressing ENTER.

Tip #1: If you want to use the default description and don’t want the input box to appear, edit the file createsrp.vbs using Notepad, and delete line #23 (line that starts with the following code) and save the file.

sDesc = InputBox ("Enter a description.".......

The script does not show a confirmation message box if the operation is successful. If the Create operation failed, it does show you the error code it encountered.

Tip #2: You may create a shortcut to the script and place it in your Quick Launch folder, and customize the shortcut icon accordingly. In Windows XP, you can use the icon in C:\Windows\System32\Restore\rstrui.exe and C:\Windows\System32\rstrui.exe in Windows Vista.

More Information

This script can be run (Admin privileges required) in Windows XP, Windows Vista and Windows 7. In Windows 7 and Windows Vista, the script restarts automatically to run in elevated mode, which is required to create a System Restore point. It uses the ShellExecute function, passing the runas verb to run as administrator (elevated). You’ll need to click Continue when you see the following User Account Control (UAC) dialog.

For more details, read article VBScripts and UAC elevation and Scripting Elevation on Vista from Aaron Margosis’ WebLog.


Related Posts


Email SubscriptionPrefer an E-mail subscription?

Enter your email address:

Delivered by FeedBurner

4 Comments

  1. said this on Thursday, January 12th 2012 8:38 am

    hello…i have can’t get the script to work as i have a lot of my services disabled. I cant work out which service i need to enable in order to get the script to work…System restore is running and i have tried WMI and volume shadow copier and neither have any effect. please help

  2. Wood
    said this on Sunday, November 28th 2010 3:25 am

    Excellent solution. I added it to my startup folder as well as my desktop since I do not re-start m machine daily.

    Thanks!

  3. Ian Porter
    said this on Friday, October 22nd 2010 7:51 am

    Great script, thanks very much. Any way that it could be amended to add a confirmation that the SRP creation was successful, or at least, took place?

  4. acastro
    said this on Sunday, September 19th 2010 10:53 am

    Nice solution. I would not know where to get the appropriate commands. I also enjoyed your instant SRP vbs (http://www.winhelponline.com/articles/139/1), but it needs a message box to label the SRP.

Leave a Reply