Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
I am trying to implement a log on script to where it maps the folder from the server depending on what there username is and the folder is named the same as the username can someone please help me out with this..

ok create a bat file which will have the exactly following;
NET USE U: //server1/%usernmae$%
Change the Server1 to your PDC's name. When script runs %username% will appear as the username, will look like that:
NET USE U: //server1/bill$
if user bill was logging on.
It will map bill$ to the Drive u.You can also map other driver by putting into the batch file stuff like that:
NET USE x: //server1/resources
Net Use t: //server/sharenameThen safe the file as .bat into:
Winnt/system32/repl/import/scripts
After that in the User's property box type in the .bat file name, and it should run when the user logs on the workstation in ms dos window and connect all shares

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

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