#19253 - 2002-03-28 07:31 PM
Using %0\..\Kix32.exe
|
yepme
Lurker
Registered: 2002-03-28
Posts: 3
|
%0\..\Kix32.exe script.kix runs but with LONG delay
Any ideas why it takes over 10 seconds for the script to be called and run form the authenticating domain controller?
Thanks
|
|
Top
|
|
|
|
#19254 - 2002-03-28 07:36 PM
Re: Using %0\..\Kix32.exe
|
Howard Bullock
KiX Supporter
   
Registered: 2000-09-15
Posts: 5809
Loc: Harrisburg, PA USA
|
You haven't really supplied sufficient information regarding network configuration, bandwidth availablity, Domain controller performance counters, client computer performance factors, ...
In other words, many things affect performance. What have you checked already? Is the problem consistent across all clients? etc.
|
|
Top
|
|
|
|
#19255 - 2002-03-28 07:59 PM
Re: Using %0\..\Kix32.exe
|
yepme
Lurker
Registered: 2002-03-28
Posts: 3
|
Sorry, I'm new at this stuff. We are running on a Windows NT 4.0 Server environment with Windows 2000 workstations on a 100mb ethernet backbone.
I'd like to run the scripts off our 3 domain controllers via the following batch file:
@ECHO OFF %0\..\Kix32.exe logon.kix Exit
There is a very long delay between the batch file opening and the script executing on our new, healthy, 1 gb ram domain controllers. Is my problem that I'm running the kix32.exe from the net logon share?
Thanks!!
:-)
|
|
Top
|
|
|
|
#19256 - 2002-03-28 08:08 PM
Re: Using %0\..\Kix32.exe
|
Howard Bullock
KiX Supporter
   
Registered: 2000-09-15
Posts: 5809
Loc: Harrisburg, PA USA
|
Running Kix32.exe from the server is not necessarily a problem. You can check the performance different by placing Kix32.exe in %windir% on your client and changing the batch file to Kix32.exe %0\..\logon.kix
Your batch file has a problem: You should have %0\..\ in front of your scriptname as well.
|
|
Top
|
|
|
|
#19257 - 2002-03-28 08:12 PM
Re: Using %0\..\Kix32.exe
|
Howard Bullock
KiX Supporter
   
Registered: 2000-09-15
Posts: 5809
Loc: Harrisburg, PA USA
|
In my experience, the client in most cases has the greatest affect on percieved script performance followed by LAN/WAN network performance/bandwidth. If you are talking about dialup modem speeds then the network has a larger impact.
|
|
Top
|
|
|
|
#19258 - 2002-03-28 08:35 PM
Re: Using %0\..\Kix32.exe
|
yepme
Lurker
Registered: 2002-03-28
Posts: 3
|
Thanks for pointing out the error of my ways, Howard! I've changed the batch file to add the path to the logon script name as you suggested to:
%0\..\Kix32.exe %0\..\logon.kix
It still took 40 seconds from the time the logon.bat file launched to the time the script was called. But then again, in the overall scheme of things 40 seconds is not that long.
Thanks again for the tip in reparing my batch file, sir!
|
|
Top
|
|
|
|
#19259 - 2002-03-28 09:06 PM
Re: Using %0\..\Kix32.exe
|
Howard Bullock
KiX Supporter
   
Registered: 2000-09-15
Posts: 5809
Loc: Harrisburg, PA USA
|
I believe that 40 seconds is far too long. What is the client hardware and OS. What is the network speed to the client? If this is an NT client, copy Kix32.exe to the client. How long did it take? Not 40 seconds I hope. Now that Kix32 is local execute kix32 \\server\netlogon\logon.kix. How does this perform?
If so, what does your script look like? [ 28 March 2002, 21:07: Message edited by: Howard Bullock ]
|
|
Top
|
|
|
|
#19261 - 2002-03-28 10:34 PM
Re: Using %0\..\Kix32.exe
|
Wadoki
Fresh Scripter
Registered: 2002-03-15
Posts: 11
Loc: Atlanta Georgia USA
|
two problems that effects speed (that I have incountered) is if the kixtart files are on the local machine and what DC you are authinticating to. If the DC is far aware see this technet article to balance net load Q167029. And add this to your script to copy the files to your local machines.
If @INWIN=1 If NOT Exist ("c:\winNT\kix32.exe") Copy @lserver+"\netlogon\kix32.exe" "c:\winNT" EndIf If NOT Exist ("c:\winNT\kxrpc.exe") Copy @lserver+"\netlogon\kxrpc.exe" "c:\winNT" EndIf If NOT Exist ("c:\winNT\system32\kx16.dll") Copy @lserver+"\netlogon\kx16.dll" "c:\windows\system32" EndIf If NOT Exist ("c:\winNT\system32\kx32.dll") Copy @lserver+"\netlogon\kx32.dll" "c:\windows\system32" EndIf If NOT Exist ("c:\winNT\system32\kx95.dll") Copy @lserver+"\netlogon\kx95.dll" "c:\windows\system32" EndIf EndIf
If @INWIN=2 If NOT Exist ("c:\windows\kix32.exe") Copy @lserver+"\netlogon\kix32.exe" "c:\windows\kix32.exe"EndIf If NOT Exist ("c:\windows\kxrpc.exe") Copy @lserver+"\netlogon\kxrpc.exe" "c:\windows" EndIf If NOT Exist ("c:\windows\system\kx16.dll") Copy @lserver+"\netlogon\kx16.dll" "c:\windows\system" EndIf If NOT Exist ("c:\windows\system\kx32.dll") Copy @lserver+"\netlogon\kx32.dll" "c:\windows\system" EndIf If NOT Exist ("c:\windows\system\kx95.dll") Copy @lserver+"\netlogon\kx95.dll" "c:\windows\system" EndIf EndIf
|
|
Top
|
|
|
|
Moderator: Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart
|
1 registered
(Allen)
and 271 anonymous users online.
|
|
|