Set up PS remoting on home edition

Welcome Forums General PowerShell Q&A Set up PS remoting on home edition

This topic contains 4 replies, has 4 voices, and was last updated by

2 years, 11 months ago.

  • Author
  • #33959

    Points: 0
    Rank: Member

    I'm just learning PowerShell and taking the Getting-Started-with-Powershel-3.0-Jump-Start from the Microsoft Virtual Academy. I have Windows 10 home edition on 2 machines. The command suggested to enable remoting, "enable-psremoting", ran OK but remoting does not work. For example, "Enter-PSSession -computername anothercomputer" gives the error message

    Enter-PSSession : Connecting to remote server anothercomputer failed with the following error message : The WinRM client cannot process the request. If the authentic
    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
    the TrustedHosts configuration setting. Use winrm.cmd to configure TrustedHosts. Note that computers in the TrustedHosts list might not be authenticated. Yo
    more information about that by running the following command: winrm help config. For more information, see the about_Remote_Troubleshooting Help topic.
    At line:1 char:1
    + Enter-PSSession -computername anothercomputer
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo : InvalidArgument: (anothercomputer:String) [Enter-PSSession], PSRemotingTransportException
    + FullyQualifiedErrorId : CreateRemoteRunspaceFailed

    So what is the best way to set up remoting in this environment?

  • #33960

    Points: 148
    Rank: Participant

    Home editions cannot join Windows Active Directory domains, which means that Kerberos cannot be used as the authentication method. This means you'll need to read up on TrustedHost, as the error message indicates. When this is complete, you may need to include the -Authentication parameter (when using Enter-PSSession) with a different value, as well. Read the full help on Enter-PSSession by entering Get-Help -Name Enter-PSSession -ShowWindow.

  • #33961

    Points: 0
    Rank: Member

    Thanks tommymaynard, I didn't know whether it was better to learn about trusted hosts or https transport, which the error message hints is the other way to go. Thanks to your pointer, I'll learn about trusted hosts.

  • #33962

    Points: 38
    Rank: Member

    You'll also find more information in the free book Secrets of PowerShell Remoting.

    Something you may wish to consider doing is getting hold of a free hypervisor such as VirtualBox or VMware player and then downloading an evaluation version of Windows server. It doesn't take an awful lot of resources to run a couple of virtual machines and you'll be able to set up an Active Directory domain.

  • #34208

    Points: 0
    Rank: Member

    You also need to make sure that your network location is set to anything but Private network. And set the default admin password.

The topic ‘Set up PS remoting on home edition’ is closed to new replies.