#38443 - 2003-03-26 09:11 PM
Users Manager will not run Kix WIn98 users
|
outradgus
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
|
|
|
|
#38446 - 2003-03-27 01:53 PM
Re: Users Manager will not run Kix WIn98 users
|
outradgus
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
|
|
|
|
#38448 - 2003-03-27 02:53 PM
Re: Users Manager will not run Kix WIn98 users
|
outradgus
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
|
|
|
|
#38452 - 2003-03-27 08:11 PM
Re: Users Manager will not run Kix WIn98 users
|
outradgus
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
|
|
|
|
Moderator: Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart
|
0 registered
and 756 anonymous users online.
|
|
|