Vipul Kelkar

Vipul Kelkar

  • NA
  • 1.9k
  • 570.3k

Starting a remote process

Jan 26 2011 2:47 AM

Hi Guys,
Using windows impersonation i have managed to copy a file to a remote machine. However when i try to start that TXT file from the code by Process.Start method it gives me access denied error.
I have used admin credentials for impersonation and used the following code after the code to copy the file
Process
.Start(@\\machine_name\d$\test.txt);
It comes out with an access denied message. Any idea how can i start a remote process WITHOUT using PSEXEC
Thanks in advance

Answers (1)