It works nicely usually. Nevertheless, there are actually scenarios the place this still fails with 'ret = five' ("Access Denied"). Retrying infinitely won't help. I do not know why It is really unreliable, but I have the feeling that Home windows Explorer is attempting by itself to log in concurrently, using a Incorrect username/password (because