Make sure this folder is shared as NETLOGON and that your logon script is called "logon.bat"
Main Topics
Browse All TopicsHi
I am trying to setup a logon script so a when a user log's on he will have 5 mapped network drives. When I googled on how to do this it seems like I need to setup a batch file first. I know very little about creating batch files, I tried creating one:
***********LOGON SCRIPT***********
net use g: /d
net use h: /d
net use i: /d
net use j: /d
net use k: /d
net use l: /d
net use g: //servername/folder
net use h: //servername/folder
net use i: //servername/folder
net use j: //servername/folder
net use k: //servername/folder
net use l: //servername/folder
I saved this as map.bat, when I ran it on the local machine it worked fine. However I am unsure on how to get the batch file to run when the user log's on. I tried placing the map.bat file in %SYSTEMROOT%\SYSVOL\domain
Thxs
Gareth
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
In the user profile settings, don't list the C:\... Just input the name of the script, logon.bat. The system knows the location of the Netlogon share and will look there for the bat file. When you placed the C:\... you specified that the logon script is on the local computer, whereas you want it on the domain controller.
LucF,
No I didn't misread your quote. Look at garehcummings statement. He placed the path of the bat file as C:\... in the users profile for the login script. He doesn't want to do that. Just place the name of the script there. What I should have added was to follow your steps in where to place the physical file.
You ought to look at using kixstart. (www.kixstart.org) It's on the installation media and there is a doc there that tells you how to use it. It allows much greater flexibility than what you are trying to use and it's fairly easy to understand and utilize.
you can also take a look at => http://windows.about.com/c
Normally you should ask your own question and not ask your question in another persons question as it's kind of rude, but in this case I'm sure you allready know the answer yourself which is: Yes, it clears the mapping.
For the fun of it, go to a command prompt (win2k/winXP: start => run => "CMD") and there type "Net use /?" (without the quotes) and press enter to see the net use options.
LucF
Business Accounts
Answer for Membership
by: LucFPosted on 2003-10-29 at 04:33:27ID: 9641257
http://www.jsiinc.com/SUBG /TIP3300/r h3341.htm
main Name>\scripts.
Create a logon script, Logon.bat, and place it in the NETLOGON share on the domain controller. The default location of the NETLOGON share is C:\WINNT\SYSVOL\sysvol\<Do
Hope this helps
LucF