Your or the Intune / Endpoint Manager managed device suddenly is not connecting to the Microsoft wireless display adapter? Then the problem is certainly with the Windows Defender Firewall, which is blocking the incoming connection of "WUDFHost.exe".
Fortunately, we can fix this quickly by either creating a firewall rule locally on the device or distributing it with Intune.
Table of Contents
Defender Firewall rule via Intune
If your organization is using Intune and users report "The Microsoft Wireless Display Adapter is not connecting." Can you fix this globally with a policy.
In Endpoint Manager under "Endpoint security > Firewall" we create a new "Microsoft Defender Firewall" ruleset. Alternatively, you can also add the rule to an existing policy.
We give the new policy a name and optionally a description.
In the newly created or your existing rule we now add a new firewall rule.
(If you don't see the "add" item, you have to press the small arrow on the right.)
We usually define the name "MS Wireless Display Adapter", optionally a description, the direction "In" for incoming, as the action "Allowed" and include all three network profiles.
So that the EXE is not blocked, we add it under "File path": %SystemRoot%\System32\WUDFHost.exe
We can leave the other controls as they are.
After the definition, we assign the rule to a group or all devices and save it.
As soon as the new rule has been applied on the device, the connection to the Microsoft Wireless Display Adapter will work again.
Create a Defender Firewall rule manually
We create the rule in "Windows Defender Firewall with Advanced Security". The easiest way to find this is in the start menu with the appropriate search term. Then open the settings as an administrator.
In the "Inbound Rules" we create a new one.
This is for a program and the path to it is "%SystemRoot%\System32\WUDFHost.exe".
Of course we allow the connections, and we also leave it for all three profiles so that the connection also works in external networks.
Finally, we assign a meaningful name, such as "MS Wireless Display Adapter". The description is optional. After clicking on "Finish", you will see the newly created rule in the overview.
Once created, the connection to the Microsoft Wireless Display Adapter will work properly again (hopefully).
Thank you for putting this out there. I just created that firewall rule on my local machine but no luck still. I am on an O365 domain. Any other thoughts?
Sometimes there are other problems with the Wireless sticks. Microsoft has a basic checklist to consider.
If the Firewall rule does not do the trick, in my experience the issue is with the Firmware or the network.
https://support.microsoft.com/de-de/windows/problembehandlung-f%C3%BCr-den-microsoft-wireless-display-adapter-9d2369cf-ba4b-908c-69c0-d4e5f4117d35
Hi there,
I've added the rule to the firewall but still no luck. Disabling the firewall also didn't help.
Any idea?
Sometimes there are other problems like an AV, the Network or Device.
Thanks a lot Florian for this article. We had an issue in adding Zscaler proxy processes to defender firewall rules using Intune. The file path setting is what we were missing.
Once I found this article, we added the file paths & issue got resolved.
Happy to hear and help!