Solved

Inherited permissions in Xcacls

Posted on 2011-03-23
3
664 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

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

To effectively work with Diskpart on a Server Core, it is necessary to write some small batch script's, because you can't execute diskpart in a remote powershell session. To get startet, place the Diskpart batch script's into a share on your loca…
You might have come across a situation when you have Exchange 2013 server in two different sites (Production and DR). After adding the Database copy in ECP console it displays Database copy status unknown for the DR exchange server. Issue is strange…
This tutorial will walk an individual through the steps necessary to install and configure the Windows Server Backup Utility. Directly connect an external storage device such as a USB drive, or CD\DVD burner: If the device is a USB drive, ensure i…
This tutorial will walk an individual through setting the global and backup job media overwrite and protection periods in Backup Exec 2012. Log onto the Backup Exec Central Administration Server. Examine the services. If all or most of them are stop…

737 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