Windows 10 Error when Enter-PSSession to windows 10 machine

  • Thread starter Thread starter Eminent2021
  • Start date Start date
E

Eminent2021

Guest
Hi,

I have two windows 10 machine that both of them is in the WORKGROUP network. I want to connect to the second windows 10 machine with Enter-PSSession but I got the following error:

[win10-2] Connecting to remote server win10-2 failed with the following error message : The WinRM client cannot process the request. If the
authentication scheme is different from Kerberos, or if the client computer is not joined to a domain, then HTTPS transport must be used or the
destination machine must be added to the TrustedHosts configuration setting. Use winrm.cmd to configure TrustedHosts. Note that computers in the
TrustedHosts list might not be authenticated. You can get more information about that by running the following command: winrm help config. For more
information, see the about_Remote_Troubleshooting Help topic.
+ CategoryInfo : OpenError: (win10-2:String) [], PSRemotingTransportException
+ FullyQualifiedErrorId : ServerNotTrusted,PSSessionStateBroken


The command that I used is :

Enter-PSSession -computername win10-2 -credential administrator
Windows Remote Management Service is enabled and is running as well as I can ping the machine.

More...
 
Back
Top