Sysinternals Homepage
Forum Home Forum Home > Sysinternals Utilities > PsTools
  New Posts New Posts RSS Feed: difference in psexec output depending on target
  FAQ FAQ  Forum Search   Calendar   Register Register  Login Login

difference in psexec output depending on target

 Post Reply Post Reply
Author
Message Reverse Sort Order
molotov View Drop Down
Moderator Group
Moderator Group
Avatar

Joined: 04 October 2006
Online Status: Offline
Posts: 17492
Post Options Post Options   Quote molotov Quote  Post ReplyReply Direct Link To This Post Topic: difference in psexec output depending on target
    Posted: 05 November 2009 at 3:37am
Not sure what you mean - I'm not aware of any sort of limit on the amount of data that can be output by PsExec.  For example, I've ran long-standing CMD.EXE sessions into a remote box, where PsExec must have transmitted hundreds of KBs of output, if not more, with no problem...
Daily affirmation:
net helpmsg 4006
Back to Top
mckludge View Drop Down
Newbie
Newbie


Joined: 17 March 2009
Online Status: Offline
Posts: 2
Post Options Post Options   Quote mckludge Quote  Post ReplyReply Direct Link To This Post Posted: 04 November 2009 at 1:43pm
I did have an older version from maybe last year.  I just downloaded the new one, and it works now.  Thanks.
 
But is there a byte limit on data returned by a psexec call?
Back to Top
molotov View Drop Down
Moderator Group
Moderator Group
Avatar

Joined: 04 October 2006
Online Status: Offline
Posts: 17492
Post Options Post Options   Quote molotov Quote  Post ReplyReply Direct Link To This Post Posted: 04 November 2009 at 1:35am
Hi mckludge,

What version of PsExec are you using? Please ensure you're using the latest version, currently v1.96.
Daily affirmation:
net helpmsg 4006
Back to Top
mckludge View Drop Down
Newbie
Newbie


Joined: 17 March 2009
Online Status: Offline
Posts: 2
Post Options Post Options   Quote mckludge Quote  Post ReplyReply Direct Link To This Post Posted: 03 November 2009 at 2:59pm
I am trying to use psexec to run netstat -ano on a remote system to see which ports are in use.  I run the command

psexex \\computer x.x.x.x -u {username} -p {password} netstat -ano

When I run this on x.x.x.72, the normal output of netstat is returned.
When I run this on x.x.x.40, only "netstat exited on x.x.x.40 with error code 0" is returned.

.40 is Windows Server 2003, and .72 is XP.  Does psexec behave differently XP than Server 2003?  Is there a byte limit on the data returned by a psexec call?
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down