Jump to content

Recommended Posts

Posted

Just wondering if anyone out there has managed to find an automated way to disable system restore on one disk, in a two disk system (ie, disable on d:, but not on c:).

I wish to do this to my secondary disk, cheers.


Posted

You can't, disable is only for all drives. The only thing you can do is use the slider.

Probably a Reg setting (use a registry scanner to find out wich one)

Posted

Well I guess my operating system must be trying to trick me.

sys_rest.jpg

Yes, I have scanned the registry for any changes, but the results were not usefull at all.

I've also tried google and kellys-corner, but that was like walking through semi-dry cement.

Posted

Owkay... didn't look good enough... you can't disable it on the systemdrive only..

but nevermind... i've got some spare time today and look in to it...

Posted

To disable

disable.vbs

Dim SRP, eSRP
Set SRP = GetObject("winmgmts:\\.\root\default:SystemRestore")
eSRP = SRP.disable("D:\")

To enable

eSRP = SRP.Enable("D:\")

Need \ and in quotes. Enjoy

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...