Quantcast
PCWorld.com is upgrading some back-end systems. Some site features, such as user registration, may be temporarily unavailable.

Create Instant Restore Points

Scott Dunn

  • 0 Yes
  • 0 No

Set a restore point with a double-click by creating a shortcut containing this Visual Basic script. Click here to view full-size image.It's a royal pain to create a System Restore point in Windows (which you should do before you make changes to your PC's configuration): Choose Start, All Programs, Accessories, System Tools, System Restore, select Create a restore point, and follow the steps in the wizard to set a restore point. Fortunately, you can accomplish the same thing by double-clicking a simple Visual Basic script file that you create yourself.

To begin, click Start, All Programs, Accessories, Notepad to open Windows' text editor, and type the following lines:

rp = "Scripted Restore Point by " & WScript.ScriptName

GetObject("winmgmts:\\.\root\default:Systemrestore").CreateRestorePoint rp, 0, 100

Save the file to a convenient location. Name it anything, but be sure to give it the .vbs extension so that Notepad doesn't add its default .txt extension.

In Vista, right-click the desktop (or the Start menu folder from which you'll launch the script), and then choose New, Shortcut. Type wscript.exe, followed by a space and the path to the new script. Click Next, type a name such as Create Restore Point, and click Finish.

Launch your new script in XP by double-clicking it. In Vista, you have to right-click your new shortcut and select Run As Administrator; click Continue if prompted to do so by User Account Control.

  • Recommend this story?
  • 0 Yes
    0 No

"Create Instant Restore Points" Comments

Featured APC Accessories

  • APC Back-UPS ES Safeguards your equipment from damaging surges and spikes that travel along your utility & data lines.
  • APC SurgeArrest Performance Highest level of protection for your professional computers, electronics and connected devices, as well as provides surge protection.

Focus on Personal Productivitysponsored by Microsoft

  • Personal Finance 2.0 These free and fee-based Web services not only aggregate data from your online bank accounts, they give you tools for managing your money.
  • High-Tech Travel Tips Plenty of stories provide advice for elite mobile professionals. But what about you, the unproductive traveler?

People who read this also read:

Sponsored Links