Jump to content

Disable System Restore


Recommended Posts

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.

Link to comment
Share on other sites


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.

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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...