When I map a drive using IFMEMBER, it seems to stay mapped even when the user is taken out of the specific group.
For example:
If I set
IFMEMBER "domain\Personel"
if not errorlevel 1 goto quit
NET USE M: \\SERVERNAME\SHARE\PERSONEL
when I take the person out of the Personel group, the when the person logs back on, Personel is still mapped to M. Is there a way to disconnect or have it recheck the script?