Hi,
I'm new to WinRM and I'm trying correctly configure a new deployment of windows Server 2008 R2. I have already run winrm quickconfig successfully but I'm having a very unusual issue where the winrs -r command refuses to work when I specify the FQDN of the local machine.
For example, on the local machine, the following command works fine:
winrs -r:server "dir"
However, the following command results in an error
winrs -r:server.domain.com "dir"
Winrs error:WinRM cannot process the request. The following error occured while using Kerberos authentication: The network path was not found.
Possible causes are:
-The user name or password specified are invalid.
-Kerberos is used when no authentication method and no user name are specified.
-Kerberos accepts domain user names, but not local user names.
-The Service Principal Name (SPN) for the remote computer name and port does not exist.
-The client and remote computers are in different domains and there is no trust between the two domains.
After checking for the above issues, try the following:
-Check the Event Viewer for events related to authentication.
-Change the authentication method; add the destination computer to the WinRM TrustedHosts configuration setting or use HTTPS transport.
Note that computers in the TrustedHosts list might not be authenticated.
BTW, I can correctly ping the fqdn from the local machine.
Also, running any of the above commands for a remote machine on the same domain works fine.
Any suggestions?