6

i'm stuck right now on executing psexec to a target machine and getting below error.

psexec \\ABC -u DOMAIN\user -p **** cmd /c ipconfig /all

PsExec v2.2 - Execute processes remotely
Copyright (C) 2001-2016 Mark Russinovich
Sysinternals - www.sysinternals.com

Couldn't access ABC:
The specified network name is no longer available.

I verified below item worked.

  1. I can access \\ABC\admin$
  2. pslist \\ABC - works
  3. I have admin rights on source and target machine
  4. I can successfully login into the machine
  5. nslookup resolves the domain name
  6. telnet ABC 445/135 works
  7. Workstation, Server and computer browser services running

Any idea what else need to be check?

Newbie
  • 61

1 Answers1

1

I had this same problem (see comments on original question).

The solution was that while the network firewall was permitting tcp/445, it was blocking tcp/445 specifically for the appid "psexec". Once an exception was made (as minimal as possible - remember, psexec is dangerous to allow), I was able to execute PsExec successfully.

gkubed
  • 61