I am receiving this message when our users are logging onto to the network:
ERROR: error in USE statement!
Script: \\maindc1\Netlogon\kixtart.kix
line ;82
Below is a current copy of our Kix Script. I had made some changes in the script because we have retired some of our servers and have moved files and programs to new servers. We are currently running Server 2003 and the Kix is Kixtart 2001. I made changes earlier in the summer to our kix script for two of the schools' new servers and did not receive this message. On the particular line 82 that is giving me this error, I have no changes to this part of the script. I'm fairly new at KIX but I have made changes in the past and have not received these errors...
We are also running this particular script through Active Directory Users and computers.
Thanks
Suzanne McClelland
Page Unified School District #8
here is the copy of our kix script:
Code:
; KIXTART.KIX
;
; Logon Script for entire District
;
;
; Author: Denise Hatcher
; Creation Date: 04-11-03
; Modified by: Suzanne McClelland
; Date Modified: 08-03-06
; ***** Notice always put quotes around UNC's with a $ in it. ***
;
;
;
;-------------- Mappings for H:Drive -----------------
;
;------------------ Set Variables ---------------------
$Admin="\\Admin\"
$Tech2="\\Tech2\"
$Sanddevil2="\\SandDevil2\"
$Sanddevil3="\\SandDevil3\"
$Panthers2="\\Panthers2\"
$Panthers3="\\Panthers3\"
$Bobcats2="\\Bobcats2\"
$Bobcats3="\\Bobcats3\"
$Eagles2="\\Eagles2\"
$Eagles3="\\Eagles3\"
$username=@userid
$extension="$"
$machinename=SUBSTR(@wksta,1,2)
;---------- Set Group Var based on Users home site ------------
IF INGROUP("UsersHS")
$SiteServer=$Sanddevil3
$SiteExt="HS"ENDIF
IF INGROUP("UsersMS")
$SiteServer=$Panthers3
$SiteExt="MS"
ENDIF
IF INGROUP("UsersLV")
$SiteServer=Eagles3
$SiteExt="LV"
ENDIF
IF INGROUP("UsersDV")
$SiteServer=$Bobcats3
$SiteExt="DV"
ENDIF
IF INGROUP("UsersDO")
$SiteServer=$Admin
$SiteExt="DO"
ENDIF
IF INGROUP("Domain Admins")
$SiteServer=$Tech2
$SiteExt="TE"
ENDIF
$HomeDir=$SiteServer+$UserName+$Extension
USE H: $HomeDir
;
;-------------- Mappings based on Member Groups -----------------
;The next area is used to connect to network resources and
;File shares based on group the User is a Member of.
;
;
;------------------All SASI Mappings -----------------
IF INGROUP("SASI")
USE P: "\\Panthers\SasiXP$"
USE Q: "\\Bobcats\SasiXP$"
USE R: "\\Eagles\SasiXP$"
USE S: "\\SandDevil\SasiXP$"
Copy "\\sanddevil\DISasi$\SASI-S~1.LNK" "C:\Documents and Settings\" + $username + "\Desktop"
ENDIF
; ---------------- Technology ------------
IF INGROUP("Domain Admins")
USE F: "\\Tech2\APPS$"
USE I: "\\Tech2\Images$"
USE J: "\\Bobcats3\Images$"
USE K: "\\Eagles3\Images$"
USE L: "\\Panthers\Images$"
USE M: "\\SandDevil3\Images$"
USE N: "\\Tech2\Nas$"
ENDIF
; ----------------District Office------------
IF INGROUP("UsersDO")
USE F: "\\Admin\APPS"
ENDIF
IF INGROUP("DOCommon")
USE I: "\\Admin\DO$"
ENDIF
IF INGROUP("HRCommon")
USE J: "\\Admin\HR$"
ENDIF
IF INGROUP("PerformNow")
USE V: "\\Admin\SecureApps$"
ENDIF
IF INGROUP("Administration")
USE G: "\\Admin\DOAdmin$"
ENDIF
;------------------ EdServices Mappings ---------------------
IF INGROUP("IEPProviders")
USE I: "\\Admin\IEPProviders$"
ENDIF
IF INGROUP("EdServices")
USE Y: "\\Admin\EdServices$"
ENDIF
;IF INGROUP("IEPProviders") AND EXIST ("C:\AdobeYes.txt")=0
; RUN "\\tech\eXpress\rinstall\AdobeFull.exe -nr"
; COPY "\\tech\eXpress\rinstall\AdobeYes.txt" "C:\"
; ELSE
;ENDIF
;------------------ Cafe Mappings ---------------------
IF INGROUP("Cafeteria")
USE E: "\\admincafe\cafeterm"
USE X: "\\Admincafe\USDA"
USE Y: "\\admincafe\foodco6$"
ENDIF
;------------------ Transportation Mappings ---------------
IF INGROUP("Transportation")
USE T: "\\Admin\Trans$"
ENDIF
; ---------------- High School Drive Mappings ------------
IF INGROUP("UsersHS")
USE F: "\\SandDevil3\APPS"
USE U: "\\SandDevil\SearchPlus$"
Copy "F:\HSCDTwr\SEARCH~1.LNK" "C:\Documents and Settings\" + $username + "\Desktop"
ENDIF
IF INGROUP("SasiHS")
USE S: "\\SandDevil\SasiXP$"
Copy "F:\HSCDTwr\ATTEND~1.LNK" "C:\Documents and Settings\" + $username + "\Desktop"
ENDIF
IF INGROUP("UsersHS") AND INGROUP("Teachers")
USE G: "\\SandDevil3\HSTeachers$"
ENDIF
IF INGROUP("UsersHS") AND INGROUP("Librarians")
USE T: "\\SandDevil\TextLink$"
ENDIF
;------------------Middle School Drive Mappings ---------------------
IF INGROUP("UsersMS")
USE F: "\\PANTHERS2\APPS"
USE U: "\\PANTHERS\SearchPlus$"
Copy "F:\MSCDTwr\SEARCH~1.LNK" "C:\Documents and Settings\" + $username + "\Desktop"
ENDIF
IF INGROUP("SasiMS")
USE S: "\\Panthers\SasiXP$"
Copy "F:\MSCDTwr\ATTEND~1.LNK" "C:\Documents and Settings\" + $username + "\Desktop"
ENDIF
IF INGROUP("UsersMS")AND INGROUP("Teachers")
USE G: "\\panthers3\MSTeachers$"
ENDIF
IF INGROUP("UsersMS") AND INGROUP("Librarians")
USE T: "\\PANTHERS\TextLink$"
ENDIF
IF INGROUP("CCC")
USE M: "\\MSPAGE_CCC\CAI1"
USE N: "\\MSPAGE_CCC\CAI2"
USE O: "\\MSPAGE_CCC\CAI3"
USE S: "\\MSPAGE_CCC\History"
ENDIF
; ----------------Desert View Drive Mappings------------
IF INGROUP("UsersDV")
USE F: "\\BOBCATS3\APPS"
USE O: "\\bobcats\RnseServer$"
USE U: "\\bobcats\SearchPlus$"
Copy "F:\DVCDTwr\SEARCH~1.LNK" "C:\Documents and Settings\" + $username + "\Desktop"
Copy "F:\DVCDTwr\ARR6ST~1.LNK" "C:\Documents and Settings\" + $username + "\Desktop"
ENDIF
IF INGROUP("SasiDV")
USE S: "\\Bobcats\SasiXP$"
Copy "F:\DVCDTwr\ATTEND~1.LNK" "C:\Documents and Settings\" + $username + "\Desktop"
ENDIF
IF INGROUP("UsersDV") AND INGROUP("Teachers")
USE G: "\\bobcats3\DVTeachers$"
USE O: "\\bobcats\RnseServer$"
Copy "F:\DVCDTwr\ARR6TE~1.LNK" "C:\Documents and Settings\" + $username + "\Desktop"
ENDIF
; ----------------Lake View Drive Mappings------------
IF INGROUP("UsersLV")
USE F: "\\EAGLES3\APPS"
USE U: "\\EAGLES\SearchPlus$"
USE I: "\\EAGLES\CDROM-1$"
USE J: "\\EAGLES\CDROM-2$"
USE K: "\\EAGLES\CDROM-3$"
USE L: "\\EAGLES\CDROM-4$"
USE M: "\\EAGLES\CDROM-5$"
USE N: "\\EAGLES\CDROM-6$"
Copy "F:\LVCDTwr\SEARCH~1.LNK" "C:\Documents and Settings\" + $username + "\Desktop"
Copy "F:\LVCDTwr\SEARCH~1.LNK" "C:\Documents and Settings\" + $username + "\Desktop"
ENDIF
IF INGROUP("SasiLV")
USE S: "\\Eagles\SasiXP$"
Copy "F:\LVCDTwr\ATTEND~1.LNK" "C:\Documents and Settings\" + $username + "\Desktop"
ENDIF
IF INGROUP("UsersLV") AND INGROUP("Teachers")
USE G: "\\eagles3\LVTeachers$"
ENDIF
;------------------All Users Mappings -----------------
;IF INGROUP("DomainUsers")
;
; Copy "http://www.pageud.k12.az.us/HelpDesk/index.htm" "C:\Documents and Settings\" + $username + "\Desktop"
;
;ENDIF
;
:END
EXIT
Edited by Howard Bullock (2006-08-09 05:25 AM)