Discussion Locked

LOGIN SCRIPT PROBLEM

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

I have about 25 win2k workstaions and about 200 NT 4.0 workstations. What I want to do is map the users home directory. I was using the following command
net use F: \\hera\data\users\%username%
This works on the win2k boxes but not the NT. Using a NT 4.0 workstaion, if I try to map a drive through the network neighborhood I can not go past the data directory. What am I doing wrong?

12 replies

by syscokid

NT can only map 2 levels deep. What you should do is create a hidden share pointing to \\hera\data\users\%username% and then map to \\hera\%sharename%.

by tommymcbrayer

I tried doing what you said but probably did it wrong. Do you have to do a hidden share on each user directory? Can you help with the syntax please?

by acattr

"net use f: /home" works on NT or 2000. Just Make sure that in thier user account properties, you have thier home folder specified to \\hera\data\users\%username%.

by tommymcbrayer

Already tried that it does take me to the users directory but not the individuals folder in the users directory as in netware. I need the map to go to \\hera\data\users\jdoe for example. Maybe I ask to much from windows. I already miss netware :(

by syscokid

"Can you help me with the syntax, do you have to create a hidden share on each users directory?"

Yes, you would have to do that.

If answer #2 works for you, it may be easier to implement.

by curlergirl

Rather than using a login script to do this, you could configure the home directory under the User's settings. In the AD Users and Computers console, open the user properties. Click the Profile tab and then specify the Home directory (under the Home folder section of the dialog box) as either a path to the server share, or as a mapped drive. In either case (profile settings or login scripts), the problem with the statement you have is that NT machines cannot map to any folder that is not individually shared. Therefore, unless each user's folder is shared as a separate server resource, the NT workstation will not be able to map it. So, you have to either share each user's home folder individually, or map the drive to the main User shared folder and let permissions take care of the fact that they can't actually open anyone else's folder. Hope this helps!

by acattr

Your right it does map to the H:\username in NT. Don't bad mouth Windows, Bad Mouth NT, its an Old Dog that cannot learn any new tricks.

by tommymcbrayer

Since the desired result of mapping to the users folder can not be achieved in the NT world, I will just create a shortcut on all their desktops to their user directory. Thanks people.

This discussion is closed to new replies.