Wednesday, April 30, 2008

Create scheduled restore point in Windows XP

Restore.bat file contain
at 3:40pm \\bslch\systemrestore$\a.vbs

a.vbs file contain
Set IRP = getobject("winmgmts:\\.\root\default:Systemrestore" )
MYRP = IRP.createrestorepoint ("IT Helpdesk Restore Point", 0, 100)



put the restore.bat file in logon script in computer policy.
a.vbs file is copied into "\\bslch\systemrestore$" this location.

No comments: