Page 1 of 1 1
Topic Options
#545 - 1999-09-30 07:52 AM Stupid me...
Anonymous
Unregistered


Ok, I´m new to this, but I´ve been put in charge on managing 400 win 95/98 clients and a couple of NT servers. I have a big problem with KIX!
I have placed the following files in the netlogon folder of my PDC (don´t have any BDC yet):
Kix32.exe
Kx32.dll
Kx16.dll
Kx95.dll
winset.exe

I have also started the KXRPC service on the server.

On the client side I have put the:
Kix32.exe
Kx16.dll
Kx32.dll
Kx95.dll

In Usermanager for domains I have added this line:
script1.bat

The .bat file contains:

@echo off
z:\kix32.exe script1.scr
exit

From there I have written exactly as they have done in Q162793 on microsofts homepage, both in script1.scr and macro.bat.
But it dosen´t seem to work. What am I doing wrong?
Does it have something to do with the z: drive?
Is Z: some kind of default for the netlogon folder?

I know this sound a little bit stupid, but I am pretty new at this, so any help would be greatly appriciated.
You can e-mail me at: uppfinnaren@rocketmail.com

------------------
Tony Nordin

Top
#546 - 1999-09-30 08:38 AM Re: Stupid me...
PaulMoxey Offline
Getting the hang of it

Registered: 1999-07-22
Posts: 90
Loc: Villawood, NSW, Australia
You've copied kix32 to the clients, but where abouts on the client? I presume this is to "speed up" execution. just make sure that the batch file calls for the kix32.exe from the appropriate location.

By default, when logging in, the netlogon share of the domain Controller is always mapped as the last available drive letter, and hence is *usually* Z:. (I always make my CD-ROM Z: so regardless what other extra HDD's and removeable media I add, the CD always stays the same)

Hence, the example given by Microsoft will "usually" work, but not necessarily always. you should ideally use:
%0\..\kix32.exe %0\..\scriptname.kix
or %windor\kix32.exe %0\..\scriptname.kix (if thats where the .exe & .dll's reside)

What "doesn't seem to work"? No script executio at all? Script fails?

------------------
Paul Moxey
POS & Senior Network Administrator
Taubmans Pty Ltd
Paul_Moxey@taubmans.com.au

_________________________
Paul Moxey POS & Senior Network Administrator BarloworldCoatings (AUST) Pty Ltd

Top
#547 - 1999-10-01 01:52 AM Re: Stupid me...
Anonymous
Unregistered


Well, I have put the kix32.exe on the clients cause I read somewhere that I needed to do that. Is that not necessery? Is it enough to put the kx16.dll, kx32.dll and kx95.dll in the windows/system/ folder of the 95/98 clients?

The kixscript executes but jumps out after running the first or second line of the Script1.scr.

the first and second lines are:
? ""Setting DOS varibles..."
SHELL "Winset.exe USERNAME=@USERID"

I have figured out that "?" is like a REM line, smart huh?

But the SHELL command? SHELL out to/from the KIX engine?

Oh, and here is the last entrys in my KIX log...

1999/09/30 13:42:35 - Failed to locate/connect to a KXRPC server Error : Nätverkssökvägen kan inte hittas. (0x35/53)
1999/09/30 13:45:58 - Failed to locate/connect to a KXRPC server Error : Nätverkssökvägen kan inte hittas. (0x35/53)
1999/09/30 13:58:58 - Failed to locate/connect to a KXRPC server Error : Nätverkssökvägen kan inte hittas. (0x35/53)

Nätverkssökvägen kan inte hittas. That´s swedish and translates to:
"The Networkpath cannot be found."

Can I run the Script in some kind of debug mode?

Thanks a lot for the help so far...



Top
#548 - 1999-10-01 08:04 AM Re: Stupid me...
PaulMoxey Offline
Getting the hang of it

Registered: 1999-07-22
Posts: 90
Loc: Villawood, NSW, Australia
You don't "have" to copy the .exe & .dll's to the client. IT just has the potential to make things a little bit faster than executing them from the netlogon share all the time. (Particularly for remote/dialup users)

Actually the "?" is like an ECHO or PRINT statement.
Remember how old DOS programs used to sometimes have a "DOS SHELL"? This is similar to the SHELL command. It temporarily goes to a DOS prompt/shell and then returns as soon as that command is finished.

kix32 /d scriptname.kix will run in debug mode. This will make the top line of your DOS screen show the command to exscure before doing it. Press ENTER to go through one line at a time, or F5 to process the whole lot.

The entries in your logfile do look a bit like it can't find the Z: drive.
try %0\..\kix32.exe %0\..\scriptname.kix

------------------
Paul Moxey
POS & Senior Network Administrator
Taubmans Pty Ltd
Paul_Moxey@taubmans.com.au

_________________________
Paul Moxey POS & Senior Network Administrator BarloworldCoatings (AUST) Pty Ltd

Top
#549 - 1999-10-03 09:11 PM Re: Stupid me...
Anonymous
Unregistered


Something to think about.
If you intended using Z: drive mapping to the NETLOGON directory, you will experience problems in the future with unusual high traffic to the site. Peaking around 95% - 100% This is because directory replication. With client pc's having the Z: drive mapped, it creates dirsync to fail because files are open or inuse. The server misses it dirsync cycle and inturn login scripts and batch files in the NETLOGON directory are outdated. Then you will start getting errors, which seems to be something that should be in XFILES. On remote sites using 64k links or dialup facilities, 100% utilization is a killer forcing links to be unusable for 5 - 10 minutes, every 1 - 2 hours depending on what needs to be replicated and how big your network is.

To get around this make sure you delete the Z: drive mapping when you finish, or even better use Paul Moxey solution ( see above )

Top
#550 - 1999-10-04 06:55 AM Re: Stupid me...
Anonymous
Unregistered


Thanx all. If you check out Q162793 on Microsofts homepage sunder section 5.0 "creating macro.bat"

The macro starts with:
</ITEM>

I removed that line caused it looked like HTML, and the scripts is now working!
Or was the </ITEM> line there for a reason?

I also used the
%0/../kix32.exe %0 /scrip.kix
and it worked like a charm, even though I don´t understand the syntax involed. Are there any good KIX books I could read?


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 988 anonymous users online.
Newest Members
Viginette, ManuvdWielNL, Sir_Barrington, batdk82, StuTheCoder
17888 Registered Users

Generated in 0.051 seconds in which 0.023 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