Sysinternals Homepage
Forum Home Forum Home > Sysinternals Utilities > PsTools
  New Posts New Posts RSS Feed: Target pc executing but not showing
  FAQ FAQ  Forum Search   Calendar   Register Register  Login Login

Target pc executing but not showing

 Post Reply Post Reply
Author
Message Reverse Sort Order
JackDinn View Drop Down
Newbie
Newbie
Avatar

Joined: 09 August 2008
Location: United Kingdom
Online Status: Offline
Posts: 4
Post Options Post Options   Quote JackDinn Quote  Post ReplyReply Direct Link To This Post Topic: Target pc executing but not showing
    Posted: 06 November 2009 at 6:35pm
well the client is XPp SP2

but it still does not show the gui window (on the client) , but it does run the .exe as the user set in the -u switch because i can see it in the Task Man.

So im still not getting it working?

Also not quite sure what session is?
Thx all
JackDinn
Back to Top
SvenBomwollen View Drop Down
Senior Member
Senior Member


Joined: 29 August 2008
Location: Germany
Online Status: Offline
Posts: 1400
Post Options Post Options   Quote SvenBomwollen Quote  Post ReplyReply Direct Link To This Post Posted: 05 November 2009 at 11:03pm

Hello, JackDinn.

Either of the commandlines

psexec \\client -i 0 C:\windows\notepad.exe
psexec \\client -u user -p pw -i 0 C:\windows\notepad.exe
might work and display the Notepad window on the console monitor of the machine named "client" provided
+ "client" is not running anything newer than Windows 2003
+ the session ID 0 (console monitor) is correct.

Kind regards,
SvenBomwollen

Back to Top
JackDinn View Drop Down
Newbie
Newbie
Avatar

Joined: 09 August 2008
Location: United Kingdom
Online Status: Offline
Posts: 4
Post Options Post Options   Quote JackDinn Quote  Post ReplyReply Direct Link To This Post Posted: 05 November 2009 at 3:39pm
hi,

iv been messing around with psexec but have found a problem which i cant figure out , prob something stupid that iv not understood properly.

I can make the target pc execute the .exe i want by sending commands from the server but the odd thing is even though it's process is showing up after execution in the task man of the target pc the actual window dont?

Im using notepad.exe just for testing. iv tried:-

psexec \\client C:\windows\notepad.exe
psexec \\client -i 0 C:\windows\notepad.exe
psexec \\client -u user -p pw C:\windows\notepad.exe
psexec \\client -u user -p pw -i 0 C:\windows\notepad.exe

and many other "guesses".

i can also use psexec \\client cmd
which works fine and from there i can just put C:\windows\notepad.exe and it again shows up in the targets task man but no notepad gui window?

Its obviously connecting & running the command so i dont understand why the window is not showing.

Anyhow thx for any help.
Thx all
JackDinn
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down