Page 1 of 2 12>
Topic Options
#41275 - 2003-06-09 08:35 PM Netbios.dll Error on W2k/WXP computers
BriGuy Offline
Fresh Scripter

Registered: 2003-04-17
Posts: 19
Loc: Canada
[topic moved by NTDOC to Starters]

Did anyone find a solution to the "Netbios.dll not found..." problem for W2k and XP?

Here is the thing though: We have multiple logon servers. If these clients attempt to log on to SERVER1 they get this error. BUT if they log on to SERVER2, the script runs perfectly. Both of these servers have identical netlogon folders (replicated).

We didn't force all logon authentication to run from a particular server because we were worried about load balance and slow execution time.


Any ideas?

[ 09. June 2003, 21:24: Message edited by: NTDOC ]

Top
#41276 - 2003-06-09 08:41 PM Re: Netbios.dll Error on W2k/WXP computers
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
First off, I don't see any script in your post so this is the wrong forum. Not to worry though, I suspect a moderator will move it.

I have a hunch that there is some fundamental difference in the servers in the way that they can or cannot process RPC requests. If the DLLs are present, the OS tries to use them but the OS is not compatible with the DLLs.

Do both servers have KXRPC running and is the KX95.DLL in netlogon?
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#41277 - 2003-06-09 08:49 PM Re: Netbios.dll Error on W2k/WXP computers
BriGuy Offline
Fresh Scripter

Registered: 2003-04-17
Posts: 19
Loc: Canada
yes, both servers are running the KXRPC service, and they each have all the .dll files required to run correctly on W9x computers in their netlogon folders.

I wasn't aware that a script was manditory in order for me to post in here. I'll try to remember that. But, as the script does not have any execution problems, I dont' see how that would cause any DLL errors.

We were initially having some issues with our W9x clients, but we cured that by replacing the netapi*.dll files.

I hope this helps somewhat.

THanks,

Top
#41278 - 2003-06-09 09:09 PM Re: Netbios.dll Error on W2k/WXP computers
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
the scripts are required in this forum as this is for discussing scripts [Wink]

what you mean replaced the netapi.dll's?
I bet that is the problem you are now having...
my quess that someone somewhere at sometime on some server or client placed also netapi.dll where it shouldn't.

anyway, now as you posted some info...
what does you batch-file look like?
how did you do the replace of those dll's?
_________________________
!

download KiXnet

Top
#41279 - 2003-06-09 09:29 PM Re: Netbios.dll Error on W2k/WXP computers
BriGuy Offline
Fresh Scripter

Registered: 2003-04-17
Posts: 19
Loc: Canada
we went to all affected w9x clients and manually replaced their netapi.dll files with the originals from the W9x CD.

we aren't using any batch file. Just Kixtart.

We also have a Novel server to which all users log onto as well. Will this cause a problem like this?

Top
#41280 - 2003-06-09 09:35 PM Re: Netbios.dll Error on W2k/WXP computers
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
The Novell server can cause problems. You need to change the provider order to put M$ on top.
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#41281 - 2003-06-09 09:57 PM Re: Netbios.dll Error on W2k/WXP computers
BriGuy Offline
Fresh Scripter

Registered: 2003-04-17
Posts: 19
Loc: Canada
I dont' follow... i have to put "M$" where exactly? in my script?
Top
#41282 - 2003-06-09 10:38 PM Re: Netbios.dll Error on W2k/WXP computers
BriGuy Offline
Fresh Scripter

Registered: 2003-04-17
Posts: 19
Loc: Canada
why would the script run perfectly from SERVER2 though? the netlogon folders are identical.
Top
#41283 - 2003-06-09 11:13 PM Re: Netbios.dll Error on W2k/WXP computers
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
you say that the netlogon folders are identical...

so what is different with these servers?
_________________________
!

download KiXnet

Top
#41284 - 2003-06-09 11:27 PM Re: Netbios.dll Error on W2k/WXP computers
BriGuy Offline
Fresh Scripter

Registered: 2003-04-17
Posts: 19
Loc: Canada
one is strictly our exchange server, the other is more like a file server. Eventually we'll have another server dedicated specifically to one app for our payroll dept. But each client randomly chooses one of these server to log onto. So, if they happen to be authenticated on SERVER1, then the script does not run (they get the netbios.dll error) if they happen to be authenticated on SERVER2 then everything is fine.
Top
#41285 - 2003-06-09 11:42 PM Re: Netbios.dll Error on W2k/WXP computers
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
In a mixed (M$ and NetWare) environment, the NetWare client install will always put itself on top in provider order at the detriment on M$ Networking. In your network properties | advanced settings | provider order tab, there is the GUI to change provider order. It can also be done with reg hacks.
code:
$HKLMSCCSCNPO = "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\NetworkProvider\Order"

$POrder = ReadValue($HKLMSCCSCNPO,"ProviderOrder")
Select
Case $POrder = "Cwbnetnt,LanmanWorkstation,NetwareWorkstation"
Or $POrder = "Cwbnetnt,NetwareWorkstation,LanmanWorkstation"
$RC = WriteValue($HKLMSCCSCNPO,"ProviderOrder","LanmanWorkstation,NetwareWorkstation,Cwbnetnt","REG_SZ")
Case $POrder = "Cwbnetnt,LanmanWorkstation"
$RC = WriteValue($HKLMSCCSCNPO,"ProviderOrder","LanmanWorkstation,Cwbnetnt","REG_SZ")
Case 1
? "DOH! Check Provider Order!"
Sleep 10
EndSelect

This code is specific to my environment. YMMV
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#41286 - 2003-06-10 02:50 PM Re: Netbios.dll Error on W2k/WXP computers
BriGuy Offline
Fresh Scripter

Registered: 2003-04-17
Posts: 19
Loc: Canada
I tried changing that reg value and there was no difference. I even removed the computer from our Novell network, and i still had the same trouble.

Our Win9x clients have no trouble at all, regardless of which logonserver they use. Why would only W2K or XP clients have this trouble?

Top
#41287 - 2003-06-10 03:26 PM Re: Netbios.dll Error on W2k/WXP computers
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
To reiterate...
quote:
I have a hunch that there is some fundamental difference in the servers in the way that they can or cannot process RPC requests. If the DLLs are present, the OS tries to use them but the OS is not compatible with the DLLs.
The reason is that Wintendos work is that they are using the DLLs that are meant for them.

The real question is why NT/2K/XP insists on using the DLLs intended for Wintendos. Maybe if Ruud reads this thread he could provide some insight.
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#41288 - 2003-06-11 11:26 PM Re: Netbios.dll Error on W2k/WXP computers
BriGuy Offline
Fresh Scripter

Registered: 2003-04-17
Posts: 19
Loc: Canada
Fixed it!

We had all of the requried dll's that W9x needs in the same folder where 2000/XP logon from.

Instead, we created 2 subfolders inside netlogon (eg. w9x, and wnt). We then created a batch file which determines the users OS and then points them to the correct folder for their script. If it is a 9x computer, it will find all the dll's it needs in the w9x folder along with kix32, etc. It if is a Wnt computer, it only needs the script.

Top
#41289 - 2003-06-12 12:14 AM Re: Netbios.dll Error on W2k/WXP computers
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
awesome.
so now this problem has one possible solution more [Wink]
_________________________
!

download KiXnet

Top
#41290 - 2003-06-12 03:17 AM Re: Netbios.dll Error on W2k/WXP computers
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
Well, I would not declare it fixed! More of a work-around...
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#41291 - 2003-06-12 03:55 AM Re: Netbios.dll Error on W2k/WXP computers
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
les, I did not do that either.
"possible solution" is not the same as solved.

but seems that this problem is one of those eternal ones.
_________________________
!

download KiXnet

Top
#41292 - 2003-06-12 08:29 AM Re: Netbios.dll Error on W2k/WXP computers
NTDOC Administrator Offline
Administrator
*****

Registered: 2000-07-28
Posts: 11629
Loc: CA
My guess is that if he checks, he has another DLL or file not even related to KiXtart in his NETLOGON folder.

I have run many versions from 3.1 to 4.21 in Netlogon with 95/98/ME/NT/2000/XP and have not seen this issue.

Has anyone else seen this with KiXtart?

Top
#41293 - 2003-06-12 02:00 PM Re: Netbios.dll Error on W2k/WXP computers
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
Jooel,
I know... [Razz]

DOC,
The issue manifests itself on only one particular DC. Assuming that replication maintains identical NetLogon shares, that disproves your theory. I believe the real issue lies with this particular DC and its inability to process the requests from the client.
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#41294 - 2003-06-13 10:17 AM Re: Netbios.dll Error on W2k/WXP computers
Ruud van Velsen Moderator Offline
Developer
*****

Registered: 1999-05-06
Posts: 391
Loc: Amsterdam, The Netherlands
First things first: what is the exact error message?

"NetBIOS DLL not found" is not a KiXtart error message. Maybe some program is started from the logonscript, and this particular program has not been installed/configured correctly.

Regards,

Ruud

Top
Page 1 of 2 12>


Moderator:  Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart 
Hop to:
Shout Box

Who's Online
0 registered and 476 anonymous users online.
Newest Members
batdk82, StuTheCoder, M_Moore, BeeEm, min_seow
17885 Registered Users

Generated in 0.076 seconds in which 0.027 seconds were spent on a total of 13 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org