lbw87 Posted October 22, 2009 Posted October 22, 2009 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
evilertoaster Posted October 22, 2009 Posted October 22, 2009 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.
lbw87 Posted October 23, 2009 Author Posted October 23, 2009 xcacls ..i haven't had success with for this application
evilertoaster Posted October 23, 2009 Posted October 23, 2009 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
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now