Note

The default location for System Restore data is d:\System Volume Information, where d is the letter of each drive. Each restore point is stored in its own subfolder, under a name that includes a unique 32-character alphanumeric identifier called a GUID. This location cannot be changed. On an NTFS drive, these files are not accessible to users, even those in the Administrators group; the default NTFS permissions grant access only to the System account, and there is no easy way to view these files or to take ownership of them (nor should you even consider doing so, as these data structures are not intended for use by anything other than a program working through tightly controlled application programming interfaces). V_4

If you've set up a dual-boot system with Windows XP and Windows 7 (or Windows Vista) on the same system, you should be aware of one unfortunate side effect caused by this configuration . When you boot into Windows XP, the system wipes out all restore points created by the later Windows version . New restore points are created at the usual times when you return to Windows 7, but all previous restore points are gone. This unfortunate state of affairs is caused because Windows XP doesn't recognize the format of the newer restore points; assuming they're corrupt, it deletes them and creates new ones .

INSIDE OUT

Customize System Restore intervals

As we noted earlier, Windows 7 creates restore points in response to specific system events, including the installation of a program, a device driver, or an update delivered via Automatic Updates. Using a scheduled task, the system checks at every startup and at midnight every day to see when the last restore point was created . If more than 7 days have passed, the system automatically creates a new restore point. If you prefer to have regular checkpoints created more often, you can do so in either of two ways. The easiest way is to schedule a daily backup that includes a system image. The more complicated solution involves a script and a custom scheduled task.

Create a text file using the following code:

Set oRP = getobjectC'winmgmts:\V\root\default:Systemrestore")

newRestore = oRP.createrestorepoint ("Created by my scheduled task", 0, 100)

Running this script will create a restore point using the generic description "Created by my scheduled task." Save the file using a name such as Instant_RP and the file name extension .vbs. Then, using the techniques we describe in "Using the Windows 7 Task Scheduler" on page 779, create a scheduled task to run the script at the interval you prefer

Was this article helpful?

0 0
Digital Cancers

Digital Cancers

Get All The Support And Guidance You Need To Be A Success At Protecting Your PC. This Book Is One Of The Most Valuable Resources In The World When It Comes To The Damaging Facts About Computer Viruses.

Get My Free Ebook


Post a comment