Tag Archives: cacls

Tried sleeping……That obviously didn’t work out, so here’s a guide on how to import a number of users in Active Directory and then creating and sharing out their home folder. Note: This guide uses dsadd for creating users and cacls for setting ntfs permissions. Thats kind of old fashioned, I will try to write a new guide using powershell later on. In the scenario I have created this script for we have a domain controller who happens to also be the file server, file01. The domain is called test.local and have 5 OUs in addition to the default ones, those are: Sales Management HR IT groups Files are stored on a drive called e: under a folder named users. Each homefolder is shared with a trailing $. In the OU called groups, there are a few groups with identical names to the rest of our OUs. Now that we have…

Read more