How to automatically login to a remote PC

Please discuss general Delphi programming topics here.

How to automatically login to a remote PC

Postby dante0817 » August 27th, 2003, 5:08 am

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
dante0817
Member
Member
 
Posts: 4
Joined: August 7th, 2003, 1:32 pm

Postby Kambiz » August 27th, 2003, 7:23 am

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?
User avatar
Kambiz
Administrator
Administrator
 
Posts: 2429
Joined: March 7th, 2003, 7:10 pm

How to automatically login to a remote PC.

Postby dante0817 » September 8th, 2003, 2:58 am

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.
dante0817
Member
Member
 
Posts: 4
Joined: August 7th, 2003, 1:32 pm

Postby Kambiz » September 8th, 2003, 11:36 am

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. :(
User avatar
Kambiz
Administrator
Administrator
 
Posts: 2429
Joined: March 7th, 2003, 7:10 pm


Return to Delphi Programming

Who is online

Users browsing this forum: No registered users and 0 guests

cron