Set permission on users home directory.


I am trying to set permissions on the users home directory to only allow users to view their own created directory. I have set the permissions as follows
Shared folder called users$ set permissions to domain admins/full  and domain users/ read+change
under security I have set the same I click advanced, select domain users and click edit make sure that traverse, list, read permissions are set and make sure that allow inheritable is unchecked, i check the replace permissions entries...
When I select a user and windows explorer and manually type in \\server\users$ i can open all folders the user is a test user and allow belongs to the domain users group.

I need to block access to all users they should have access of their own folders only even if they manually type in the address in windows explorer.

Any ideas?

Who is Participating?
oBdAConnect With a Mentor Commented:
Name the folder just Users; you can add the $ at the end of the share name, but note that hiding a share does *not* add any security.
Share the folder, and give Everyone Full Control in the *share* permissions (no need to use both Share and NTFS permissions).
Open the NTFS permissions of the folder, go to the Advanced tab, disable the permissions inheritance for the folder, click OK to close the Advanced dialog.
Remove all accounts that currently have permissions except the local(!) Administrators group (should have Full Control), the local System account (should have Full Control), and the local(!) Users group (should have Read); click Apply.
Re-open the Advanced properties, highlight "Users", and change the "Apply to" dropdown box to "This folder only". Close the permission dialogs.
When you now add a user folder, you only have to add the user account, without having to break inheritance, and you still have the ability to add, for example, a helpdesk group to Users, with the permissions being inherited down to the user folders.
A home folder will never be created upon logon. If one doesn't exist, it will be created as soon as you specify the path in the user's properties in ADUC, but the permissions given there usually aren't that usable. In the long run, you're better off simply creating the home folder before you create the user, and add the account to the permissions as soon as the user is created (or create the user, including the home drive and other default settings it needs, with a script).
Set the permissions so that you have the least effort with it, for example like this for user JDoe:
Users: Local(!) Administrators:Full, System:Full, Local(!) Users:Read ("This folder only" in Advanced properties);
  +-- JDoe: Local Administrators:Full (inherited), System:Full (inherited), JDoe:Full (or Change)
sammy_bullAuthor Commented:

I am having difficulty understanding what you suggested. Do I set the permissions on the share tab or on the security tab. I think you mean security tab. Do you also mean I would have to do the joe part on each user folder?

sammy_bullAuthor Commented:
I am creating an empty folder called users$ on another server. What would i need to set for the permissions. So that way when i log in with a user it is automatically set.

I would suggest you follow oBdA's suggestion above.
Manage permission by Security(NTFS) and leave full control on the Share permission.
If you care what permission user has on his/her own folder, don't even bother to create the folder via the profile tab under the user account properties as that will allow users with full control to their folder that would make your life miserable. So, setting up \\server\users or \\server\users$ will be the root, then user home folder will be under.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.