Page 1 of 1 1
Topic Options
#38443 - 2003-03-26 09:11 PM Users Manager will not run Kix WIn98 users
outradgus Offline
Fresh Scripter

Registered: 2003-03-25
Posts: 14
Loc: Baltimore
In usmgr I have a bat file called log.bat (contents below)
%0\..\wkix32.exe %0\..\hello.kix

This calls (hello.kix) from the netlogon shares from all DC with RPC loaded as a service Kix ver 4.20

HELLO.KIX contents-----
-------------------------------------------------
SHELL "winset.exe HOMEDIR=@USERID"
IF INGROUP("pro\G-Linthicum_Users")
USE G: "\\PMDUSLINFILE01\@USERID$"
USE M: "\\PMDUSLINFILE01\share"
USE W: "\\PMDUSLINFILE01\WINAPPS"
?"print this statement"
ENDIF
-----------------------------------------------
Its just a small script mapping some drives according to a Win2k Domain
- When logging on to Win98- Its says loading login script but no mappings ever occur-
But- when going to the same win98 pc and opening Network Nei to the DC netlogon share and running the BAT file manually IT WORKS FINE>
DOes anyone have any suggestions on why this is?

Thanks
Dave

Top
#38444 - 2003-03-26 09:41 PM Re: Users Manager will not run Kix WIn98 users
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
not sure but it looks like the issue with wkix32.exe being different than the old console one.

you should add some stuff to your logon.bat.

for windows NT based machines you can just do:
"wkix32 hello"

where as for win9x you need either the line you had or:
"z:\wkix32 z:\hello"

anyway, for win9x you may need to have with wkix32 something like:
start /wait z:\wkix32 z:\hello
_________________________
!

download KiXnet

Top
#38445 - 2003-03-26 09:49 PM Re: Users Manager will not run Kix WIn98 users
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
WKiX is async and as such will not hold the logon.bat file. Wintendos do a smoke and mirrors thing with a Z: drive to overcome redirector limitations. If the logon.bat is not held, the redirector will tear down the temporary Z: drive resulting in errors.

For that reason, it is necessary to hold WKiX with Start /Wait. This issue has been documented before.
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#38446 - 2003-03-27 01:53 PM Re: Users Manager will not run Kix WIn98 users
outradgus Offline
Fresh Scripter

Registered: 2003-03-25
Posts: 14
Loc: Baltimore
I edited my log.bat file that should be call to

Log.bat
------------------
start /wait z:\wkix32 z:\hello.kix
____________________________________

I think this is your suggestion, but this did not start the script either.
Also now when I run it manually it doesn't run either.
Am I typing this correctly?
DO I have to set a variable up for Z:/ ???

THanks for all the help.. Someday I hope to get this thing running.. :-)
Dave

Top
#38447 - 2003-03-27 02:49 PM Re: Users Manager will not run Kix WIn98 users
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
Forget the Z: stuff. Did you not read what I said? The redirector sets up the Z: drive during logon and tears it down afterwards so of course it would not work if you test it manually.

For Wintendo, try:
Start /Wait %0\..\wkix32.exe %0\..\hello.kix
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#38448 - 2003-03-27 02:53 PM Re: Users Manager will not run Kix WIn98 users
outradgus Offline
Fresh Scripter

Registered: 2003-03-25
Posts: 14
Loc: Baltimore
I go this part to work using
----------------
START /WAIT %0\..\wkix32.exe %0\..\hello.kix
-------------------------------
Thanks for all who looked at this-- my next problem is that WINSET is not setting the variable so I can use IN GROUP command.

Can someone look at my script above and give me a clue??
WHat I did is REM'd out the IN Group to test it and the drives mapped.
When I put the USE ... commands within the IN GROUP loop it doesn't work.

Does anyone have a solution?? I think its something with the WINSET command not loading

Any insight is greatly appreciated!!!!

thanks

Top
#38449 - 2003-03-27 02:57 PM Re: Users Manager will not run Kix WIn98 users
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
You don't need WINSET with KiX 4.20. You need to test if/why INGROUP works/doesn't.

Also, try formatting the line like this:
USE G: '\\PMDUSLINFILE01\'+@USERID+'$$'
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#38450 - 2003-03-27 03:34 PM Re: Users Manager will not run Kix WIn98 users
Sealeopard Offline
KiX Master
*****

Registered: 2001-04-25
Posts: 11165
Loc: Boston, MA, USA
You might also want to read the KiXtart Manual and the FAQ Forum.
_________________________
There are two types of vessels, submarines and targets.

Top
#38451 - 2003-03-27 04:38 PM Re: Users Manager will not run Kix WIn98 users
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
jens, I have to agree!

and watching the logon.bat... he will have some problems elsewhere, that's sure.

so, back to manual.
_________________________
!

download KiXnet

Top
#38452 - 2003-03-27 08:11 PM Re: Users Manager will not run Kix WIn98 users
outradgus Offline
Fresh Scripter

Registered: 2003-03-25
Posts: 14
Loc: Baltimore
Thanks for all the quick response- I did change the environment accordingly. Kix on W98 is still having issues. I have installed kix32 ver 4.20 on my Win2k domain and copied dll's kx32,kx16,and kx95 to the c:\windows dir locally. I installed all other dll, exe's on the netlogon shares of all DC's in domain. I did a kxrpc -install and have the service running for RPC on all DC's. I ran kix32 script.kix /r=elir (tried them all) - Made INI to registry keys with no luck. When I log into the W98 pc, the login script runs but nothing that's in the IN GROUP loop will execute unless I go out to the netlogon share and do it manually (this works).
I do get (Failed to load KX32.dll) in the KiXtart.log file, figuring it can't find RPC server which I pointed it to with the /r=L switch. Below is a test environment. I hate to keep asking and I read the manuals which I tried their solutions, but I look for superior knowledge of the pro's.
------log.bat-----
START /WAIT %0\..\wkix32.exe %0\..\hello.kix /r=il
--------------------------------
--------hello.kix---------------
SHELL "winset.exe USERNAME=@USERID"

IF INGROUP("PRO\Administrators")
?"print this statement"
sleep 5
ENDIF

IF @ERROR=o
?@ERROR
;(this always prints 0-no errors)
ENDIF

-------------------------------------------------

-------KiXtart.ini----------------------
[KXRPCMapping]
PRO=\\pmdusrepdc01
Default=\\pmdusrepdc01
-------------------------------------------------

W2k Works fine and again W9x works fine when manually run from Netlogon.

Thanks for all your insight
Dave
KiX amatuer..

Top
#38453 - 2003-03-27 08:33 PM Re: Users Manager will not run Kix WIn98 users
Sealeopard Offline
KiX Master
*****

Registered: 2001-04-25
Posts: 11165
Loc: Boston, MA, USA
First of all, get rid of the DLLs on the local computers. Secondly, is the KXRPC.EXE in C:\WINNT\SYSTEM32 and is the service actually running?

Then put the KIX32.EXE, KX*.DLLs and WKIX32.EXE into the NETLOGON folders and check whether you have replication enabled.

Then create a simple batch file calling the KIX32.EXE and the KiXtart script.

Check whether KiXtart is actually running.

Verify each step.
code:
%0\..\KIX32.EXE %0\..\login.kix

code:
? 'KiXtart v'+@KIX
? 'Press any key'
get $a

_________________________
There are two types of vessels, submarines and targets.

Top
#38454 - 2003-03-27 09:27 PM Re: Users Manager will not run Kix WIn98 users
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
Are you running any extra protocols like IPX or NetBEUI? Any other clients like NetWare? Double-check the versions on the DLLs. KX95.DLL is the one that talks to the RPC service.
_________________________
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:  Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart 
Hop to:
Shout Box

Who's Online
0 registered and 2220 anonymous users online.
Newest Members
Viginette, ManuvdWielNL, Sir_Barrington, batdk82, StuTheCoder
17888 Registered Users

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