Script to remove USERS permissions from User Profile folders
Posted on 2012-03-16
Hope you can help. We have a bunch of user profiles where the permissions are wrong (located at: \\Server\FLDREDIR\username)
The problem is our current Permissions looks like this
for Jane.Doe's profile: (\\server\FLDREDIR\Jane.Doe\)
Administrators - Full (This Folder, subfolder, and files)
SYSTEM - Full (This Folder, subfolder, and files)
Jane.Doe - Full (This Folder Only)
CREATOR OWNER - Special (Subfolders and files only) (basically full)
Users - Read & execute (This Folder, subfolder, and files) <---problem
Users - Special (This Folder, subfolder, and files) (basically create/write/modify) <--- problem
We need to REMOVE the "Users" group from this as it is causing ALL users to be able to access/modify everyone else's profile. I've already set the permissions at the root level, but now I need to go and clean out everyone's profile.
I've seen scripts to set permissions on folders and files, but is there a way to REMOVE the USERS group altogether? Is there an easy way to do this?
Any info you can provide is appreciated. Thanks!! =)