Sign in to follow this  
Followers 0
lbw87

Replace Permission Entries window/checkbox

4 posts in this topic

I'm having a hell of a time trying to figure out a way to get to this window easily using a script.

Does anyone know of an easier way to either get to this window and/or change this option to checked??

To navigate there I Right Click on C: --> Properties --> Security Tab --> Advanced --> Permissions Tab

..and I'd like to get the "Replace permission entries on all child objects with entries shown here that apply to child objects" applied.

I've been trying to do find it through the registry and edit it that way but havent had any luck.

Sorry for the noob question

post-53579-12562435061689_thumb.png

Share this post


Link to post
Share on other sites



I don't believe they are stored in registry. My advice would be to try using WMI or a utility like xCACLS. I'm sure it's been covered on these forums before if you look around.

Share this post


Link to post
Share on other sites

xcacls ..i haven't had success with for this application

Share this post


Link to post
Share on other sites

Well I'm pretty sure it's quite possible with it. (taken from http://support.microsoft.com/kb/825751)

xcacls.vbs c:\test\subdir1 /i enable /q
This command turns on inheritance on the folder C:\Test\Subdir1. It suppresses any screen output.

In any event, if you don't like that you could try WMI. Here is a good starting point: http://technet.microsoft.com/en-us/magazine/2006.05.scriptingguy.aspx

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