Jump to content

Replace Permission Entries window/checkbox


lbw87
 Share

Recommended Posts

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

Link to comment
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

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