Computing.Net > Forums > Windows NT > Maping Home Directory Through Login Script

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Maping Home Directory Through Login Script

Reply to Message Icon

Name: TopGun
Date: October 25, 1999 at 15:29:15 Pacific
Comment:

Does anyone know if there is a way to map a drive to a users home directory through the login script file. I have tried:
net use F: \\server\users\%username% but it does not work..

Any ideas



Sponsored Link
Ads by Google

Response Number 1
Name: ßÄMÄ
Date: October 25, 1999 at 16:32:34 Pacific
Reply:

Your command is correct...some possible issues:

1. the user doesn't have rights to the folder.

2. the folder is not shared out.

3. the F: drive is already in use

4. the user doesn't have rights to the login script.

I know some of the above sound a little funny, but I have encountered some problems with login scripts in the past and checking the above fixed my issues.

if it doesn't fix things for ya, let me know and I'll see what I can do.


0

Response Number 2
Name: graeme
Date: October 26, 1999 at 00:55:14 Pacific
Reply:

Just a slight note, that line you are using is for a drive mapping, if you put /home on the end of that, you will then define that as the users home directory.

Do a net use /? and you will see the switch options.

Otherwise the last post has all your answers


0

Response Number 3
Name: TopGun
Date: October 26, 1999 at 07:10:02 Pacific
Reply:

Ok then my question is this. Can I have a script like this:

net use f:\server\sys
Net use h:\server\sys\users\%username% /home

Please advise...


0

Response Number 4
Name: Steve van der Merwe
Date: October 26, 1999 at 23:37:16 Pacific
Reply:

The command is

net use h: /home

In user Manager select the user and then select profile button

Next to "login script name" put in the script filename.
The script will have to be located in the following folder shared as NETLOGON by default.
"C:\winnt\system32\repl\import\scritps"

Next to "connect" select H: and then put in the share name next to it. (For NT Workstation you can ignore to add the script file)

I.e. \\server\%username%


0

Response Number 5
Name: muryadi
Date: May 14, 2000 at 22:38:59 Pacific
Reply:

sorry, my english is not to good.
does anyone knows, command line to make a drive mapping on sharing computers. (windows)
or any ways to get it.
on GUI i used : MAP NETWORK DRIVE on a folder in network neighborhood. and give RECONNECT AT LOGON choice.

thank's


0

Related Posts

See More



Response Number 6
Name: Darryl
Date: July 18, 2000 at 07:00:54 Pacific
Reply:

I found the best way to do this in NT4 is using the SUBST command. The only problem is that it does not work in 2000.


0

Response Number 7
Name: adam99
Date: January 16, 2001 at 19:57:02 Pacific
Reply:

How does it work with the subst command? I have tried this and have failed miserably. Do I need to run subst k: \\server\folder\%username% on nt server and net use k: \\server\k$ from the win95 client? Please explain..

Thanks


0

Sponsored Link
Ads by Google
Reply to Message Icon






Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Windows NT Forum Home


Sponsored links

Ads by Google


Results for: Maping Home Directory Through Login Script

How do you change default locations through login scripts? www.computing.net/answers/windows-nt/how-do-you-change-default-locations-through-login-scripts/10983.html

Login Script www.computing.net/answers/windows-nt/login-script/3345.html

Printing through login script help. www.computing.net/answers/windows-nt/printing-through-login-script-help/21097.html