Mart - thanks for the code tags I'll remember to do that next time.

@ Glenn I am using the user login and not GPO. No snac set up its a straight forward standard setup.

I agree it does sound like a timing thing, I think the script is still removing drives whilst it starts mapping the standard drives. Is there a way where the script will wait for completion of removing the drives before connecting the new ones?