Jump to content

System Restore Point Vista


Recommended Posts

Hi all,

Please take a look at this link: http://www.markbarto.nl/wordpress/archives...ijf-activiteit/

For those of you who can't read/speak dutch, in this article it discripes what causes the much hard disk activity on a Windows Vista system.

The solution is to disable system restore.

So I disabled system restore but I didn't felt safe (I have a little brother) so I came up with the idea to run the following script every time Vista wil ask you for Administrator priviliges.

#RequireAdmin
$obj = ObjGet("winmgmts:{impersonationLevel=impersonate}!root/default:SystemRestore")
$obj.Enable("")
$obj.CreateRestorePoint("Restore Point", 12, 100)
$obj.Disable("")

But the question is: How do I (the autoit script) 'see' if Vista is asking for Administrator priviliges and if the user is allowing those priviliges to Vista.

For those who don't know me: I KNOW I HAVE TO PUT IT IN A LOOP! But this is just a beginning.

Edited by Pakku
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
 Share

  • Recently Browsing   0 members

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