Page 1 of 1

How to automatically login to a remote PC

PostPosted: August 27th, 2003, 5:08 am
by dante0817
If I connect to other computer within a LAN it usually prompt for the username and password. How can I code it so that the program automatically feeds in that information so that I anybody could access that computer without having to type the username and password. -- Actually the program did it for them.

Thanks

PostPosted: August 27th, 2003, 7:23 am
by Kambiz
I wrote a simple program to login to a remote machine. Because I don't have access to LAN, I couldn't test the code.

Could you please check out the attachment and inform me about the result?

How to automatically login to a remote PC.

PostPosted: September 8th, 2003, 2:58 am
by dante0817
Thank Kambiz for you code. But I still could not connect to other PC. The error is this:

System Error. Code: 1314.
A required previlege is not held by the client.

But I can manually connect to that PC, i.e. input my username and password.

PostPosted: September 8th, 2003, 11:36 am
by Kambiz
I'm sorry that I couldn't do something useful. Because I don't have access to a secured network, I cannot try to find a solution. :(