PsExec: How to specify session value for the '-i' option?
- From: JonathanOrlev <JonathanOrlev@xxxxxxxxx>
- Date: Mon, 30 Jul 2007 13:29:39 -0000
Hello everybody,
I have a question about the PsExec program, which I could not find
answer to by searching Google.
The question is about the '-i' command-line option:
At PsExec's page (http://www.microsoft.com/technet/sysinternals/
utilities/psexec.mspx), the '-i' option is described as:
In the syntax:
"
[-i [session]]
"
And in the explanations:
"
Run the program so that it interacts with the desktop of the specified
session on the remote system. If no session is specified the process
runs in the console session.
"
So, my question is this: What is this session name? Is it a number? a
string? What is it?
I have Windows 2003 Server installed. I am logged in locally, and also
using Remote Desktop session.
While I can use the '-i' option to interactively run a GUI program
(Notepad for example) locally (the console?) by not specifying the
session, I do not know how can I make the program run interactively on
the Remote Desktop session. I can make a program run interactively on
a given Remote Desktop session on a given computer by specifying the
correct session value/name/number, but I do not know how to do that.
Does anybody have an idea?
Thanks for any reply,
Jonathan
.
- Follow-Ups:
- Re: PsExec: How to specify session value for the '-i' option?
- From: Edwin vMierlo [MVP]
- Re: PsExec: How to specify session value for the '-i' option?
- Prev by Date: Re: Backup Application Recommendation
- Next by Date: Re: How to create a USB Floppy Driver diskette ?
- Previous by thread: How to re-establish a trust relationship...???
- Next by thread: Re: PsExec: How to specify session value for the '-i' option?
- Index(es):
Relevant Pages
|