Solved

Inherited permissions in Xcacls

Posted on 2011-03-23
3
663 Views
Last Modified: 2012-05-11
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
Comment
Question by:agbnielsen
  • 2
3 Comments
 
LVL 8

Expert Comment

by:MarkieS
ID: 35205370
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
 

Accepted Solution

by:
agbnielsen earned 0 total points
ID: 35321309
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
 

Author Closing Comment

by:agbnielsen
ID: 35357084
Obtained info from Microsoft directly with the correct switch
0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

New Windows 7 Installations take days for Windows-Updates to show up and install. This can easily be fixed. I have finally decided to write an article because this seems to get asked several times a day lately. This Article and the Links apply to…
This article explains how to install and use the NTBackup utility that comes with Windows Server.
This tutorial will give a an overview on how to deploy remote agents in Backup Exec 2012 to new servers. Click on the Backup Exec button in the upper left corner. From here, are global settings for the application such as connecting to a remote Back…
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles to another domain controller. Log onto the new domain controller with a user account t…

679 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question