Howdy All!

Just a last question ( for the time being ). Everything is going great with the KixTart logon script with one exception: the 'use * /delete' does not seem to be deleting the previous logon script mapped network drives.

We were using a simply "logon.bat" logon script. Here is the code for it:

code:
 REM @ECHO OFF

NET USE K: /DELETE
NET USE K: \\W2KSERVER04\SOFTWARE

NET USE O: \\W2KSERVER04\IMAGES

NET USE P: \\W2KSERVER04\%USERNAME%

NET USE Q: \\W2KSERVER04\UNROUTED


If "%OS%" == "WINDOWS_NT" GOTO NT
NET TIME \\W2KSERVER04 /SET /YES
GOTO END


:NT
NET USE P: \\W2KSERVER04\SCAN\%USERNAME%

:END

My Boss wrote that. We had both WIN2000 and WIN98 systems in the environment but that recently changed. So, the users have four mapped network drives from this logon script and several others from a Novell logon script. None overlap! There were no issues whatsoever.

So,we now want to make use of KixTart. This logon script file is named 'logon.kix' and is supposed to replace the previous Windows logon script drive mappings and all but two of the Novell drive mappings. Here is the logon.kix script file:

code:
 $rc=SETCONSOLE("SHOW")
;("HIDE")
;Kixtart logon script
;created: 10/22/2003
;Author: Cary W. Shultz

USE * /DELETE

USE G: "\\w2kserver01\data\rating"
;USE H: "\\w2kserver01\users\" + @USERID
USE I: "\\w2kserver01\data\apps"
USE J: "\\w2kserver01\data\apps\spdata"

;IF @WKSTA <> "W2kSERVER03"
;USE M: "\\w2kserver01\data\applied"
;ENDIF

;USE N: "\\w2kserver01\data\tam_data"

USE O: "\\w2kserver04\images"
USE P: "\\w2kserver04\scan\" + @USERID
USE Q: "\\w2kserver04\unrouted"

USE R: "\\w2kserver01\shared"
USE S: "\\w2kserver01\software"


;IF @USERID = "ADMINISTRATOR" or @USERID = "SUPPORT"
; USE T: "\\w2kserver04\software"
;ELSE
; SELECT
; CASE InGroup("GSG_Roanoke")
; USE M: "\\w2kserver01\data\applied"
; CASE InGroup("GSG_Blacksburg")
; USE M: "\\w2kserver01\data\applied"
; CASE InGroup("GSG_Richmond")
; USE M: "\\w2kserver01\data\applied"
; CASE InGroup("GSG_Raleigh")
; USE M: "\\w2kserver01\data\applied"
; ENDSELECT
;ENDIF

EXIT 0

It worked in the 'test environment' - which consisted of me taking an existing WIN2000 computer and creating three test users and removing the Novell Client software and having fun. No issues. However, in the production environment the four mapped network drives from the previous logon.bat remain. Can't open them but they are still there AND preventing the new KixTart logon script from making the proper mapping.

Each user still has a K:\ drive - which should not be.

I went to each user's profile and manually removed the "logon.bat" and replaced it with 'Kix32.exe logon.kix' last night. I told all users to log off last night and to log back on this morning. All of them have done so and all still have remnants of logon.bat.

Any ideas?

Thank you,

Cary