[Last Call] Learn how to a build a cloud-first strategyRegister Now

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

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

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
0
Accidental Hyper-V Administrator
Asked:
Accidental Hyper-V Administrator
1 Solution
 
NikCommented:
You're probably have to take ownership of the folder to be able to change ACL using XCacls.
http://support.microsoft.com/kb/825751

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

Best regards.
0

Featured Post

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

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