Event banner
Windows Office Hours: May 16, 2024
Event Ended
Thursday, May 16, 2024, 08:00 AM PDTEvent details
Get answers to your questions about adopting Windows 11 and managing the Windows devices used by remote, onsite, and hybrid workers across your organization. Get tips on keeping devices up to date ef...
Char_Cheesman
Updated May 16, 2024
SteveThomas
Microsoft
May 16, 2024The security policies over in the Security Center were not meant to be a one-size-fits all approach as there are always app exceptions. It’s also essential to strike a balance between security and usability. First, I would need to know the apps involved and the protocols they use to communicate with the devices (i.e. bluetooth, NFC, web, etc.) If it is web-based you should be able to create an application exception. If you run the app as an admin, it may even prompt you fro adding firewall exceptions. This link explains the process - https://learn.microsoft.com/en-us/windows/security/operating-system-security/network-security/windows-firewall/rules#applications-rules and you can script it out at scale - https://learn.microsoft.com/en-us/windows/security/operating-system-security/network-security/windows-firewall/configure-with-command-line?tabs=powershell
But - if disabling the firewall does not resolve the issue, than you could be hitting up against a number of things like disabled protocols.
Dom_Cote
May 16, 2024Brass Contributor
Let's stick with Miracast for now - a fully standardized protocol with known behavior. Firewall IS open for it (verified with support), but it still is blocked on managed devices. It's frustrating for us and our clients, since we don't even know where to start looking (Firewall doesn't seem to be it).
- SteveThomasMay 16, 2024
Microsoft
If the firewall has been eliminated, then it's not a protocol restriction, but likely one by policy - https://learn.microsoft.com/en-us/windows/client-management/mdm/policy-csp-wirelessdisplay - if cloud-based or a GPO if on-prem. WiFi Direct is what is disabled if this is the case. It could also be the app. You can put together a test app for Wifi Direct (What Windows Miracast is based on) using the samples here: https://github.com/Microsoft/Windows-universal-samples/tree/main/Samples/WiFiDirect