Sign in to follow this  
Followers 0
virtualillusion

How to restore inheritance on a registry subkey ?

1 post in this topic

Hi

Could someone help me out with SetACL.exe syntax?

How to restore inheritance (disabled by changing key permissions with a batch file) from the parent key (Test1) : Everyone:Read, System:Full to the child key test1a ?

I tried

SetACL.exe -on "hklm\SOFTWARE\TEST\Test1\test1a" -ot reg -actn ace -ace "i:io,so;m:set"

but it returns

ERROR: AddACE: No trustee specified.

But i just want inheritance from the existing parent key, to be forwarded to the child test1a key, so if i've already set parameter i:io (inherit only) why SetACL requires parameter "trustee" too ?

Btw. even if i set trustee (n:System, or Everyone) it doesn't get back inheritance.

Does somebody know what would be the correct way to do this?

Thanks a lot in advance

Share this post


Link to post
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
Sign in to follow this  
Followers 0