Page 1 of 1 1
Topic Options
#205299 - 2012-05-22 08:30 PM Default Script KIXTART.KIX
Maeve Offline
Just in Town

Registered: 2012-05-22
Posts: 3
Loc: USA
According to the user manual, "By default, KiXtart automatically looks for a personal script for the current user ("Username.KIX"). If it does not find one, it looks for the default script, "KIXTART.KIX"."

We do not have any user scripts, we use ONLY the KIXTART.KIX script. Previously, we simply had to enter "[server name]\NETLOGON\KIX32.EXE" at Start\Run or at a Command prompt and it found KIXTART.KIX and ran perfectly. Now, for unknown reasons, it is not running any script at all unless we add "KIXTART.KIX" to the end of the command line. Does anyone have any ideas why this is so?

We are running KIX32 version 4.51 on Windows 2008 R2 servers. Clients are all Windows XP SP3. There are four KIX scripts in the NETLOGON folder: KIXTART.KIX, NEWKIXTART.KIX (will replace KIXTART when we get a new SAN with paths in the very near future), MAPUSER.KIX (used to manually map drives for people in specific situations) and NEWMAPUSER.KIX which will replace MAPUSER when we get the new SAN up and running.

Also in the NETLOGON folder are these files: kix32.dll, kixtart.KX, kx16.dll, kx32.dll and kx95.dll.

Top
#205300 - 2012-05-22 08:40 PM Re: Default Script KIXTART.KIX [Re: Maeve]
ShaneEP Moderator Offline
MM club member
*****

Registered: 2002-11-29
Posts: 2127
Loc: Tulsa, OK
Just some information....I just tested with kix 4.62 and it did indeed run the kixtart.kix file that was in the same directory, by simply running c:\windows\wkix32.exe. Must be some other kind of directory problem occurring. I'm not sure if it's relevant to this situation in particular but maybe consider upgrading to the newest version (4.62). Also I believe the .dll and .kx files are not needed unless you are supporting win9x clients.
Top
#205301 - 2012-05-22 09:58 PM Re: Default Script KIXTART.KIX [Re: ShaneEP]
Maeve Offline
Just in Town

Registered: 2012-05-22
Posts: 3
Loc: USA
Thanks, I will try upgrading to 4.62.
Top
#205302 - 2012-05-22 10:12 PM Re: Default Script KIXTART.KIX [Re: Maeve]
Maeve Offline
Just in Town

Registered: 2012-05-22
Posts: 3
Loc: USA
It does seem to be working fine with the latest version. However, I have not been able to test it on the PC where I discovered the problem as it is a remote user and I can't get ahold of him. For now I will just assume this fixes the problem until I find otherwise. Thanks again.
Top
#205304 - 2012-05-22 11:55 PM Re: Default Script KIXTART.KIX [Re: Maeve]
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
yea, there was a bug in the processing in some versions.
and indeed, remove the dll's from the folder. they are for supporting 16bit windows and win9x.
_________________________
!

download KiXnet

Top
#205309 - 2012-05-23 11:57 AM Re: Default Script KIXTART.KIX [Re: Lonkero]
Mart Moderator Offline
KiX Supporter
*****

Registered: 2002-03-27
Posts: 4673
Loc: The Netherlands
A simple workaround that I've always used is below. I don’t like kixtart to decide what script should be executed. I prefer to tell kixtart what to execute instead of letting it decide by itself. I also don't like my logon script to be called kixtart.kix but that is just a personal preference.

 Code:
If Exist(@LDRIVE + "Users\" + @USERID + ".kix")
	Call @LDRIVE + "Users\" + @USERID + ".kix"
Else
	Call @LDRIVE + "Logon.kix"
EndIf
_________________________
Mart

- Chuck Norris once sold ebay to ebay on ebay.

Top
#205310 - 2012-05-23 03:37 PM Re: Default Script KIXTART.KIX [Re: Mart]
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
and where this code resides? in kixtart.kix? ;\)

being able to omit the scriptname is a nice feature.
but it gets risky when you got 25.000 scriptfiles laying around... well, even 2 can make it work unexpectedly.

places where arguments can't be given on the command line is where I use that feat.
like a cd autostart \:\)
_________________________
!

download KiXnet

Top
#205313 - 2012-05-24 11:30 AM Re: Default Script KIXTART.KIX [Re: Lonkero]
Mart Moderator Offline
KiX Supporter
*****

Registered: 2002-03-27
Posts: 4673
Loc: The Netherlands
 Originally Posted By: Lonkero
and where this code resides? in kixtart.kix? ;\)
...


Nope
I always use a script called CheckSystem.kix that performs several checks to see what script should be started. This script is started at logon and depending on what country the system is in, what OU the user is in, etc... Logon.kix is started with the options that match the checks performed earlier. The example is taken from CheckSystem.kix and has all other checks removed.
_________________________
Mart

- Chuck Norris once sold ebay to ebay on ebay.

Top
Page 1 of 1 1


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

Who's Online
0 registered and 793 anonymous users online.
Newest Members
M_Moore, BeeEm, min_seow, Audio, Hoschi
17883 Registered Users

Generated in 0.129 seconds in which 0.101 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