psexec: "Access is Denied"?

Posted by Electrons_Ahoy on Server Fault See other posts from Server Fault or by Electrons_Ahoy
Published on 2009-05-15T22:46:33Z Indexed on 2010/05/27 18:02 UTC
Read the original article Hit count: 822

Filed under:
|
|
|

Inspired by my previous question here, I've been experimenting with PSExec.

The goal is to trip off some fairly simple scripts / programs on one WindowsXP machine from another, and as PowerShell 2 doesn't yet do remoting on XP, PSexec seems like it'll solve my problems nicely.

However, I can't get anything but the "Access is Denied" error.

Here's what I've tried so far:

I've got a pair of WindowsXP MCE machines, networked together in a workgroup without a server or domain controller.

I've turned off "simple file sharing" on both machines.

Under the security policy, Network Access: Sharing and Security model for local accounts is set to Classic, not Guest for both machines.

There is an Administrative user for each computer that I know the passwords to. :)

With all that, a command like "> psexec \\otherComputer -u adminUser cmd" prompts for the password (like it should) and then exits with:

Couldn't access otherComputer:
Access is denied.

So, at this point I turn to the community. What step am I missing here?

© Server Fault or respective owner

Related posts about Windows

Related posts about psexec