Quantcast
Channel: Windows PowerShell forum
Viewing all articles
Browse latest Browse all 21975

PSremoting failing on remote machines

$
0
0
Dear All,

I am facing some issues in terms of PSremoting.
On the Windows Server R2 with PowerShell version 4.0 I  have run the fallowing command:

PS C:\Users\lp73779> winrm quickconfig
WinRM service is already running on this machine.
WinRM is already set up for remote management on this computer.
Just to be sure I also run
Enable-PSRemoting -force
The inbound rules have been created on the firewall and are active.

I did
Enable-PSRemoting -force
on the Windows client with PowerShell version 4.0 and I get following output:

WinRM is already set up to receive requests on this computer.
Set-WSManQuickConfig : <f:WSManFault xmlns:f="http://schemas.microsoft.com/wbem/wsman/1/wsmanfault" Code="2"
Machine="localhost"><f:Message><f:ProviderFault provider="Config provider"
path="%systemroot%\system32\WsmSvc.dll"><f:WSManFault xmlns:f="http://schemas.microsoft.com/wbem/wsman/1/wsmanfault"
Code="2" Machine="EFR04CW-0002.xgds.com"><f:Message>Unable to check the status of the firewall.</f:Message></f:WSManFault></f:ProviderFault></f:Message></f:WSManFault>
At line:1 char:1+ Set-WSManQuickConfig -Force+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~+ CategoryInfo          : InvalidOperation: (:) [Set-WSManQuickConfig], InvalidOperationException+ FullyQualifiedErrorId : WsManError,Microsoft.WSMan.Management.SetWSManQuickConfigCommand

Both ports 5985 for domain and private profiles on the Windows 7 machine are opened.
When I try to run Test-WSMan I got the fallowing error:
Test-WSMan : <f:WSManFault xmlns:f="http://schemas.microsoft.com/wbem/wsman/1/wsmanfault" Code="2150859023"
Machine="efr04-sd01.xgds.com"><f:Message>The WinRM client received an HTTP status code of 403 from
the remote WS-Management service. </f:Message></f:WSManFault>
At line:1 char:1+ Test-WSMan EFR04CW-0002+ ~~~~~~~~~~~~~~~~~~~~~~~~~+ CategoryInfo          : InvalidOperation: (EFR04CW-0002:String) [Test-WSMan], InvalidOperationException+ FullyQualifiedErrorId : WsManError,Microsoft.WSMan.Management.TestWSManCommand

Can someone please advise what am I doing wrong or help out with the possible solution?

thanks in advance.



Viewing all articles
Browse latest Browse all 21975

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>