I have 2 machines with Windows XP SP2 Professional on the same workgroup;
I can ping each of them from the other one;
My psexec command(run from machine with ip: 192.168.0.3):
psexec \\192.168.0.4 -u Administrator -p adminPass ipconfig
return:
Couldn't access 192.168.0.4:
Logon failure: unknown user name or bad password.
I disabled firewall on both machines, psexec can access the other machine very quickly but as I mentioned above every time it says "unknown user name or bad password.";
What is wrong with my psexec command?
Best Answer
try using a fully qualified username: psexec \192.168.0.4 -u {targetmachinename}\Administrator -p adminPass ipconfig
That'll tell the machine what context to use for that username. BTW, the "Administrator" account is enabled on that machine, right? Can you manually login using that account?