Edit: Rewrote question to include updates and full current status.
I am attempting to connect a Windows XP (client) to a Windows 7 (Server) using tasklist. Currently, I have had no luck with this, tasklist gives the following error:
ERROR: Logon failure: unknown user name or bad password.
Command: tasklist /S PCName /U user /P password
The same error occurs when attempting to exchange user for any of the following:
workgroup\User, Workgroup\PC\User, PC\User
It is however finding the computer. If you attempt to connect using a computer that does not exist, the following error occurs instead:
ERROR: The RPC server is unavailable.
When attempting the same goal using PSList, as listed in comments below, the error is always the same:
The network path was not found. Failed to take process snapshot on Computer. Make sure that the Remote Registry service is running on the remote system, that you have firewall ports allow RPC access , and your account has read access the following key on the remote system: HKLM\Software\Microsoft\Windows NT\CurrentVersion\Perflib
The following settings exist on the Windows 7 machine:
- Discovery: On
- File/Print Sharing: On
- Turn on sharing so anyone with network access can read and write files in the Public folders.
- Enable file sharing for devices that use 40- or 56-bit encryption.
- Password Protected Sharing: Tried both on and off.
- HomeGroup Connections: Tried both.
Additional information:
- The Windows XP PC is able to access the Windows 7 machine via ping.
- The Windows XP PC is able to access the Windows 7 public user folder.
- An attempt to share another folder failed, Windows XP responded with:
"...not accessible. You might not have permission to use this network resource..."
- File permissions were set to full for 'Everyone.'
- Link Layer Topology Discovery Responder is up-to-date on the XP machine.
- I have the Remote Registry Service started and running.
- I have enabled all RPC ports as well as even attempted disabling the firewall.
- Works with safe-mode
Hopefully this helps give more insight into the problem.