Page 1 of 2 12>
Topic Options
#40638 - 2003-05-23 05:00 PM Windows 9X and kixtart woes
Eddie Dunn Offline
Fresh Scripter

Registered: 2003-05-23
Posts: 27
Hello all, what a great resource!

We are trying to implement kixtart scripts for windows 2000, XP and 98 clients.

The 2000 and XP clients work great however on some 98 machines we are unable to get the script to run . It will bring up the kix32 command prompt screen, waiting, waiting, and will eventually crap out. I have also replaced the lmscript on one of the offending machines with kix32 as suggested, however now the machine just hangs on the windows "waiting for logon script to execute". I have not tried to use the replacement RPC service. I really dont want to make a bunch of allowances for an OS we are trying to get rid of. Any comments would be suggested.



We are

Top
#40639 - 2003-05-23 05:03 PM Re: Windows 9X and kixtart woes
Howard Bullock Offline
KiX Supporter
*****

Registered: 2000-09-15
Posts: 5809
Loc: Harrisburg, PA USA
Please READ http://www.kixtart.org/board/ultimatebb.php?ubb=get_topic;f=10;t=000025 if you have not done so yet.

If you have, how are you calling the logon script?

[ 23. May 2003, 17:03: Message edited by: Howard Bullock ]
_________________________
Home page: http://www.kixhelp.com/hb/

Top
#40640 - 2003-05-23 06:39 PM Re: Windows 9X and kixtart woes
Eddie Dunn Offline
Fresh Scripter

Registered: 2003-05-23
Posts: 27
Ok I read through the document and am now trying the AdvancedLogon.bat calling a very simple kixtart script. I can verifiy that the BAT portion runs fine, but when it gets to the kix32 line it hangs

my Advancedlogon is almost identical to the one given and here amd my script is one line

It hangs on this line in advanced logon

%windir%\system\kix32.exe %0\..\logon1.kix

logon1.kix is

USE X: "\\servername\kixtart"

like I said it works fine in NT

Top
#40641 - 2003-05-23 06:51 PM Re: Windows 9X and kixtart woes
Howard Bullock Offline
KiX Supporter
*****

Registered: 2000-09-15
Posts: 5809
Loc: Harrisburg, PA USA
Have you applied all the Win9x updates applicable to your OS?

Have you verified that only the correct version of Kix32.exe and the correct version of the supporting DLLs are located on the Win9x computer?

Can you execute a KiXtart script manually in a DOS windows on the Win9x computers?

Have you reviewed the KiXtart.log file?

Is a Novell client involved?

[ 23. May 2003, 18:52: Message edited by: Howard Bullock ]
_________________________
Home page: http://www.kixhelp.com/hb/

Top
#40642 - 2003-05-23 06:55 PM Re: Windows 9X and kixtart woes
Sealeopard Offline
KiX Master
*****

Registered: 2001-04-25
Posts: 11165
Loc: Boston, MA, USA
And read Use of %0\..\ to launch KiX in the FAQ Forum.
_________________________
There are two types of vessels, submarines and targets.

Top
#40643 - 2003-05-23 07:27 PM Re: Windows 9X and kixtart woes
Eddie Dunn Offline
Fresh Scripter

Registered: 2003-05-23
Posts: 27
>Have you applied all the Win9x updates applicable to your OS?

Yes, I have gotten all security and 98 updates from windows update.

>Have you verified that only the correct version of Kix32.exe and the correct version of the supporting DLLs are located on the Win9x computer?

Yes all the files were copied and we only have one version 4.2

> Can you execute a KiXtart script manually in a DOS windows on the Win9x computers?

No, its wierd even though the kixtart files were copied from netlogon share to %windir%\system (which should be in path) it refuses to run it from a directory other than the one containing kix32. It behaves exactly as if it were running at logon

>Have you reviewed the KiXtart.log file?

There is no kixtart.log file at all, not in %windir%\system, %windir%\temp, or %windir%

Thanks for youe help so far, this surely has me stumped

Top
#40644 - 2003-05-23 07:33 PM Re: Windows 9X and kixtart woes
Howard Bullock Offline
KiX Supporter
*****

Registered: 2000-09-15
Posts: 5809
Loc: Harrisburg, PA USA
I suggest moving the KiXtart files to %windir%.

In a DOS window execute "set" to see the environment variables. Is %windir% (c:\windows?) the first or second directory in the PATH variable? Is system32 listed?
_________________________
Home page: http://www.kixhelp.com/hb/

Top
#40645 - 2003-05-23 07:38 PM Re: Windows 9X and kixtart woes
Sealeopard Offline
KiX Master
*****

Registered: 2001-04-25
Posts: 11165
Loc: Boston, MA, USA
If you use
code:
%windir%\system\kix32.exe %0\..\logon1.kix

during the login process, then the LOGIN1.KIX must be located in the authenticating domain controllers NETLOGON share.

Otherwise try using the full path to call both the executable and script.
_________________________
There are two types of vessels, submarines and targets.

Top
#40646 - 2003-05-23 09:25 PM Re: Windows 9X and kixtart woes
Eddie Dunn Offline
Fresh Scripter

Registered: 2003-05-23
Posts: 27
OK, I have resolved the problem with the script running. You suggestion to put the files in %windir%, now it works. Apparently %windir% system was not in path. However now, I am unable to use the @USERNAME in my script. Do I need to use the renamed lmscript and/or RPC to fix this?

or should this work without that.

here is the lines giving me problems

dim $UN
$UN = @USERID + "$"
USE X: "\\ncnt5crpsrv1\" + $UN

Thanks again for all the help

Top
#40647 - 2003-05-23 09:40 PM Re: Windows 9X and kixtart woes
Howard Bullock Offline
KiX Supporter
*****

Registered: 2000-09-15
Posts: 5809
Loc: Harrisburg, PA USA
There is no @USERNAME macro.

Your script references @USERID though.

Try it like this:



USE X: "\\ncnt5crpsrv1\" + @USERID + "$$"



No sure if this macro works properly on Win9x if you are not in the logon process.

Do not mess with the LMSCRIPT emulation.
_________________________
Home page: http://www.kixhelp.com/hb/

Top
#40648 - 2003-05-23 09:54 PM Re: Windows 9X and kixtart woes
Sealeopard Offline
KiX Master
*****

Registered: 2001-04-25
Posts: 11165
Loc: Boston, MA, USA
And make sure you have read the KiXtart Manual and the FAQ Forum.
_________________________
There are two types of vessels, submarines and targets.

Top
#40649 - 2003-05-23 09:58 PM Re: Windows 9X and kixtart woes
Eddie Dunn Offline
Fresh Scripter

Registered: 2003-05-23
Posts: 27
That gives the same result as the lines I was using
I even tried it with "$" instead of "$$", to no avail.

If I set up the RPC server will it give me acces to those macros, heh this is the whole reason we wanted

Top
#40650 - 2003-05-23 09:59 PM Re: Windows 9X and kixtart woes
Howard Bullock Offline
KiX Supporter
*****

Registered: 2000-09-15
Posts: 5809
Loc: Harrisburg, PA USA
Run the code on a NT computer. Does it work there?
_________________________
Home page: http://www.kixhelp.com/hb/

Top
#40651 - 2003-05-23 10:01 PM Re: Windows 9X and kixtart woes
Howard Bullock Offline
KiX Supporter
*****

Registered: 2000-09-15
Posts: 5809
Loc: Harrisburg, PA USA
What is the result of:


? "UserID = " + @USERID
? "Kix = " + @KIX
?
USE X: "\\ncnt5crpsrv1\" + @USERID + "$$"
? "@error @serror"



[ 23. May 2003, 22:02: Message edited by: Howard Bullock ]
_________________________
Home page: http://www.kixhelp.com/hb/

Top
#40652 - 2003-05-23 10:07 PM Re: Windows 9X and kixtart woes
Sealeopard Offline
KiX Master
*****

Registered: 2001-04-25
Posts: 11165
Loc: Boston, MA, USA
Is there even a hidden share for that particular username?

You should really read the Manual and FAQ Forum with regards to Windows 9x support. This will tell you how to deploy the KiXtart RPC Server service and a lso a lot of other things.
_________________________
There are two types of vessels, submarines and targets.

Top
#40653 - 2003-05-23 10:11 PM Re: Windows 9X and kixtart woes
Eddie Dunn Offline
Fresh Scripter

Registered: 2003-05-23
Posts: 27
OK

That prints the correct username and version to the script window. But the line still does not work.

BTW it works on NT

Top
#40654 - 2003-05-23 10:14 PM Re: Windows 9X and kixtart woes
Eddie Dunn Offline
Fresh Scripter

Registered: 2003-05-23
Posts: 27
BTW:

I have asked about RPC server and no one has mentioned it again. Now since I can see it is getting the proper userid variable I am sure I do not need the RPC service for this.

Top
#40655 - 2003-05-23 10:18 PM Re: Windows 9X and kixtart woes
Sealeopard Offline
KiX Master
*****

Registered: 2001-04-25
Posts: 11165
Loc: Boston, MA, USA
What line does not work? What is the error code that is being returned? Does the share actually exist?

Please read ABC's of KiXtart board etiquette and message to new forum users and KXRPC - Everything you wanted to know about KXRPC in the FAQ Forum.

Also, I would not use LMSCRIPT emulation.
_________________________
There are two types of vessels, submarines and targets.

Top
#40656 - 2003-05-23 10:21 PM Re: Windows 9X and kixtart woes
Eddie Dunn Offline
Fresh Scripter

Registered: 2003-05-23
Posts: 27
OK after seeing the error message

67 name could not be found I realized that this was problem,

I changed my line to use ip instead of netbios name and it worked properly

WONDERFUL!!!!!

Thanks again for all the help.

Any ideas why that name would not resove but the other 7 lines without the concetenation work fine?

I will come back and help people in the same boat as me

Top
#40657 - 2003-05-23 10:26 PM Re: Windows 9X and kixtart woes
Eddie Dunn Offline
Fresh Scripter

Registered: 2003-05-23
Posts: 27
Also sealeopard

Thanks for your input and I know this must seem simple and stupid to you. However many of your sugggestions felt derogatory. I help on a number of boards myself. I always find that if you are upset someone is even askiung the question you are probably not the one to respond to it.

Thanks again everyone!

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
1 registered (Allen) and 1198 anonymous users online.
Newest Members
M_Moore, BeeEm, min_seow, Audio, Hoschi
17883 Registered Users

Generated in 0.173 seconds in which 0.091 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