Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
I am using windows server 2000. Well I want to map drive through login script using
" net use " command. For that purpose I deploy AD on windows server 2000. Make a OU like "Marketing" and in it I make users in it.The steps which i took are as under.
In server1 (Holding AD) I do the following configurations.
1- under Marketing OU I take its properties,"Group Policy"click on " New "and give it a name as "Marketing_share".2-Click on Edit buttton.
3-Under User Configuration ....>Windows Settings....>Scripts.
4-Double click on "Logon" and add the name of file which I have made "Shared.bat" The script which I wrote inside is
" NET USE S:\\File_Server\Share Folder Name\"username% /PERSISTENT:NO "
this file is saved in C:\ as a root where windows server 2000 is installed.
In Server 2 (File Server) I do the following configurations.
1-Make it a member server.
2-Login through administrator.
3-Made a folder i.e "Marketing" and share it.
In ( Client computer ruiing windows xp ) I do the following configurations.
1- Made it member of server .
2- Login the computer using Active Directory user account name.
3- Double click on My computer.
4- Here I can not see the map drive ?
Please guide me that where I am doing miske ? Why the drive is not mapping automatically when the user login through domain?
Thanks in advance for the help.
garden

prob'ly not critical, but might try taking "S:\\" and just make
it "\\". i don't know. I use NET USE to map my drives, but
it's in very simple environment (hub, 8-client).
NET USE P: \\COMPUTER\C

nbrane
without the s: you have no drive letter mapping." NET USE S:\\File_Server\Share Folder Name\"username% /PERSISTENT:NO "
don't you mean
" NET USE S:\\File_Server\Share Folder Name\%username% /PERSISTENT:NO "note the two % signs. Also does the logon users name exist in this context?

tahnks for your reply. yes it was typing mistake
" NET USE S:\\File_Server\Share Folder Name\%username% /PERSISTENT:NO "
The user will login through domain account.
My question is why not the client machine can see map drives automatically when it is login through DC? I have checked all steps but still unable to find where i am doing mistake?

![]() |
![]() |
![]() |
| Login or Register to Reply | |
| Login | Register |
| Ads by Google |