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.

Solution:

1. Set all network to “private”;

To find the network adapter profiles, type Get-NetConnectionProfile and press enter.

Set-NetConnectionProfile -InterfaceIndex 6 -NetworkCategory Private
WinRM quickconfig 

2 thoughts on “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.

  1. Does not help, unfortunately.The only interface in the system is private, but the error still keeps blocking quickconfig.

    PS C:\WINDOWS\system32> get-netconnectionprofile
    Name : Síť 2
    InterfaceAlias : vEthernet (P)
    InterfaceIndex : 10
    NetworkCategory : Private
    IPv4Connectivity : Internet
    IPv6Connectivity : NoTraffic

    PS C:\WINDOWS\system32> winrm quickconfig
    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.

    Petr

    Like

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s