Hi guys, I'm writing a program that needs to log on to a remote computer to preform a task. I have the user name and account, but I need a way to logon as that user on the remote machine.

Edit: All I need to do is copy a file between machines, and *perhaps* invoke it or modify the registry. Not sure on that part yet.

use tcp/ip protocals to connect to the remote machine. first configure sql to accept remote tcp/ip connections

use tcp/ip protocals to connect to the remote machine. first configure sql to accept remote tcp/ip connections

I can hardly see how SQL is going to help copy files.

Yeah, SQL is not the way to go. I've found WMI or PsExec usually does it.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.