|
After upgrading to kix402 a dialogue pops up with the following message:
Title: Error Starting Program Message: A required .DLL file, Z:\KIX32.EXE, was not found.
I was running KIX363 in emulation mode on Win98. I replaced the original Lmscript.exe and used kix402update.exe to update.
I tried replacing IPHLPAPI.DLL from Mobile95.cab of IE55 to no avail
I specify kixlogin in User Manager
***kixlogin.bat @echo off if not exist %windir%\kix402.ok %0\..\kix402update.exe /q if not exist %windir%\kix402.ok goto networklogin %windir%\kix32 %0\..\kixlogin.kix
:networklogin %0\..\KIX32 %0\..\kixlogin.kix exit _________________
***kixlogin.kix ****;Version info only - Move Comments to bottom of script $Version="31.05.2002-17.59"
Break Off If Exist ("%windir%\kix402.ok") = 0 @SCRIPTDIR + "\kix402update.exe /q" EndIf
If Exist ("C:\WINDOWS\SYSTEM\LMSCRIPT.EXE") $LMVER = GetFileVersion ("C:\WINDOWS\SYSTEM\LMSCRIPT.EXE",InternalName) If InStr ($LMVER, "KIX") Copy "@SCRIPTDIR\Configs\lmscript\Lmscript.exe" "%windir%\Lmscript.nat" WriteValue("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run","NLMSCRIPT",'command.com /c copy "%windir%\Lmscript.nat" "C:\WINDOWS\SYSTEM\LMSCRIPT.EXE" /Y',"REG_SZ") $ExitMessage = MessageBox ("Your machine is being updated in order run new logon scripts. Please logoff and log back on for the new logon scripts to take effect", "Configuring machine for new logon scripts...", 016, 10) Cookie1 Exit Else DelValue("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run","NLMSCRIPT") Del "%windir%\Lmscript.nat" EndIf EndIf
$Product = @PRODUCTTYPE ; New macros version 4.02 $Suite = @PRODUCTSUITE
? "@startdir"
If Exist (c:\debuglog.flg) = 1 Debug On EndIf
:DATETIME ;Set up date and time variables for logging functions $DD = @mdayno If Len("$DD") = 1 $DD = "0" + $DD EndIf $MM = @monthno If Len("$MM") = 1 $MM = "0" + $MM EndIf $YYYY = @year $date = "$DD/$MM/$YYYY" $time = SubStr(@time,1,5) :ENDDATETIME
Select Case $product = "Windows NT Server" OR $product = "Windows NT Domain Controller" OR $product = "Windows 2000 Server" OR $product = "Windows 2000 Domain Controller" OR $product = "Windows .Net Server" OR $product = "Windows .Net Domain Controller" OR $suite > 0 $ExitMessage = MessageBox ("Your account is not configured to allow the running of a login script on Server products", "Exiting Login script process ...", 016, 3) Exit Case $product = "Windows Me" OR $product = "Windows 2000 Professional" OR $product = "Windows XP Home Edition" OR $product = "Windows XP Professional" $ExitMessage = MessageBox ("Your account is not configured to allow the running of a login script on this type of Operating System", "Non Supported Product Type - Exiting Login script process ...", 016, 3) Exit Case $product = "Windows 95" OR $product = "Windows 98" Goto Commonstart Case $product = "Windows NT Workstation" ;**** Machine Environment variable i.e. GCC image does not have ? If "%BusinessUnit%"="IT" $ExitMessage = MessageBox ("Image to Account mismatch", "Exiting Login script process ...", 016, 3) Exit EndIf Goto Commonstart EndSelect
:Commonstart
SetTime "\\GBCWCOM1D002"
$BU = "NoBU" ; Business Unit Check only and carry over to site.bat
Select Case InGroup ("Business2k") ; Is this Business Unit Still necessary $BU = "IT" $Dlevelscript = "2k.kix" ;Currently 2k.bat Case InGroup ("BusinessBI") $BU = "Bi" $Dlevelscript = "bi.kix" ;Currently bi.bat Case InGroup ("BusinessBS") $BU = "Bs" $Dlevelscript = "bs.kix" ;Currently bs.bat Case InGroup ("BusinessCC") $BU = "CC" $Dlevelscript = "cc.kix" ;Currently cc.bat Case InGroup ("BusinessCP") $BU = "CP" $Dlevelscript = "cp.kix" ;Currently cp.bat Case InGroup ("BusinessCS") $BU = "CS" $Dlevelscript = "cs.kix" ;Currently cs.bat Case InGroup ("BusinessFN") $BU = "FN" $Dlevelscript = "fn.kix" ;Currently fn.bat Case InGroup ("BusinessHR") $BU = "HR" $Dlevelscript = "hr.kix" ;Currently hr.bat Case InGroup ("BusinessIP") $BU = "IP" $Dlevelscript = "ip.kix" ;Currently ip.bat Case InGroup ("BusinessIT") $BU = "IT" $Dlevelscript = "it.kix" ;Currently it.bat Case InGroup ("BusinessLG") $BU = "LG" $Dlevelscript = "lg.kix" ;Currently lg.bat Case InGroup ("BusinessOP") $BU = "OP" $Dlevelscript = "op.kix" ;Currently op.bat EndSelect
If $BU <> "NoBU" ReDirectOutput ("H:\BUOK.TXT",1) = 1 ? "Membership of Business Unit is OK" ReDirectOutput ("") = 1 Else ReDirectOutput ("\\gbcwcom1sw02\logs$\gbcwcom1\NoBU\@USERID.txt",1) = 1 ? @address + "~" + @wksta + "~" + $OS + "~" + $GetVersion + "~" + @ipaddress0 + "~" + @userid + "~" + @fullname + "~" + $date + "~" + $time + "~" + @domain ReDirectOutput ("") = 1 $ExitMessage = MessageBox ("Your account is not configured with a Business Unit Group. Please contact the helpdesk on 7774 and inform that your Domain logon account does not have a Business Unit assigned to it.", "No Business Unit ...", 016, 20) Exit EndIf
$Site = "Nosite"
Select Case InGroup ("SITEAPO") ; Think about taking users out of this group i.e. No customers at this site $Site = "SITEAPO" ;**** - Case ingroup ("SITEBAG") 1 User needs to be moved to SITEWAR1 or similar ;**** - $Site = "SITEBAG" Case InGroup ("SITEBCO") $Site = "SITEBCO" Case InGroup ("SITEBEQ") $Site = "SITEBEQ" Case InGroup ("SITEBLE") $Site = "SITEBLE" Case InGroup ("SITEBLF") $Site = "SITEBLF" Case InGroup ("SITEBRK1") $Site = "SITEBRK1" Case InGroup ("SITEBRK2") $Site = "SITEBRK2" Case InGroup ("SITEBRT1") $Site = "SITEBRT1" ;**** - Case ingroup ("SITEBRT2") Users need to be moved to SITEBRT1 ;**** - $Site = "SITEBRT2" Case InGroup ("SITEBRT3") $Site = "SITEBRT3" Case InGroup ("SITEBSH") $Site = "SITEBSH" ;**** - Case ingroup ("SITEDOC") 1 User needs to be moved to SITERLS or similar ;**** - $Site = "SITEDOC" Case InGroup ("SITEDUB") $Site = "SITEDUB" Case InGroup ("SITEGCC") $Site = "SITEGCC" ;**** - Case ingroup ("SITEGLB1") 1 User needs to be moved to SITEGLB2 ;**** - $Site = "SITEGLB1" Case InGroup ("SITEGLB2") $Site = "SITEGLB2" Case InGroup ("SITELAC") ; Think about taking users out of this group i.e. No customers at this site $Site = "SITELAC" ;**** - Delete SITELAN Group - Only IBMers left in ;**** - Case ingroup ("SITELEE") Users need to be moved to SITEWAR1 or similar ;**** - $Site = "SITELEE" ;**** - Case ingroup ("SITELEW1") Users need to be moved to SITERLS or similar ;**** - $Site = "SITELEW1" ;**** - Case ingroup ("SITEMNW") Users need to be moved to SITEGCC ;**** - $Site = "SITEMNW" ;**** - Case ingroup ("SITEMSH") 1 User needs to be moved to SITEWAR1 or similar ;**** - $Site = "SITEMSH" Case InGroup ("SITERKS") $Site = "SITERKS" Case InGroup ("SITERLS") $Site = "SITERLS" Case InGroup ("SITESMH") $Site = "SITESMH" ;**** - Delete SITESSX Group - Only IBMers left in ;**** - Delete SITESWA1 Group - Only IBMers left in Case InGroup ("SITESWI") $Site = "SITESWI" Case InGroup ("SITEWAR1") $Site = "SITEWAR1" Case InGroup ("SITEWAR2") $Site = "SITEWAR2" Case InGroup ("SITEWAT") $Site = "SITEWAT" Case InGroup ("SITEWBP") $Site = "SITEWBP" Case InGroup ("SITEWEA") $Site = "SITEWEA" ;**** - Case ingroup ("SITEWTR") Users need to be moved to SITEBRT1 or similar ;**** - $Site = "SITEWTR" EndSelect
If $Site <> "Nosite" Call @scriptdir + "\Site.kix" Else ReDirectOutput ("\\gbcwcom1sw02\logs$\gbcwcom1\Nosite\@USERID.txt",1) = 1 ? @address + "~" + @wksta + "~" + $OS + "~" + $GetVersion + "~" + @ipaddress0 + "~" + @userid + "~" + @fullname + "~" + $date + "~" + $time + "~" + @domain ReDirectOutput ("") = 1 $ExitMessage = MessageBox ("Your account is not configured with a Site Group. Please contact the helpdesk on 7774 and inform that your Domain logon account does not have a Site Group assigned to it.", "No Site Group ...", 016, 20) Exit EndIf
:NTstart If ($product = "Windows NT Workstation")
EndIf :NTend
:9xstart If ($product = "Windows 95" OR $product = "Windows 98") ; Map H-drive for Win9x clients
If @homeshr <> "" Use H: /d Use H: @homeshr EndIf
;**** - if exist c:\network.reg del c:\network.reg ;**** - START /MIN %0\..\PATCHME.BAT 95 EndIf :9xend
:AVstart Call @scriptdir + "\Av.kix" :AVend
:Wsfixesstart Call @scriptdir + "\Wsfixes.kix" :Wsfixesend
:Quickfixwsstart Call @scriptdir + "\Quickfixws.kix" :Quickfixwend
if ($product = "Windows 95" OR $product = "Windows 98") cookie1 endif
Exit ;Ensure that @lDomain is not used unless on NT
Any ideas ? on why I am receiving this error
|