How to disable System Restore in Vista

M

Manjunath.M

Hi,

I am Working on Windows Vista.
I am trying to disable System restore programatically. Through web I
came to know that

System Restore in Vista ignores registry keys at
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsNT\CurrentVersion
\SystemRestore
Changes to these keys in Vista will have no effect on how System
Restore functions.
These keys are there for backwards compatibility with some XP scripts.

Please see the below link
http://bertk.mvps.org/html/q_a.html#13

Please can any help me how to disable and enable System Restrore
PROGRAMATICALLY USING C & WIN32 using registry keys.

Thanks,
Manjunath.M
 
R

Richard Urban

Wow! That would be great to do prior to installing a virus or other malware.

Why must "you" do it. Just curious is all.

--

Regards,

Richard Urban
Microsoft MVP Windows Shell/User
(For email, remove the obvious from my address)
 
T

Tom Porterfield

Manjunath.M said:
Hi,

I am Working on Windows Vista.
I am trying to disable System restore programatically. Through web I
came to know that

System Restore in Vista ignores registry keys at
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsNT\CurrentVersion
\SystemRestore
Changes to these keys in Vista will have no effect on how System
Restore functions.
These keys are there for backwards compatibility with some XP scripts.

Please see the below link
http://bertk.mvps.org/html/q_a.html#13

Please can any help me how to disable and enable System Restrore
PROGRAMATICALLY USING C & WIN32 using registry keys.

See
http://www.microsoft.com/technet/scriptcenter/scripts/desktop/restore/default.mspx
for some WMI scripts that allow interaction with System Restore. For
more info on the methods in the SystemRestore WMI class see
http://msdn2.microsoft.com/en-us/library/aa378951.aspx.

For programmatically interacting with System Restore via its API see
http://msdn2.microsoft.com/en-us/library/aa378987.aspx.
 
B

Bob Eyster

Hi Manjunath

Go to Control Panel > System > in the left window select Advanced System
Settings > System Protection tab.

Remove the check mark next to the drive you want to turn off System Restore.

Hope this helps
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top