Question : Psexec copy file question

EE,

I'm trying to run NLTest on workstations remotely via psexec, only NLTest is not installed on workstations. Instead of manually copying it I wanted to copy it using the -c in psexec and then run the command but so far it doesn't work for me.

psexec -c nltest.exe C:\WINDOWS\System32 \\RemoteIP cmd /k nltest /dsgetsite

This exits psexec every time. I swaped -c to the end and some other changes with no luck.

Any ideas?

Answer : Psexec copy file question

From:   http://technet.microsoft.com/en-us/sysinternals/bb897553.aspx

This command copies the program test.exe to the remote system (\\marklap) and executes it interactively:

psexec \\marklap -c test.exe

I
Random Solutions  
 
programming4us programming4us