We found that login.bat is running. And the kix file is running because we can step through it. But the mapping of drives are not being done. Below is my login.bat and my kix32.exe file.

login.bat file :

@echo on
Echo Entering login.bat

Pause

if (%OS%) == (Windows_NT) goto NT_XP

:9x
%0\..\kix32.exe login.kix
goto end

:NT_XP
Echo Entering NT_XP
Pause
\\pc01\netlogon\kix32.exe \\pc01\netlogon\loginXP.kix /d
Echo After execution of loginxp.kix
Pause
:end

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

kix32.exe file:

; This script will map network drives
; based on the following criteria
; Campus the person is logging on to
; Whether the user is a staff member or a student
; Where the person's home directory exists
; The script will also map a second Common drive to the student server
; for staff members who are instructors,
; and run the delprof.bat program if the logon user is a student
;
; The logon script uses Kixtart version 3.62
;
;***************************
;****Set this line to hide or show, depending on whether or not you
;****want the screen visible
;***************************
;setconsole('hide')
;
;***************************
;****Concatenate a $ on to the end of the user id so that it can
;****be used for mapping to the home directory
;***************************
$user='@userid'+'$'
;
;****************************
;****Determine which campus the user is logging on from
;****************************
;
$campus='none'
if @lserver = '\\PC01'
$campus = 'franklin'
endif
if @lserver = '\\PC02'
$campus = 'franklin'
endif
if @lserver = '\\PC03'
$campus = 'suffolk'
endif
if @lserver = '\\PC04'
$campus = 'suffolk'
endif
if @lserver = '\\PC07'
$campus = 'wfd'
endif

;
;****************************
;****Determine which server the user's home directory is located on
;****************************
$homesrvr='none'
;
if $campus = 'franklin'
if exist ('\\pc01\$user\')
$homesrvr = 'pc01'
endif
if exist ('\\pc02\$user\')
$homesrvr = 'pc02'
endif
if exist ('\\pc03\$user\')
$homesrvr = 'pc03'
endif
if exist ('\\pc04\$user\')
$homesrvr = 'pc04'
endif
if exist ('\\pc07\$user\')
$homesrvr = 'pc07'
endif
endif
;
if $campus = 'suffolk'
if exist ('\\pc03\$user\')
$homesrvr = 'pc03'
endif
if exist ('\\pc04\$user\')
$homesrvr = 'pc04'
endif
if exist ('\\pc01\$user\')
$homesrvr = 'pc01'
endif
if exist ('\\pc02\$user\')
$homesrvr = 'pc02'
endif
if exist ('\\pc07\$user\')
$homesrvr = 'pc07'
endif
endif
;
if $campus = 'wfd'
if exist ('\\pc01\$user\')
$homesrvr = 'pc01'
endif
if exist ('\\pc02\$user\')
$homesrvr = 'pc02'
endif
if exist ('\\pc03\$user\')
$homesrvr = 'pc03'
endif
if exist ('\\pc04\$user\')
$homesrvr = 'pc04'
endif
if exist ('\\pc07\$user\')
$homesrvr = 'pc07'
endif
endif
;
;****************************
;****Map Home drive
;****************************
if $homesrvr <> none
use h: '\\$homesrvr\$user\'
endif
;
;****************************
;****Map Remaining shared drives
;****************************
if ingroup ('academic')
if $campus = 'franklin'
use f: '\\pc01\apps\'
use t: '\\pc01\common\'
run '\\pc01\win98\delprof.bat'
else
if $campus = 'suffolk'
use f: '\\pc03\apps\'
use t: '\\pc03\common\'
run '\\pc03\win98\delprof.bat'
else
if $campus = 'wfd'
If $homesrvr = 'pc07'
use f: '\\pc07\apps\'
use t: '\\pc07\common\'
run '\\pc07\win98\delprof.bat'
else
use f: '\\pc01\apps\'
use t: '\\pc01\common\'
run '\\pc01\win98\delprof.bat'
endif
endif
endif
endif
endif
;
if ingroup ('staff')
if $campus = 'franklin'
use f: '\\pc02\apps\'
; use t: '\\pc02\common\'
if ingroup ('professors')
use u: '\\pc01\common\'
endif
else
if $campus = 'suffolk'
use f: '\\pc04\apps\'
; use t: '\\pc04\common\'
if ingroup ('professors')
use u: '\\pc03\common\'
endif
else
if $campus = 'wfd'
if $homesrvr = 'pc07'
use f: '\\pc07\apps\'
; use t: '\\pc07\common\'
if ingroup ('professors')
use u: '\\pc07\common\'
endif
else
use f: '\\pc02\apps\'
; use t: '\\pc02\common\'
if ingroup ('professors')
use u: '\\pc01\common\'
endif
endif
endif
endif
endif
use t: '\\$homesrvr\common\'
endif

? "user id = " @userid
? "User share = " $user
? "Logon Server = " @lserver
? "Home Server = " $homesrvr
? "Campus = " $campus