Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 671
  • Last Modified:

Inherited permissions in Xcacls

Hi Guys,

I need to add the local "system" account on a folder and all of it's subfolders, including the one marked as "do not inherit from parent". I was told this can be done in xcacls. However, I'm yet to find the correct switch.

Can anyone help?
0
agbnielsen
Asked:
agbnielsen
  • 2
1 Solution
 
MarkieSCommented:
Full switches list is here

http://cat-21.110mb.com/DOS_AZ/COMMANDS/X/XCACLS.HTM

Try the following :

XCACLS *.* /T /E /C /G LocalService:F
0
 
agbnielsenAuthor Commented:
Found a better link <http://support.microsoft.com/kb/825751/en-us>

and the switch is as follows.

xcacls c:\testfolder\ /e /s /t /g "nt authority\system":f
0
 
agbnielsenAuthor Commented:
Obtained info from Microsoft directly with the correct switch
0

Featured Post

Has Powershell sent you back into the Stone Age?

If managing Active Directory using Windows Powershell® is making you feel like you stepped back in time, you are not alone.  For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now