Well I want the timeout to be short like 5 seconds, I can't have the users wait for 30seconds while the login script tries to map a drive! I am not sure what you mean about the loop thing??