🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #2150

Expert Help - System Restore

#2150
From: Mike Collins
Date: Fri, 13 Apr 2007 15:36
27 lines
2188 bytes
Hi all, thought i'd ask the experts since the Microsoft guys didn't seem to 
have an answer.

We've got a problem with system restore on clients computers.  We have a 
parental control product and currently the kids can remove it by using 
system restore.

I've found that if i use the windows interface GUI 
(MyComputer->Properties->System Restore) and turn of System Restore, 
previouse restoration points are deleted.  So basically i want to turn off 
system restore before i install our product and then turn it back on again, 
thereby creating a fresh restoration point after installation.  The user is 
prompted to this effect but i can't seem to determine how to diable System 
Restore without having to reboot the computer.  Since the insatller must 
also install some drivers, this means a second reboot which looks sloppy.

I have read many posts on google about using the registry to disable SR and 
also stopping the srservice service but nether seems to turn off SR without 
a reboot.  I've also looked at the only two api's - SRSetRestorePoint() & 
SRRemoveRestorePoint();  My thought was that i could use the remove restore 
point to delete existing restore points.  However, there does not seem to be 
ANY way to enumerate restore points without using WMI and the MS scripting 
ActiveX.

Any help or pointers would be excellent

Mike Collins 
Technical Details
Message-ID: <461f8fac$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,f1f16db2da761922,start
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Mike Collins" <its@TheBottomOfThePost>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Expert Help - System Restore
Date: Fri, 13 Apr 2007 15:36:33 -0000
Lines: 29
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.3790.3959
X-RFC2646: Format=Flowed; Original
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.3959
NNTP-Posting-Host: 84.13.108.126
Message-ID: <461f8fac$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1176473516 84.13.108.126 (13 Apr 2007 07:11:56 -0800)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail