#61843 - 2002-01-03 02:57 PM
Logon Script Drive Mappings
|
Anonymous
Anonymous
Unregistered
|
I'm using KixTart 4.00 on an NT4 Domain. All clients are Windows NT4/2000. Over Dial Up connections (RAS & VPN) the script executes just fine (it maps drives only), but the drive letters don't appear in My Computer (or from the NET USE command) for up to 2 minutes after the script completes. Why does this take so long if the script is completing quickly without error? Any help is greatly appreciated!
|
|
Top
|
|
|
|
#61845 - 2002-01-04 02:57 PM
Re: Logon Script Drive Mappings
|
Anonymous
Anonymous
Unregistered
|
But the drives do eventually appear in Windows. I'm going to update to 4.01 on all my servers and see if the changes anything. Is there anyway to force the connection to be made immediately instead of this delay?
|
|
Top
|
|
|
|
#61846 - 2002-01-04 03:24 PM
Re: Logon Script Drive Mappings
|
Anonymous
Anonymous
Unregistered
|
Does this happen on both NT4 and 2000? Offline Folders can cause strange delays. Is it only Kix scripts that are delayed? If you add a net use to the MS login script is it slow too?
|
|
Top
|
|
|
|
#61847 - 2002-01-04 03:31 PM
Re: Logon Script Drive Mappings
|
Lonkero
KiX Master Guru
   
Registered: 2001-06-05
Posts: 22346
Loc: OK
|
have you checked if this the case only on w2k clients? there is uttleast one regkey that changes the behaviour between nt 4 and 5 if i remember right... w2k does not execute logonscript before it continues logging on the user. so some tasks in your script are executed after the user has been logged on. and this can be the case. and also, if you are using wkix, there is other issue: quote:
KiXtart 2001 and the console KiXtart 2001 is provided in two ‘flavors’: the standard console-based version and a Windows version. The Windows version will only display a console if and when any output is sent to the screen. If desired, this behavior can be overridden using the /I (Invisible) commandline option. Note By default, the Windows version of KiXtart 2001 runs as an asynchronous process. This means that if you start WKIX32.EXE from a batchfile, the batchfile will not wait for KiXtart to exit and will continue processing. This behavior can cause problems if KiXtart is being used as part of the logon process, especially on Windows 9x clients. To prevent these problems, WKIX32.EXE should be started from a batchfile using the START command with the wait option, e.g.: “START /W WKIX32.EXE”. Optionally, on Windows NT or higher, you can also specify the /B option with the START command, to prevent the creation of an additional window.
The console version behaves exactly like KiXtart 95, and will automatically cause a console window to be created upon startup.
hope this helped...
_________________________
!download KiXnet
|
|
Top
|
|
|
|
#61848 - 2002-01-04 03:47 PM
Re: Logon Script Drive Mappings
|
Anonymous
Anonymous
Unregistered
|
Allow me to clarify. All NT/2k computers pnysically connected on the LAN execute the script perfectly and the drive mappings are immediately available. However, remote users who connect via VPN and RAS use a batch file to manually start the kixtart logon script. This script still executes perfectly (all kix32.exe, no wkix), but the drive mappings don't appear in Windows for up to 2 minutes after the script completes. This script does NOT execute as part of the logon process for remote users, it must be started manually. And the mappings do eventually appear in Windows. Ideas?
|
|
Top
|
|
|
|
#61850 - 2002-01-04 05:38 PM
Re: Logon Script Drive Mappings
|
Anonymous
Anonymous
Unregistered
|
I don't believe that to be the case. I switched to the KixTart script to increase the logon speed. Our old logon script was simply a batch file which used numerous "Net Use" commands to map the same drives. This batch file execute much slower than the Kixtart script, but the drives appeared in Windows immediately. I now have the opposite, a faster script, but drive mappings aren't immediate.
|
|
Top
|
|
|
|
#61851 - 2002-01-04 09:05 PM
Re: Logon Script Drive Mappings
|
Alex.H
Seasoned Scripter
Registered: 2001-04-10
Posts: 406
Loc: France
|
ChrisPohts, Is you really need a faster net use, try this : Shell "%comspec% /C net use ..." this will be in fact the dos "net use" instead of the Kixtart one
_________________________
? getobject(Kixtart.org.Signature)
|
|
Top
|
|
|
|
#61852 - 2002-01-05 09:43 PM
Re: Logon Script Drive Mappings
|
bleonard
Seasoned Scripter
   
Registered: 2001-01-19
Posts: 581
Loc: Chicago, IL
|
Chris - Yes, a KiX login script line-for-line will execute faster than a Windows batch file. But, the execution speed of the KiX script does not automatically translate to faster execution of everything within the script.Perhaps I am mistaken on the underlying KiX technology, but essentially a net use function is taking place by KiX initiating a command of some time for Windows to use the shared resource (perhaps simply executing NET USE - notice the KiX syntax USE H:, USE H: /DELETE which closely mimics NET USE command structure ). In another example, try a KiX COPY command, and compare the speed with a Windows COPY command. Would you expect one command to perform faster than the other? I would not. Alex's suggestion may provide some performance improvement. I can not say as I have never tested. I recommend you attempt some timing tests to see if in fact there is significant performance improvement. Additionally, you likely would need to look at where the login script resides when executing - on the client, or on the server. You certainly want the DLL's on the clients. As for the script(s) on the client, well, that is not a solution I would put in place yet. Regardless, each network admin must decide the acceptable performance of the systems connecting to their network. I am comfortable telling my end users they will suffer a performance lag via dial-up. They in fact are quite prepared to accept that a dial-up 56/33/28kbps connection will never perform any network functions at the same speed as the 100mbps LAN. Should such timing differrences translate into a material impact on business operations, then of course one should consider revisiting it. Bill
|
|
Top
|
|
|
|
#61853 - 2002-01-05 10:51 PM
Re: Logon Script Drive Mappings
|
Anonymous
Anonymous
Unregistered
|
Thanks to everything for their help/suggestions. I have tried all the possible combinations, including executing kix completely from the client (executable and script file), but the drives still take 1-2 minutes to become available in Windows. The only possibility I forsee, is the VPN server's bandwidth. If this has any impact, I will post a repy here, otherwise I'll inform the user base that the lag is due to dialup speed limitations.
|
|
Top
|
|
|
|
#61855 - 2002-01-06 04:45 PM
Re: Logon Script Drive Mappings
|
Anonymous
Anonymous
Unregistered
|
We have both means of remote access connectivity to our LAN - an NT4 RAS server and an NT4 VPN server. The majority of my testing has been using the VPN server because the majority of remote users connect via VPN. Through the VPN over DSL, I can map drives with kixtart from my local machine and they are instant. However, if I try to map drives with KixTart from my local machine which have group memberships (INGROUP), it takes 1-2 minutes for the drives to become available even though the script executes in seconds
|
|
Top
|
|
|
|
#61857 - 2002-01-08 02:45 PM
Re: Logon Script Drive Mappings
|
Anonymous
Anonymous
Unregistered
|
I tried the same procedures over RAS only, speeds anywhere between 28 and 51kbps, same delay in the mappings appearing in Windows. I'll inform the user community to expect the delays. Thanks to all for help!
|
|
Top
|
|
|
|
Moderator: Glenn Barnas, NTDOC, Arend_, Jochen, Radimus, Allen, ShaneEP, Ruud van Velsen, Mart
|
1 registered
(Allen)
and 483 anonymous users online.
|
|
|