PSExec on Windows 2008 R2 Failing "Network name cannot be found"

Posted by Adam Frisby on Server Fault See other posts from Server Fault or by Adam Frisby
Published on 2010-01-10T05:10:14Z Indexed on 2010/04/03 10:03 UTC
Read the original article Hit count: 919

Filed under:
|

Hi,

We've got a bunch of remote admin scripts which rely on psexec and they do not appear to be working over the network on our new 2008 hosts. An error dump is below:

C:\Users\<user>\Desktop\PsTools> psexec \\<host IP> -u Administrator -p <pass> <cmd>
PsExec v1.97 - Execute processes remotely
Copyright (C) 2001-2009 Mark Russinovich
Sysinternals - www.sysinternals.com
Couldn't access <host IP>:
The network name cannot be found.
Make sure that the default admin$ share is enabled on <host IP>.

We've tried both the machine name and the IP address in with the same results. The same command has worked previously with our Win2K3 hosts - so we're presuming it is some form of security change between the 2003 and 2008R2.

Anyone have any clues?

© Server Fault or respective owner

Related posts about psexec

Related posts about windows-server-2008