It works nicely usually. Having said that, there are actually scenarios the place this nonetheless fails with 'ret = five' ("Access Denied"). Retrying infinitely will not help. I don't know why It really is unreliable, but I've the feeling that Home windows Explorer is attempting by itself to log in concurrently, employing a Mistaken username/passw