T
tim
echo %date% %time% %username% %computername% %
logonserver% start >>"\\calvary-fs1\log file\login.log"
NET USE f: /D /Y
NET USE g: /D /Y
NET USE h: /D /Y
NET USE i: /D /Y
NET USE j: /D /Y
NET USE k: /D /Y
NET USE l: /D /Y
NET USE m: /D /Y
NET USE n: /D /Y
NET USE o: /D /Y
NET USE p: /D /Y
NET USE q: /D /Y
NET USE r: /D /Y
NET USE s: /D /Y
NET USE t: /D /Y
NET USE u: /D /Y
NET USE v: /D /Y
NET USE w: /D /Y
NET USE x: /D /Y
NET USE y: /D /y
REM CARBROOK
IFMEMBER "CARBROOK"
IF NOT ERRORLEVEL 1 GOTO NEXT1
NET USE F: "\\CALVARY-FS1\STUDENT RESOURCES"
NET USE P: "\\CALVARY-FS1\PROFILES"
GOTO NEXT1
:NEXT1
IFMEMBER "CARBROOK PRIMARY STAFF"
IF NOT ERRORLEVEL 1 GOTO NEXT2
NET USE S: "\\CALVARY-FS1\USERS\STAFF"
NET USE J: "\\CALVARY-FS1\Staff Resources"
GOTO NEXT2
:NEXT2
IFMEMBER "CARBROOK SECONDARY STAFF"
IF NOT ERRORLEVEL 1 GOTO NEXT3
NET USE S: "\\CALVARY-FS1\USERS\STAFF"
NET USE J: "\\CALVARY-FS1\Staff Resources"
NET USE N: "\\CALVARY-FS1\FACULTIES"
GOTO NEXT3
:NEXT3
IFMEMBER "CarbrookAdministration"
IF NOT ERRORLEVEL 1 GOTO NEXT4
NET USE S: "\\CALVARY-FS1\USERS\STAFF"
NET USE J: "\\CALVARY-FS1\Staff Resources"
NET USE U: "\\CALVARY-ADM\ADMINISTRATION"
GOTO NEXT4
:NEXT4
IFMEMBER "adminmanagers"
IF NOT ERRORLEVEL 1 GOTO NEXT5
net use w: "\\calvary-adm\manager$
GOTO NEXT5
:NEXT5
ifmember "disciplineSystem"
if not errorlevel 1 goto next6
NET USE R: "\\calvary-adm\disciplinesystem$"
\\calvary-adm\disciplinesystem$\link.bat
GOTO NEXT6
:NEXT6
ifmember "domain admins"
if not errorlevel 1 goto next7
net use y: "\\calvary-fs1\sysvol"
net use x: "\\calvary-fs1\apps"
goto next7
:NEXT7
IFMEMBER "carbrook library files"
IF NOT ERRORLEVEL 1 GOTO NEXT8
NET USE M: "\\calvary-ls1\carbrook library files"
GOTO NEXT8
:NEXT8
IFMEMBER "websitemapping"
IF NOT ERRORLEVEL 1 GOTO NEXT9
NET USE V: "\\carbrook-ms1\wwwroot"
GOTO NEXT9
:NEXT9
IFMEMBER "CLIBRARY ACCESS"
IF NOT ERRORLEVEL 1 GOTO NEXT10
NET USE L: "\\CALVARY-LS1\CLIBRARY"
GOTO NEXT10
:NEXT10
echo %date% %time% %username% %computername% %
logonserver% finish >>"\\calvary-fs1\log file\login.log"
logonserver% start >>"\\calvary-fs1\log file\login.log"
NET USE f: /D /Y
NET USE g: /D /Y
NET USE h: /D /Y
NET USE i: /D /Y
NET USE j: /D /Y
NET USE k: /D /Y
NET USE l: /D /Y
NET USE m: /D /Y
NET USE n: /D /Y
NET USE o: /D /Y
NET USE p: /D /Y
NET USE q: /D /Y
NET USE r: /D /Y
NET USE s: /D /Y
NET USE t: /D /Y
NET USE u: /D /Y
NET USE v: /D /Y
NET USE w: /D /Y
NET USE x: /D /Y
NET USE y: /D /y
REM CARBROOK
IFMEMBER "CARBROOK"
IF NOT ERRORLEVEL 1 GOTO NEXT1
NET USE F: "\\CALVARY-FS1\STUDENT RESOURCES"
NET USE P: "\\CALVARY-FS1\PROFILES"
GOTO NEXT1
:NEXT1
IFMEMBER "CARBROOK PRIMARY STAFF"
IF NOT ERRORLEVEL 1 GOTO NEXT2
NET USE S: "\\CALVARY-FS1\USERS\STAFF"
NET USE J: "\\CALVARY-FS1\Staff Resources"
GOTO NEXT2
:NEXT2
IFMEMBER "CARBROOK SECONDARY STAFF"
IF NOT ERRORLEVEL 1 GOTO NEXT3
NET USE S: "\\CALVARY-FS1\USERS\STAFF"
NET USE J: "\\CALVARY-FS1\Staff Resources"
NET USE N: "\\CALVARY-FS1\FACULTIES"
GOTO NEXT3
:NEXT3
IFMEMBER "CarbrookAdministration"
IF NOT ERRORLEVEL 1 GOTO NEXT4
NET USE S: "\\CALVARY-FS1\USERS\STAFF"
NET USE J: "\\CALVARY-FS1\Staff Resources"
NET USE U: "\\CALVARY-ADM\ADMINISTRATION"
GOTO NEXT4
:NEXT4
IFMEMBER "adminmanagers"
IF NOT ERRORLEVEL 1 GOTO NEXT5
net use w: "\\calvary-adm\manager$
GOTO NEXT5
:NEXT5
ifmember "disciplineSystem"
if not errorlevel 1 goto next6
NET USE R: "\\calvary-adm\disciplinesystem$"
\\calvary-adm\disciplinesystem$\link.bat
GOTO NEXT6
:NEXT6
ifmember "domain admins"
if not errorlevel 1 goto next7
net use y: "\\calvary-fs1\sysvol"
net use x: "\\calvary-fs1\apps"
goto next7
:NEXT7
IFMEMBER "carbrook library files"
IF NOT ERRORLEVEL 1 GOTO NEXT8
NET USE M: "\\calvary-ls1\carbrook library files"
GOTO NEXT8
:NEXT8
IFMEMBER "websitemapping"
IF NOT ERRORLEVEL 1 GOTO NEXT9
NET USE V: "\\carbrook-ms1\wwwroot"
GOTO NEXT9
:NEXT9
IFMEMBER "CLIBRARY ACCESS"
IF NOT ERRORLEVEL 1 GOTO NEXT10
NET USE L: "\\CALVARY-LS1\CLIBRARY"
GOTO NEXT10
:NEXT10
echo %date% %time% %username% %computername% %
logonserver% finish >>"\\calvary-fs1\log file\login.log"