XCacls.exe to remove the "Modify" permission from a folder for the "Users group

Posted on 2010-01-06
Last Modified: 2012-05-08
Hello everyone.
I just can't figure this one out and would greatly appreciate any help I can get.

Here's the deal.
I have a folder (Folder A) within the Program Files folder, that inherits permissions from the PF folder. ("Read & Execute", "List Folder Contents" and "Read".)
And life is grand.

I installed an application that added the "Modify" permission to Folder A.
And still everything is great.

Now, when I uninstall the aforementioned application, Folder A retains the "Modify" permission.

My goal, is to use XCacls to remove the "Modify" permission from Folder A so that the permission for the Users group are what they were before I installed the above application.

I can't seems to figure out how to accomplish my goal.
Not to shine light on my short comings, but I have spent some hours trying various combinations of parameters and still can't get the job done.

Any possibility that someone might have some advice for me ?
Maybe even an example of what worked for someone, if they have managed to do the "above" would be wonderful.

Im completely lost at this point and sure could use a little light.

Thanks in advance for all replies.

Ray in Wisconsin
    1 Comment
    LVL 17

    Accepted Solution

    You're probably have to take ownership of the folder to be able to change ACL using XCacls.

    I haven't this, but it may help you.

    Best regards.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Threat Intelligence Starter Resources

    Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

    Suggested Solutions

    Sometimes people don't understand why download speed shows differently for Windows than Linux.Specially, this article covers and shows the solution for throughput difference for Windows than a Linux machine. For this, I arranged a test scenario.I…
    I'm a big fan of Windows' offline folder caching and have used it on my laptops for over a decade.  One thing I don't like about it, however, is how difficult Microsoft has made it for the cache to be moved out of the Windows folder.  Here's how to …
    The Task Scheduler is a powerful tool that is built into Windows. It allows you to schedule tasks (actions) on a recurring basis, such as hourly, daily, weekly, monthly, at log on, at startup, on idle, etc. This video Micro Tutorial is a brief intro…
    This video is in connection to the article "The case of a missing mobile phone (". It will help one to understand clearly the steps to track a lost android phone.

    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

    21 Experts available now in Live!

    Get 1:1 Help Now