Jump to content

How to disable system restore with a bat file


Recommended Posts

Posted (edited)

hello guys, i'm trying to disable the system restore with a bat file..

Does anybody know how to do it..?

thx in advance..

Edited by neuropass

Posted (edited)

*I did fail to notice this was under Vista, but in XP I am fairly certain that setting 'disablesr' to 1 = disable system restore. And that command works fine for toggling the setting between 1 and 0 on my box.

were you running from an elevated command prompt? can you supply the error(s) the command returned?

Edited by iamtheky
Posted

sorry i didn't explain my self.. i ran it from a bat file with administrative privileges. and everything went fine, no error whatsoever. but the system restore was still on.. i managed to find a vbs script though. and it doeas the job... thanks a lot for your help i really appreciate it.

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