Jump to content

Recommended Posts

Posted
I have 400 folders on a server with individual access. Each foldername is the name of the user and I used to use xcacls to manage individual permissions for these folders on Win server 2003, now that we've moved to 2008 xcacls doesn't work. What's the new hip replacement for something like this?
Posted

Lucky enough the batch didnt need to change to much.. Here is the example I'm using in case this can help anyone else.

 

I have a batchfile in the root of the folders that share the usernames of the folder.

for /D %%I in (*) DO iCACLS.exe "%%I" /T /grant "mydomainname.int\%%I":M "mydomainname.int\Domain Admins":F
pause

 

 

 

This gives the user Modify permissions and the Domain Admins full.

  • Thanks 1
Posted
I use Wisesofts NTFS Fix for just this job its great and doesn't need scripting, just choose the users / groups you want on it, put the wildcard DOMAIN\%foldername% in to give the user with the username of the folder it finds as a user on it and tell it where to do the business and job done :) Nice and easy :)

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...