Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
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

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.

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

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% /homePlease advise...

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%

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

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.

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

![]() |
![]() |
![]() |

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