Luke R
Luke R

Reputation: 97

PsTools Cannot Connect Remotely with IP Address

I need to grab information remotely from a few pcs using PsTools.

Currently I get all the info I need through an ethernet connection using commands like: psinfo \\(computer name) -u User -p Password

But I need to remotely connect and run commands through their ip addresses now. They are connected to the internet through cell connections. Supposedly I'm supposed to use something like:

psexec \\(IP Address) -u (IP Address)\User -p Password cmd

and it should just connect, but instead I get messages like "The network path was not found" and "cannot connect to remote registry on (IP Address)"

I have already applied the registry changes required to execute commands remotely: https://support.microsoft.com/en-us/kb/951016 so I have no issue there.

How should I connect to the computer? Am I using the wrong commands or syntax?

Upvotes: 2

Views: 12057

Answers (1)

Flash Thunder
Flash Thunder

Reputation: 12045

psexec on first run asks to accept eula... you need to add /accepteula param... second thing is that you need to be in HOME network, not PUBLIC one... if network is set to PUBLIC, RPC is not available.

Upvotes: 2

Related Questions