I wound up cobbling together the following code to remove a persistent mapping when folks are logging in:
Code:

IF Exist('R:')
SHELL '%COMSPEC% /C NET USE R: /D > nul'
SLEEP 2
ENDIF
USE R: /delete /persistent
IF 0=Exist('R:')
USE R: '\\NEWSERVER\APPS'
ENDIF



Not only did I have to do this for our main login script, but had to do this for our Citrix boxes as well. It seems to me that this is over-kill, but it worked when I needed it this morning.

Thanks,

Kent
_________________________
Utilize these resources:
UDFs (Full List)
KiXtart FAQ & How to's