Arrgh!
I've color-coded the post to clearly show that the BLACK text is Radimus' original code, the BLUE text is what I copied from Jens' WMIAuthenticate UDF (I did not show every varname change, however), and the RED shows what I added. I did not modifiy either original UDF except to match the var names as noted above.
Lonk - I'd like to hear from Radimus as to wether he'd like to integrate this into his code moving forward, or maintain it as a separate UDF, at which time I'll rename it. Personally, I think it makes more sense to have one, integrated UDF, since his functionality is enhanced but fully backward compatible. Maybe he'll check in during a midnight feeding. 
If you want to move this to the SCRIPTS forum until then, that's fine with me.
Glenn
_________________________
Actually I
am a Rocket Scientist!