I read your original post and I was exactly where you are about one month ago. I have convinced the powers that be around here that Kixtart is the way to go.I have recently translated all of our logon scripts and I can say that it is a powerful tool. Here's the main script, there is some IP reading to determine which subnet people are on to install local virus definitions. The mappings are a little wacky, but I find this way faster than the "if ingroup" command.
*********************************************
; Script: yeg02.kix
; Contact: kdyjur@ikon.com
; Description: Draft for Harmonized Logon Script CANADA
;setconsole("hide")
MessageBox ("Logging @userid onto the Network","Network Logon",64)
;Check Norton Virus Definitions
$X=ReadProfileString("c:\Program Files\Common Files\Symantec Shared\VirusDefs\Definfo.dat","DefDates","CurDefs")
If @Error=0
$DefDate=SubStr($X,1,8)
If $DefDate="20020123" Goto end ;Virus Definitions Current
Else
$ask = Messagebox ("New Virus Definitions are available for Norton AntiVirus" + chr(10) + chr(13) + "Do you wish to update?" + chr(10) + chr(13) + chr(10) + "NOTE: Remote users with slow network connections should" + chr(10) + chr(13) + "perform a Live Update manually to avoid long logon times","Virus Risk Detected",276,0)
If $ask = 7 goto end endif
$subnet = Val(Substr(@ipaddress0, 9, 3))
$var1 = "0123i32" ;Change this number to match new virus definitions
Select
Case $subnet = 198 Shell "\\yvr01-nts-01\nas\" + $var1 + ".exe /q" ;Vancouver
Case $subnet = 199 Shell "\\yyc01-nts-01\nas\" + $var1 + ".exe /q" ;Calgary
Case $subnet = 187 Shell "\\yeg03-nts-01\nas\" + $var1 + ".exe /q" ;Edmonton
Case $subnet = 189 Shell "\\ywg01-nts-01\nas\" + $var1 + ".exe /q" ;Winnipeg
Case $subnet = 10 Shell "\\yyz01-nts-04\nas\" + $var1 + ".exe /q" ;Mississauga
Case $subnet = 1 Shell "\\ykf01-nts-02\nas\" + $var1 + ".exe /q" ;King Street
Case $subnet = 50 Shell "\\yul01-nts-01\nas\" + $var1 + ".exe /q" ;Montreal
Case $subnet = 80 Shell "\\yhz01-nts-01\nas\" + $var1 + ".exe /q" ;Halifax
Case 1 Shell "\\yeg01-nts-02\nas\" + $var1 + ".exe /q" ;CSC or Remote Branches without server
EndSelect
EndIf
Else
Goto end ;NAV not installed
EndIf
:end
WriteValue("HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings","ProxyEnable","1","REG_BINARY")
WriteValue("HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings","ProxyServer","ikn01-pxy-19.ikon.org:80","REG_SZ")
WriteValue("HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings","ProxyOverride","*.ikon.org;","REG_SZ")RedirectOutput("\\yeg01-nts-02\ikon\@userid.log") = 1
? "*******************"
? "@USERID (@FULLNAME)"
? "@TIME, @DAY, @DATE"
? "Computer Name: @WKSTA"
? "MAC Address: @ADDRESS"
If @inwin = 1 ? "Operating System: Windows NT" Else ? "Operating System: Windows 95/98, Version" + @DOS Endif
? ""
RedirectOutput("")
use F: @homeshr
If exist ("C:\windows\explore.exe") Del "C:\windows\explore.exe" Endif
; Drive Mappings CSC
If exist ("\\yeg01-nts-02\netlogon\edmonton\it_share\it_share.bat")= 1 use g: "\\yeg01-nts-06\it_share" Endif
If exist ("\\yeg01-nts-02\netlogon\edmonton\dispatch\dispatch.bat")= 1 use g: "\\yeg01-nts-06\Dispatch" Endif
If exist ("\\yeg01-nts-02\netlogon\edmonton\sales\sales.bat") = 1 use h: "\\yeg01-nts-02\Sales" Endif
If exist ("\\yeg01-nts-02\netlogon\edmonton\st\st.bat") = 1 use h: "\\yeg01-nts-02\st" Endif
If exist ("\\yeg01-nts-02\netlogon\edmonton\billing\billing.bat") = 1 use i: "\\yeg01-nts-02\billing" Endif
If exist ("\\yeg01-nts-02\netlogon\edmonton\finance\finance.bat") = 1 use i: "\\yeg01-nts-02\finance" Endif
If exist ("\\yeg01-nts-02\netlogon\edmonton\ims\ims.bat") = 1 use i: "\\yeg01-nts-02\ims" Endif
If exist ("\\yeg01-nts-02\netlogon\edmonton\finance2\finance2.bat") = 1 use j: "\\yeg01-nts-02\finance2" Endif
If exist ("\\yeg01-nts-02\netlogon\edmonton\capital2\capital2.bat") = 1 use k: "\\yeg01-nts-02\Canada" Endif
If exist ("\\yeg01-nts-02\netlogon\edmonton\can_fin\can_fin.bat") = 1 use n: "\\yeg01-nts-02\Can_Fin" Endif
If exist ("\\yeg01-nts-02\netlogon\edmonton\operator\operator.bat") = 1 use o: "\\yeg01-nts-02\operations" Endif
If exist ("\\yeg01-nts-02\netlogon\edmonton\ikonfy02\ikonfy02.bat") = 1 use o: "\\yeg01-nts-02\ikonfy02" Endif
If exist ("\\yeg01-nts-02\netlogon\edmonton\disticom\disticom.bat") = 1 use p: "\\yeg02-nts-01\disticom" Endif
If exist ("\\yeg01-nts-02\netlogon\edmonton\payroll\payroll.bat") = 1 use p: "\\yeg01-nts-02\payroll" Endif
If exist ("\\yeg01-nts-02\netlogon\edmonton\tdbank\tdbank.bat") = 1 use q: "\\yeg01-nts-02\tdbank" Endif
If exist ("\\yeg01-nts-02\netlogon\edmonton\hr\hr.bat") = 1 use r: "\\yeg01-nts-02\hr" Endif
; YEG Marketplace
If exist ("\\yeg01-nts-02\netlogon\edmonton\pricelst\pricelst.bat") = 1 use l: "\\yeg01-nts-02\pricelist" Endif
If exist ("\\yeg01-nts-02\netlogon\edmonton\telemark\telemark.bat") = 1 use l: "\\yeg01-nts-02\telemark" Endif
If exist ("\\yeg01-nts-02\netlogon\edmonton\salesdoc\salesdoc.bat") = 1 use m: "\\yeg01-nts-02\salesdoc" Endif
If exist ("\\yeg01-nts-02\netlogon\edmonton\commis\commis.bat") = 1 use n: "\\yeg01-nts-02\commis" Endif
If exist ("\\yeg01-nts-02\netlogon\edmonton\forecast\forecast.bat") = 1 use p: "\\yeg01-nts-02\forecast" Endif
If exist ("\\yeg01-nts-02\netlogon\edmonton\commissions\commissions.bat") = 1 use t: "\\yeg01-nts-02\commissions" Endif
If exist ("\\yeg01-nts-02\netlogon\edmonton\marketing\marketing.bat") = 1 use u: "\\yeg01-nts-02\marketing" Endif
If exist ("\\yeg01-nts-02\netlogon\edmonton\ts\ts.bat") = 1 use v: "\\yeg01-nts-02\ts" Endif
********************************************
All that I can say is that switching to Kixtart was tough at first, but there is no bulletin board anywhere that I can find for command that even touches this one for support.