My login script maps drives just fine. However I've hit a problem I can't seem to solve with Kix alone. The problem came up when we had to map users to a new server where the shares were all replicated over beforehand, but the server name was obviously new. The problem was that the server team pulled the old server offline before the drives were remapped. When I try to use USE X: /DELETE it simply returns an error "Disconnect failure" or something like that. That prevents the next line from mapping to the new source. If I open a CMD window and type in NET USE X: /DELETE it drops it just fine. The drive can also be dropped via Explorer by using the "Disconnect" option. I've tried again and again with USE but it won't drop the mapping. Is this a bug in Windows or Kix or am I misunderstanding something? The only workaround I've found is to SHELL out and run "NET USE X: /DELETE", which seems like a silly way to do it (when USE should do it). Please advise?
_________________________
silence is golden, but duct tape is silver