Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

allow users only to see personal drives ?

Status
Not open for further replies.

TekkieDave

Technical User
May 22, 2002
98
US
I have a home drive that I have multiple users connected to, and each user has their own folder. They only can access their own folder, but they can see each folder that is on the home drive.

Is it possible to set up the folders so that each user only sees their own drive, or only the drives they have permission to get into, rather than all 60 folders?

Our users aren't that sophisticated, so the less confusion the better.

Any thoughts would be appreciated.

Regards,
Dave

**Okay, have you tried rebooting the machine?**
 
This would be a big pain, but have you tried using permissions for only users to only be able to see their home folders, and no read access for any other user?
 
If you're using Active Directory, you can define this in a user's profile. You can set their "Home folder" to some drive letter and enter a path (i.e. \\server\share\%username%). Or you can create a logon script that automatically maps a user's personal folder to some mapped drive letter (i.e. H:). Use the following command in your script to map it every time and "unmap" it during logout:

net use h: \\server\share\folder /persistent:no

or use:
net use h: \\server\share\folder /persistent:yes

to keep it mapped everytime a user logged in (assuming it's always available).

Put this (and any other commands you need) into a file, name it logon.bat (or similar with the .bat extension) and assign it to run when users login. If you use AD, again, you can set the logon script to run when users login. If this is only for local users, you should be able to set the logon script to run when local users log in.

With these steps, users could technically still get into the main "Home" share and see the folders, but if their folders are mapped as drives, they will never need to navigate to the main folder.

Hope this helps.
 
Couldn't you just map their homedrive for them at logon and have all home shares end in $?

[blue]"Well, once again my friend, we find that science is a two headed beast. One head is nice, it gives us aspirin and other modern conveniences,...but the other head of science is BAD! Oh, beware the other head of science, Arthur; it bites!!" - The Tick[/blue]
 
I agree with both of your solutions, but I think the other drives would still be visible to a user who is looking. I do see the comment "our users aren't that sophisticated" in the original question, so, you guys might be on to something.....
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top