It works very well more often than not. Having said that, you can find circumstances where by this however fails with 'ret = 5' ("Access Denied"). Retrying infinitely does not help. I don't know why It truly is unreliable, but I have the sensation that Windows Explorer is attempting itself to log in concurrently, employing a Erroneous username/pass