The poster was getting problems with PsExec on some 64 bit machines, but was getting a "... device not functioning..." message. However, in his own reply he states:
After some more testing I noticed the problem only occurred on WES 7 64 Bit.
Any retail version 32 or 64 bit and WES 7 32 bit would work fine.
Then I remembered the following update: KB982199 is an update for 64-bit systems which fixes the following issue: CreateProcess fails for 32 bit Applications on Windows Embedded Standard 7 64-bit runtimes when redirection disabled
After installing this update the problem was solved.
Is this thread on social.msdn relevant?
The poster was getting problems with PsExec on some 64 bit machines, but was getting a "... device not functioning..." message. However, in his own reply he states:
const string subkey = "Software\Sysinternals\PsExec";