Page 1 of 1 1
Topic Options
#61843 - 2002-01-03 02:57 PM Logon Script Drive Mappings
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
#61844 - 2002-01-03 03:08 PM Re: Logon Script Drive Mappings
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
It's not sure, but with dialup you may experience so called timeout on rpc or on other windows tcp related-services...

it does not anyhow inform of this but the whole domain can be missing even thou the login goes well.

_________________________
!

download KiXnet

Top
#61845 - 2002-01-04 02:57 PM Re: Logon Script Drive Mappings
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
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 Administrator Offline
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
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
#61849 - 2002-01-04 04:39 PM Re: Logon Script Drive Mappings
bleonard Offline
Seasoned Scripter
*****

Registered: 2001-01-19
Posts: 581
Loc: Chicago, IL
Chris -
I have seen this lag as well in dial-up connections. My guess it is simply a NetBIOS issue over a dial-up connection. Windows is using NetBIOS to find and display these connections. KiX is simply providing an easy method to have Windows perform this step. KiX script execution speed is not material to the ability of a Windows system to find/display drive mappings.

Since you state the mappings are taking effect, no real problem exists here except for the time delay. To my end users I would say: Yes, it is slower because you are on a dial-up line, nothing will speed this process up except the end-user having a faster connection to the internet (or ISDN dial-up lines), you will have to learn to live with it, and dispose of this issue.

Bill

Top
#61850 - 2002-01-04 05:38 PM Re: Logon Script Drive Mappings
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 Offline
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 Offline
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
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
#61854 - 2002-01-06 03:04 AM Re: Logon Script Drive Mappings
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
ChrisPohts,
I'm trying to gain an understanding of your environment in regard to RAS and VPN. With VPN, a good portion of the throughput is consumed by the encryption, a necessary evil if tunneling through a public network like the internet. On a high speed internet connection, it's a small price to pay. If they're RASing however, why VPN, unless of course they RAS to an ISP.

I am writing this from home right now, RAS'd in to my work at 26.4 Kbps, and there is no significant difference in speed testing either "NET USE" or KiX's "USE". Both were nearly instant.

_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#61855 - 2002-01-06 04:45 PM Re: Logon Script Drive Mappings
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
#61856 - 2002-01-06 07:03 PM Re: Logon Script Drive Mappings
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
ChrisPohts,
OK, if I understand you right, the problem is when you use VPN over RAS. Have you done any testing of RAS without VPN? Now what's left is to ascertain if KiX's InGroup function is contributing to the slowness.

Try RASing in without VPN and without running the logon script. From a DOS prompt issue a NET USE command and time it. Then write a one line KiX script with the USE command and time it. Then try it with VPN over RAS.

It may be useful to know what OS the clients are. Also and whether there are protocol, provider, or WINS issues. If you have unnecessary protocols, the binding order may not be optimal. If you have more than one provider, the order may be wrong.

Other possible issues may be with name resolution. Try populating your LMHOSTS and HOSTS with your servers' names and IPs to troubleshoot.

_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#61857 - 2002-01-08 02:45 PM Re: Logon Script Drive Mappings
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
#61858 - 2002-01-08 03:58 PM Re: Logon Script Drive Mappings
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
ChrisPohts,
If you get the same delays, then I would suspect network configuration. Protocol, provider, or WINS. I would not just accept it. I would troubleshoot further. To reiterate, I tested RAS at 26.4 and it was quick.
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
Page 1 of 1 1


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

Who's Online
1 registered (Allen) and 483 anonymous users online.
Newest Members
batdk82, StuTheCoder, M_Moore, BeeEm, min_seow
17885 Registered Users

Generated in 0.065 seconds in which 0.029 seconds were spent on a total of 12 queries. Zlib compression enabled.

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