#3640 - 2000-07-30 01:28 AM
Kix32 Error with Win95/98 clients
|
Anonymous
Anonymous
Unregistered
|
This is a little weird, but hopefully someone out there could help me out. I have just instituted the KXRPC service on my BDC and PDC, and tried a login script that will get the home directory for each Win95/98 user from User manager for domains. ON some Win95/98 machines this works flawlessly, Others I get a Kix32 exception in Kix32. It happened on a Win95 and a Win98 system, and then 2 others I tried it worked flawlessly. My question is: After you install the KXRPC service on the PDC/BDC's, do you have to put the KX16.dll and KX32.dll files in the C:\Windows\System directory for this to work. I have seen it work without but the 3.6.1 documentation claims it needs kx16.dll and kx95.dll Anyone? Please email me if you know.... Sincerely, Ed Ziots eziots@lifespan.org
|
|
Top
|
|
|
|
#3642 - 2000-07-30 03:06 AM
Re: Kix32 Error with Win95/98 clients
|
Anonymous
Anonymous
Unregistered
|
I just downloaded the KIX362update executable. Problem is that I am using Kix32 V3.61 on my server. Next problem is, I have 500 users that need to have home directories mapped correctly. Therefore do I have to run this update locally on each system, and if so, where do I need to add the files to? ( I guess C:\windows\system?) Is there any registry hacks? etc etc? I have the KX16.dll KX32.dll and KX95.dll in my netlogon share, and I am planning on getting KXRPC service on each and every PDC/BDC in the domain, so do I really need to push down the Files to the user workstations. ( Only if they are Win95/98, NT functionality works fine without the script) Please advise, Sincerely, Ed eziots@lifespan.org
|
|
Top
|
|
|
|
#3643 - 2000-07-31 03:10 PM
Re: Kix32 Error with Win95/98 clients
|
Anonymous
Anonymous
Unregistered
|
eziotsCheck the following portion of my batch file. NT is a breeze with Kix, but 95 has had some issues. I support 500 people also and copying kix down to the c:\windows directory took a LOT of headaches away. GOTO KIX REM set the destination directory for KiXtart files REM for Windows directory use SET KIXDIR=%WINDIR% :KIX SET KIXDIR=%windir% REM The following line points the machine to the server running the Kix RPC service SET kxrpc=\\servername REM set the full UNC path to the KiXtart script REM (the Z: drive cannot be used here, it no longer exists when REM the KiXtart script is running from RunOnce) SET KIXSCRIPT=\\SERVERNAME\NETLOGON\KIXTART.KIX REM set the filename of the KiXtart version tag; REM change this name to upgrade to a newer version of KiXtart SET KIXVER=KIX361.TAG REM --------------------------------------------------------------------- REM perform a completely new install or upgrade of KiXtart REM if the current version tag can not be found IF EXIST %KIXDIR%\%KIXVER% GOTO KIXCOPIED COPY %0\..\KIX32.EXE %KIXDIR% /Y >NUL COPY %0\..\KX16.DLL %KIXDIR% /Y >NUL COPY %0\..\KX32.DLL %KIXDIR% /Y >NUL COPY %0\..\KX95.DLL %KIXDIR% /Y >NUL ECHO. >%KIXDIR%\%KIXVER% :KIXCOPIED REM check all KiXtart files individually and restore them REM if something has been deleted accidentally by the user IF NOT EXIST %KIXDIR%\KIX32.EXE COPY %0\..\KIX32.EXE %KIXDIR% >NUL IF NOT EXIST %KIXDIR%\KX16.DLL COPY %0\..\KX16.DLL %KIXDIR% >NUL IF NOT EXIST %KIXDIR%\KX32.DLL COPY %0\..\KX32.DLL %KIXDIR% >NUL IF NOT EXIST %KIXDIR%\KX95.DLL COPY %0\..\KX95.DLL %KIXDIR% >NUL COPY %0\..\KIXTART.KIX %KIXDIR% /Y >NUL REM cd\%kixdir% KIX32.EXE KIXTART.KIX
|
|
Top
|
|
|
|
#3644 - 2000-07-31 07:46 PM
Re: Kix32 Error with Win95/98 clients
|
Anonymous
Anonymous
Unregistered
|
I tried your suggesstions to no avail. THE IF NOT EXIST statement wouldnt take. Also the SET statements will not work in Win95/98, it says something abotu the WINSET.exe and usign a SHELL command, but I am unfamiliar with this. Here is the Part I need to happen. ( Maybe I can get some guidance from here, because it aint copying KX95.dll, KX32.dll and KX16.dll from my NETLOGON share to the local C:\windows system MY Script is as follows: AT(6,10)"Determining logon parameters.... Please wait!" sleep 5 IF @INWIN=1 AT (7,10) "Your Operating System is: Windows NT 4.0" ELSE AT (7,10)"Your Operating System is: Windows 95/98" AT(8,10) "Checking your computer for login script compatability" REM "This part is the part I am having trouble getting to copy down." I have tried the IF NOT EXIST statement only to have it not work, basically an error in syntax or something" COPY %0\..\Kix16.dll "%windir%\system\" COPY %0\..\KIX32.dll "%windir%\system\" COPY %0\..\KIX(5.dll "%windir%\system\" ENDIF AT(9,10) "Today is "@MONTH" "@MDAYNO", "@YEAR"" AT(10,10) "Your Domain is "@DOMAIN"" AT(11,10)"Your Workstation name is: @WKSTA" AT(12,10)"Your Username is:" AT(12,30)"@DOMAIN\@USERID" AT(13,10)"Your Logon Server is:" AT(13,32)@lserver AT(14,10)"Your IP address is:" AT(14,30)"@IPADDRESS0" AT(15,10)"Your Home Directory is:" at(15,36)@HOMEDRIVE AT(15,38)@HOMESHR At(16,10)"Setting up your homedrive" AT(16,36)@HOMEDRIVE AT(16,39)"to" AT(16,42)@HOMESHR use @HOMEDRIVE /d use @HOMEDRIVE @HOMESHR sleep 5 AT(17,10) "NETWORK SETUP COMPLETE!" exit
Any and all replies please email me at eziots@lifespan.org Thanks Mucho, Ed
|
|
Top
|
|
|
|
#3645 - 2000-07-31 09:44 PM
Re: Kix32 Error with Win95/98 clients
|
Anonymous
Anonymous
Unregistered
|
My users run login.bat on login. The batch file is what checks for Kix files on the local drive and where you would place the IF, THEN statement and: COPY %0\..\Kix16.dll "%windir%\system\" COPY %0\..\KIX32.dll "%windir%\system\" COPY %0\..\KIX(5.dll "%windir%\system\" Once the files are copied...then I run the kix file KIX32.EXE KIXTART.KIX Make sure you have the following somewhere in the batch file: SET KIXSCRIPT=\\SERVERNAME\NETLOGON\KIXTART.KIX
|
|
Top
|
|
|
|
#3646 - 2000-07-31 10:50 PM
Re: Kix32 Error with Win95/98 clients
|
Anonymous
Anonymous
Unregistered
|
Thanks, that is what I was looking for. I will look to code mine the following way. Although I got soem feedback from someone on Brainbuzz.com that the KX95,KX16,KX32.dll files are not needed on the Workstation if you have them on the share. Do you concur? Have you seen it work this way? Ed
|
|
Top
|
|
|
|
#3650 - 2000-08-02 02:49 PM
Re: Kix32 Error with Win95/98 clients
|
Anonymous
Anonymous
Unregistered
|
Thanks for all the wonderful feedback. I have a few more questions.. ( Thanks for your patience) 1) Can I just put the kix361update in the NETLOGON share of my PDC and call this update for all new users? It look something like this. In the .Bat script itself. IF NOT EXIST "%windir%\System32\kix16.dll" goto Update. :Update
"C:\WINNT\System32\repl\import\scripts\kix361update.exe" Will this be enough to run the kix361update from the netlogon share on the WIN95 station? I take it that the KIX361update will put the KX16.dll KX32.dll and KX95.dll in the C:\Windows ( or C:\windows\system) directory for Win95 or C;\Winnt direcotry on NT. Can anyone confirm/deny my suspicions? Again, thanks to all in helping me with this issue, this is my first time using kix scripting, so I am learning as I go. Sincerely, Ed Ziots eziots@lifespan.org
|
|
Top
|
|
|
|
#3652 - 2000-08-02 07:54 PM
Re: Kix32 Error with Win95/98 clients
|
MCA
KiX Supporter
   
Registered: 2000-04-28
Posts: 5152
Loc: Netherlands, EU
|
Dear,Simple place the following statement in your login script. Not your Kixtart script. code:
%0\..\kix361update.exe
Another call can be: code:
if not exit c:\kix362.ok %0\..\kix361update.exe
Procedure check automatically for a neccessary update. During an update it creates the c:\kix362.ok file. The last version prevents a check each time. The last version is required. It is optional. Greetings.
|
|
Top
|
|
|
|
#3653 - 2000-08-02 08:36 PM
Re: Kix32 Error with Win95/98 clients
|
Anonymous
Anonymous
Unregistered
|
Thanks much MCA, and FL, between you both, I have gotten this up and working. Now I just have to combine the other scripts from my Domain, into my regular one, and come out with 1 regular script for about 2000+ users. Sincerely, Ed
|
|
Top
|
|
|
|
Moderator: Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart
|
0 registered
and 657 anonymous users online.
|
|
|