Software⏱️ 4 min read📅 2026-06-15

How to Fix: WinRM keeps giving me firewall error message

WinRM firewall exception error on Windows 10 with Hyper-V enabled.

Quick Answer: Change the network connection type to Private or Domain, and try running winrm quickconfig again.

WinRM (Windows Remote Management) is a feature that allows administrators to manage and configure remote computers on a network. However, when trying to enable WinRM on a Windows 10 machine, users may encounter a firewall error message indicating that the network connection type is set to Public, which prevents the WinRM firewall exception from working. This issue affects anyone attempting to use WinRM on their Windows 10 machine.

This error can be frustrating for administrators and IT professionals who rely on WinRM for remote management tasks. Fortunately, resolving this issue is relatively straightforward and can be achieved by making a few simple changes to the network connection type.

⚠️ Common Causes

  • The primary reason why WinRM keeps giving a firewall error message is that the Windows 10 machine's network connection type is set to Public. This setting prevents the WinRM firewall exception from working, which is required for remote management tasks.
  • Another possible cause of this issue could be if Hyper-V is enabled on the machine. Although Hyper-V does not directly affect the WinRM configuration, it may interfere with the Windows Firewall settings that are used by WinRM.

🔧 Proven Troubleshooting Steps

Change Network Connection Type

  1. Step 1: To resolve the issue, open the Control Panel on your Windows 10 machine and navigate to "Network and Sharing Center". Click on "Change adapter settings" in the left-hand menu.
  2. Step 2: In the Change Adapter Settings window, find the network connection that is currently set as Public (usually the Ethernet or Wi-Fi connection). Right-click on this connection and select "Properties".
  3. Step 3: In the Properties window, click on the "Internet Protocol Version 4 (TCP/IPv4)" section. Click on the "Properties" button next to it.
  4. Step 4: In the TCP/IPv4 Properties window, uncheck the box next to "Internet Protocol Version 6 (TCP/IPv6)" and then click on the "Advanced" button.
  5. Step 5: In the Advanced TCP/IPv4 Settings window, change the "Network Address" field from "Obtain an IP address automatically" to a static IP address. Alternatively, you can set the network type to Private by selecting one of the available private IP addresses (e.g., 192.168.1.100).
  6. Step 6: Click on the "OK" button to save the changes and close all the windows.

Disable Hyper-V Firewall Exception

  1. Step 1: If you have Hyper-V enabled on your machine, you may need to disable the firewall exception for WinRM. To do this, open the Windows Firewall with Advanced Security console.
  2. Step 2: In the Windows Firewall with Advanced Security console, navigate to the "Inbound Rules" section and find the rule that corresponds to WinRM (usually titled "WinRM`).
  3. Step 3: Right-click on this rule and select "Disable Rule". Repeat this process for any other rules related to Hyper-V or WinRM.
  4. Step 4: Once you have disabled these rules, try running the `winrm quickconfig` command again to see if it resolves the issue.

🎯 Final Words

By following these steps, you should be able to resolve the WinRM firewall error message and enable remote management on your Windows 10 machine. Remember to always check the network connection type and ensure that Hyper-V is not interfering with the Windows Firewall settings.

Did this fix your problem?

If not, try searching for specific error codes.

🔍 Search Error Database

❓ Frequently Asked Questions