View Single Post
  #5  
Old May 23rd 12, 10:06 PM posted to microsoft.public.windowsxp.basics
Tim Meddick[_3_]
external usenet poster
 
Posts: 1,020
Default Dumb question - How to create a system restore point in WXP Pro?

Yes, you can, indeed, create a System Restore point, manually, from within
the System Restore user interface found on the start menu, as described by
"VanguardLH".

But you can also write a VBS script that you can execute to automatically
create a restore point. You can also place a copy of the script, or
shortcut to it, in the StartUp folder of your Start Menu, to create one at
every system start or logon.

Just copy and paste the script below into Notepad or any text-editor, and
save it, giving it a [*.VBS] extension :

------------------- copy between lines -------------------

PTitle = "System Restore"
Dim Wsh
Set Wsh = WScript.CreateObject("WScript.Shell")

Set CSRP = getobject("winmgmts:\\.\root\default:Systemrestore ")

If (CSRP.createrestorepoint("Manual Restore Point", 0, 100)) = 0 Then

Wsh.Popup "Manual Restore Point created." , 5, PTitle
Else
Wsh.Popup "Restore Point creation failed." , 5, PTitle

End If

------------------- copy between lines -------------------

*NB
To be an executable VBS script-file that you can double-click on,
it's filename MUST end with [vbs] - (for example; "myscript.vbs" )

==

Cheers, Tim Meddick, Peckham, London. :-)


"Dave" wrote in message
netamerica...
Hate to be so stupid, but I haven't been able to figure it out. Any help
would be appreiated...

Thanks,

Dave



Ads