Link to home
Start Free TrialLog in
Avatar of killefer762
killefer762

asked on

Error establishing communication with PsExec service

psexec \\computername ipconfig

Error establishing communication with PsExec service on <computername>
The operation completed successfully.

I reinstalled my OS and now psexec doesn't work.  It worked before and is very handy to have.  I can browse the c$ and admin$ share on the computer no problem and other ps command work list pslist.  Only thing different is I added zonealarm pro firewall when I reinstalled but it doesn't work when i turn that off.  I have windows xp sp2 OS.  Psexec is the latest v1.60.  How can I get this work?
Avatar of jelebay
jelebay

Is it possible that with re-installing your OS you are using a different account name? According to Mark Russinovich (http://www.windowsitpro.com/Windows/Articles/ArticleID/42919/pg/2/2.html) the process on the remote PC impersonates the account from which you run it on the local PC. However, it doesn't have access to network resources. Perhaps you could try:

psexec \\computername -u computername\administrator -p password ipconfig

Cheers
PS. BTW, XP-SP2 includes a built-in firewall. You may want to check "File and Printer Sharing" is listed under the Exceptions tab (Control Panel/Windows Firewall) just in case.
ASKER CERTIFIED SOLUTION
Avatar of jelebay
jelebay

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of killefer762

ASKER

I tried this command :psexec \\computername -u computername\administrator -p password ipconfig

This is what was the result:
Error communicating with PsExec service
The pipe has been ended.

I did the exact same command on a different workstation and it worked fine.  File and printer sharing is by default enabled in group policy.  Turning off the firewall makes no difference.

When I reinstalled my OS I used the same domain computername and the same domain user.