in reply to Re: Win32 User Authentication
in thread Remote Win32 User Authentication

Thank you for drawing my attention to the fact that a LoginAsUser success returns a 1 as opposed to a 0.. I did read this but didn't pay attention to it.

With this in mind though I still can't logon to a remote machine. The action fails.. I will be printing out more errors to try and track down the issue though.

BTW - I batteled with this line for a bit $UserName=Win32::AdminMisc::GetLoginName(); only to find GetLoginName should be GetLogonName.

I have ordered the book you mentioned. Look forward to finding out more.

Thanks again.
-----
Of all the things I've lost in my life, its my mind I miss the most.