Using CACLS to alter file & directory permissions

Posted on 2004-11-16
Last Modified: 2006-11-17

I'm wondering the exact command syntax to have CACLS on Windows 2000 server add a user by the login name of KingJ to the ACLs of a directory and all subdirectories and files for full control permission.

Question by:bbanis2k
    LVL 95

    Accepted Solution

    cacls directory /t /e /g /c kingj:F

    Author Comment

    I'm assuming directory would be the directory name?  

    LVL 95

    Expert Comment

    by:Lee W, MVP
    Yes, "directory" would be the directory name.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Do You Know the 4 Main Threat Actor Types?

    Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

    A brief overview to explain gateways, default gateways and static routes OR NO - you CANNOT have two default gateways on the same server, PC or other Windows-based network device. In simple terms a gateway is formed when a computer such as a serv…
    Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…
    Here's a very brief overview of the methods PRTG Network Monitor ( offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

    779 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

    Need Help in Real-Time?

    Connect with top rated Experts

    11 Experts available now in Live!

    Get 1:1 Help Now