locked
Powershell Remoting works on some computers, not others RRS feed

  • General discussion

  • I have a test OU where we have a GPO to enable PowerShell remoting. I am testing a PowerShell script that runs against a list of computers that are in the test OU. The script runs successfully against some computers but not others.

    • Windows 7 environment.
    • Windows Firewall is disabled throughout the domain.
    • WinRM service starts automatically and is running on the computers.
    • Logged in as an administrator, and running Powershell as Administrator

    Do I need to add my administrator account to the local remote users group on the target computers?

    What else should I try to get Powershell remoting to work?

    Thank you!

    • Changed type Bill_Stewart Monday, April 30, 2018 9:19 PM
    • Moved by Bill_Stewart Monday, April 30, 2018 9:20 PM This is not break/fix forum
    Wednesday, February 21, 2018 12:25 AM

All replies

  • Since we have no access to your network and cannot see your screen, we can only surmise that something is not set up correctly on those computers.

    -- Bill Stewart [Bill_Stewart]

    Wednesday, February 21, 2018 2:11 PM
  • Please compare results of "winrm e winrm/config/listener" from both working and non-working computers. 

    i assume there is not network firewall involved and all computers are in same domain. 

    you can also try adding the non-working computer to trusted hosts and give it a try :

    set-item WSMan:\localhost\Client\TrustedHosts -Value $fqdn -Force


    • Edited by vamsinm Thursday, February 22, 2018 12:25 PM
    Wednesday, February 21, 2018 4:57 PM