How can I get winrm to setup Firewall Exceptions?

B

BenediktBöhme

I'm running Windows 10 Enterprise Version 1903.


When I run winrm quickconfig in PowerShell as an Administrator it stops with an error stating that one of the connection types is set to public and needs to be changed:


WinRM service is already running on this machine.

WSManFault

Message

ProviderFault

WSManFault

Message = WinRM firewall exception will not work since one of the network connection types on this machine is set to Public. Change the network connection type to either Domain or Private and try again.



Error number: -2144108183 0x80338169

WinRM firewall exception will not work since one of the network connection types on this machine is set to Public. Change the network connection type to either Domain or Private and try again.


When I check the network connections with Get-NetConnectionProfile it returns a single connection which is set to private.


Name : Network

InterfaceAlias : Ethernet 2

InterfaceIndex : 17

NetworkCategory : Private

IPv4Connectivity : Internet

IPv6Connectivity : NoTraffic


I have tried resetting the network settings and adding the firewall predefined inbound rules (Windows Remote Management and Windows Remote Management (Compatability)), but the error still shows up.


What I want to achieve is to change the MaxEnvelopeSize.

Continue reading...
 
Back
Top Bottom