It really works very well more often than not. Nevertheless, you can find conditions in which this even now fails with 'ret = 5' ("Access Denied"). Retrying infinitely isn't going to support. I do not know why It truly is unreliable, but I've the feeling that Home windows Explorer is trying itself to log in concurrently, utilizing a Erroneous usern