Not Mapping Drives in Login script

We are running a windows 2000 domain. Our windows 98 machines are mapping shared drives just fine when they login. But, some (not all) of our windows 2000 pro and Windows XP pro machines are not mapping drives through the login script.The only Drive they map is the home drive. I can however map the share drives manually afterwards.
Any reason why??

Thanks
LVL 1
bdragunAsked:
Who is Participating?
 
bdragunAuthor Commented:
I did some research on Microsoft's website and i found this article over the weekend.

http://support.microsoft.com/default.aspx?scid=kb;en-us;Q304970

By changing the login scripts synchronously and enabling the group policy setting "Always wait for the network at computer startup and logon". So far we have success with every drive mapping..

0
 
jatcanCommented:
Has the drive mappings EVER worked on these mahcines?
0
 
bdragunAuthor Commented:
Actually we just migrated from Novell. But yes they have worked before.
0
Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

 
KehamaCommented:
Could you give us the output of a "net use" command of an affected machine, and give use the exact command line you're trying to use in the logon script (I'm assuming you are mapping the drives by logonscript)

Also, there should be some kind of error message when you attempt the drivemapping. That'd be useful too.
0
 
bdragunAuthor Commented:
The windows 2000 and XP machines are not even running the login script at all. We put the .bat file in the Netlogon folder on our DC and put the name of the .bat file in the users profile. The following is a sample of one of the drive mappings:

IF "%OS%"=="Windows_NT" GOTO NT

:98
If exist Q:\ NET USE Q: /D

NET USE Q: \\server\apps

:NT
If exist Q:\ NET USE Q: /D

NET USE Q: \\server\apps

As i said before windows 98 machines run the script fine. We are even able to map Home drives on windows 2000/XP machines using the users profile in active directory.
0
 
KehamaCommented:
Hmmm. If it is only upgraded computers that have this behaviour, check your network properties. I assume you use TCP/IP for network communication, I would suggest disabling other protocols that got left over with the migration and see if that helps. I'm suggesting this because NetBUIE used to do evil things to my network.

Also, check if the computernames do not have spaces in them. That used to cause trouble in the past for macintosh clients for me.
0
 
bdragunAuthor Commented:
We removed all the IPX and netbuie protocols when we removed the Novell client. And none of our computer names have spaces in them.

After i login to a win2k/XP machine i can double click the .bat file and it maps the share drives fine. i could put the .bat file in the startup menu but i would like to avoid this.
0
 
TooKoolKrisCommented:
Try keeping your scripts as simple as possible. Create one with just this in it and see if it works.

NET USE Q: /D
NET USE Q: \\server\apps

You don't need all of the extra commands in there because all that junk is saying is that 1.) Delete any map on Q and then 2.) Map Q to this.

TooKoolKris
MCSE+I, CCNA, A+
0
 
KehamaCommented:
Understandable you don't want to do that.

Did you upgrade your Domain Controller to 2000 as well recently ? That moves about the folder that is shared as \\server\netlogon. Although I can't imagine why some of your clients would search for the actual (old) folder instead of that share, it is the only explanation I can think of (maybe a leftover from Novell).

0
 
KehamaCommented:
TooKoolKris,

I don't think it is the logon script itself that is faulty. Those computers are somehow just not finding the scripts...
0
 
jatcanCommented:
Yes, you don't think the .bat files are faulty, but have you actually tried the suggestion? I only takes a second to rename a bat, create a new one and try it...
0
 
jatcanCommented:
Try these QArticles:

http://support.microsoft.com/search/preview.aspx?scid=kb;en-us;Q302104


Maybe they're logging on locally?

http://support.microsoft.com/search/preview.aspx?scid=kb;en-us;Q258286

Maybe you need to deny access UNLESS the script runs, just to see what happens...

http://support.microsoft.com/search/preview.aspx?scid=kb;en-us;Q275506

And an article that says DO NOT define command line parameters in logon script(silly, I know):

http://support.microsoft.com/search/preview.aspx?scid=kb;en-us;Q142672

Hope one helps you out...Cheers!


0
 
KehamaCommented:
In WinNT, logon scripts are kept in :
   \\<servername>\winnt\system32\repl\export\scripts
   \\<servername>\winnt\system32\repl\import\scripts

In Win2000, my logon scripts are located in :
   \\<servername>\winnt\sysvol\sysvol\<domainname>\scripts

BUT, my server still has the old WinNT directory (which is filled with old scripts - I only discovered them now, hihi). If I'm right and some of your computers are searching another location for the scripts, you should find a solution by copying logon scripts to both locations, and then you're just left to find out how to get all workstations to look for the script in the right location.

Have a jolly nice weekend.
0
 
bdragunAuthor Commented:
The domain controller has been in place for about a year now cause we were running dual Network OS's. It was not an upgrade but a new DC install.  

We are trying all the suggestions. It seems that we are getting it to pull the login script sometimes but not always.

TooKoolKris method seems to work one time. When i reboot and try it again it doesn't work. Then when we reboot and try ita third time it works.

0
 
TooKoolKrisCommented:
How many DC's do you have in this domain? It seems that the server is getting banged and can't handle all of the requests. You may need to add another DC like having a BDC in the old NT4 era. Normally something like this either works or it doesn't, so it sounds like congestion or communication problems of some sort.

TooKoolKris
MCSE+I, CCNA, A+
0
 
st_steveCommented:
All the comments sound interesting. I faced the same problem 2 days ago. A machine wouldn't map the drives properly on startup but would access the network manually. Changed the network card on the machine. Lo and behold! Drives were being mapped on startup!

Might I suggest a new network card?
0
 
igoreCommented:
I have seen this happen when the default path for the logon script is inaccessible, such as when it is a network drive that doesn't exist.  Try adding C:\ or C: as the first line of your logon script (or whatever the name of your system drive is).
0
 
st_steveCommented:
Contact the site moderator and you might be able to get some of your points back.
0
 
jatcanCommented:
Yes and thank you for the answer...hehehehheh...
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.