Baseline Info:
- OS: Windows 11 24H2 / 25H2
- OIB Version: 3.7
Describe the bug
When attempting to connect via Microsoft Cast to a Microsoft Wireless Display Adapter (or any Miracast-compatible display/TV), the target device is visible in the cast menu and the TV shows "Connecting..." — but the connection never completes and eventually times out.
This affects any Miracast-based solution (smart TVs, conference room displays, Microsoft Wireless Display Adapter, etc.). The issue does not occur on unmanaged devices.
Root Cause (suspected)
Miracast relies on dynamically created inbound Windows Firewall rules that are added locally when wireless display is initiated. When local firewall rule merging is blocked by policy, those rules never apply and the connection is silently dropped by Windows Firewall.
When connecting via Miracast, Windows uses a direct Wi-Fi (Wi-Fi Direct / P2P) connection to the display, which is classified under the Public firewall profile. The following two settings in Win - OIB - ES - Windows Firewall - D - Firewall Configuration - v3.1 are the likely culprits:
| Setting |
Profile |
Value |
Effect |
| Allow Local Firewall Rule Merge |
Public |
False / No |
Blocks dynamically created Miracast inbound rules |
| Shielded (Shielded Mode) |
Public |
True / Yes |
Drops all inbound connections on the Public profile |
Is anyone else experiencing this?
Baseline Info:
Describe the bug
When attempting to connect via Microsoft Cast to a Microsoft Wireless Display Adapter (or any Miracast-compatible display/TV), the target device is visible in the cast menu and the TV shows "Connecting..." — but the connection never completes and eventually times out.
This affects any Miracast-based solution (smart TVs, conference room displays, Microsoft Wireless Display Adapter, etc.). The issue does not occur on unmanaged devices.
Root Cause (suspected)
Miracast relies on dynamically created inbound Windows Firewall rules that are added locally when wireless display is initiated. When local firewall rule merging is blocked by policy, those rules never apply and the connection is silently dropped by Windows Firewall.
When connecting via Miracast, Windows uses a direct Wi-Fi (Wi-Fi Direct / P2P) connection to the display, which is classified under the Public firewall profile. The following two settings in
Win - OIB - ES - Windows Firewall - D - Firewall Configuration - v3.1are the likely culprits:Is anyone else experiencing this?