Question about PSEXEC -i switch

Y

Yash Ganthe

Hi,

I am not able to invoke a program on a remote computer in a specified
session using the -i switch. I am connected to the remote PC using
RDP. The Session name appears as Rdp-Tcp#29. The ID appears as 4.
I get the follwoing when I invoke the command:
C:\Main>psexec \\nwna-pl-abhagat -u NW\abhagat -p Bali12345 -i Tcp#29
calc.exe

PsExec v1.94 - Execute processes remotely
Copyright (C) 2001-2008 Mark Russinovich
Sysinternals - www.sysinternals.com


PsExec could not start Tcp#29 on nwna-pl-abhagat:
The parameter is incorrect.

Please let me know what should be the value for the the -i switch so
that the application (CALC) opens in the given RDP session.
The remote machine runs Win 2003. The local machine runs Win XP.

Thanks,
Yash
 
A

Al Falfa

Yash said:
Hi,
I am not able to invoke a program on a remote computer in a specified
session using the -i switch. I am connected to the remote PC using RDP.
The Session name appears as Rdp-Tcp#29. The ID appears as 4. I get the
follwoing when I invoke the command: C:\Main>psexec \\nwna-pl-abhagat -u
NW\abhagat -p Bali12345 -i Tcp#29 calc.exe

PsExec v1.94 - Execute processes remotely Copyright (C) 2001-2008 Mark
Russinovich Sysinternals - www.sysinternals.com

PsExec could not start Tcp#29 on nwna-pl-abhagat: The parameter is
incorrect.

Please let me know what should be the value for the the -i switch so
that the application (CALC) opens in the given RDP session. The remote
machine runs Win 2003. The local machine runs Win XP.

Yash,
If you get no help here, try the PStools forum:
http://forum.sysinternals.com/forum_topics.asp?FID=8
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top