Re: Change Restore Settings in XP Pro ?

new topic     » goto parent     » topic index » view thread      » older message » newer message

jxliv7 wrote:
> 
> Al Getz wrote:
> > 
> > 
> > Anyone know how to programmatically change the 'Restore' settings 
> > on XP Pro?  This would allow you to change which drive gets
> > included in the 'restore' snap shot...for example, say you have
> > C,D, and E drives being monitored and you only want the E drive
> > to be monitored, you would be able to disable monitoring of
> > C and D via a program.
> > 
> > The program or any ideas must be written in Euphoria.
> > 
> 
> as far as i can tell, there are 2 system restore files in windows,
> c:\windows\system32\restore\rstrui.exe
> & srdiag.exe.
> 
> diag tells you what's being monitored, hdd1=on, hdd2=off, hdd3=on, etc. that
> translates to 1,0,1 in the registry. ..\rstrui.exe, 101. and the disk spase
> usage in the registry is ...\rstrui.exe, -2048 (or whatever).
> 
> running rstrui.exe from a dos prompt with any command line command only brings
> up the restore window.
> 
> running srdiag.exe from a dos prompt and a /? brings up the 2 commands usable
> and writes some log files in the c:\windows\system32\restore\ directory.
> 
> you could probably change things using a macro that manipulates the gui
> window.
> 
> 
> having said all that, there is a system restore API.
> 
> check out article 315530 at microsoft.com.
> 
> 
> there also appears to be some data in the article
> <a
> href="http://technet.microsoft.com/en-us/library/d6ee5a4b-8f43-f34f-932c-13da574afad5.aspx">http://technet.microsoft.com/en-us/library/d6ee5a4b-8f43-f34f-932c-13da574afad5.aspx</a>
> 
> 
> there's more info at
> 
> <a
> href="http://msdn.microsoft.com/msdnmag/issues/01/12/XPKernel/default.aspx">http://msdn.microsoft.com/msdnmag/issues/01/12/XPKernel/default.aspx</a>
> 
> 
> finally, i think there's some infor in this forum
> 
> <a
> href="https://forums.microsoft.com/msdn/showforum.aspx?forumid=6&siteid=1">https://forums.microsoft.com/msdn/showforum.aspx?forumid=6&siteid=1</a>
> 
> 
> hope that helps.
> 
> 
> --
> jon


Hi jon and Don,


I guess what i am after is a short read on the subject and hopefully
a few lines that say how to turn on or off a drive from being included
in the restore point.

A short read is the key here, and BTW jon i couldnt find anything on
the subject in your links...but thanks anyway.



Take care,
Al

E boa sorte com sua programacao Euphoria!


My bumper sticker: "I brake for LED's"

 From "Black Knight":
"I can live with losing the good fight,
 but i can not live without fighting it".
"Well on second thought, maybe not."

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu