Discussion Locked

Mapping User Directories

0 helpful
17 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

I'm having a tough time trying to make the users' home directories on my server. The syntax used in my logon script is net use H: /home. Ideally, drive H: would, in my case map to \\SHFSNT6\d\users\MPiechotta, so my home dorectory would be the pseudo-root of the drive, but at current, it maps only to \\SFHSNT6\d. What am I doing wrong? Do I need to sahe the "users" directory? Do I need to set a share on each individual users' home directory under "users"?

Any help would be greatly appreciated.

17 replies

by sharriso

You can only map to shared directories, so if you want to map directly to the users home directory it will need to be shared.

We use hidden shares for the users home directories.

Good luck.

by blafle

You can only map to the root of a share. If you wanted to have each user's home drive the root, then you can create a hidden share for all your users.

by iank

Windows NT will map a drive to the share level however the users home will become the default for command prompt or apps without at start in. With NT workstations you can use the SUBST command to set drive to point directly to the home. i.e. SUBSTI: H:\users\MPiechotta. I do not believe this will work for win 9X.

by phigginson

Hi,

My solution for this problem is

subst h: \\SHFSNT6\d\users\MPiechotta

This solution works into my office for more than 300 users on one server with one share.(share only on users folder)
Don't use a lot of share for users folders, you decreased the performance of your server with this technology.(It's my experience)

Pascal Higginson

by rotocron

Ah, the mis-fortune of NT..... ;-)

As stated above, you can only map to a share, nothing below it, unless of course it's shared as well, and then only if you map to that deeper directory.

Yes, you can create a share for each user, but that can become cumbersome, and I know at some point the server will have lag because all the shares. And yes you can hide them all, Hell I recently found out to hide an entire machine!

But before you go through that trouble, take a look at the "homedrive", "homedir", and "home" variables. And since you can push variables from a login script, you can have this done automatically. That will take care of dropping the user into thier home directory by default.

This discussion is closed to new replies.