Select , search for Wireless Display , and install it.
Microsoft made a baffling change in Windows 11 22H2 and later. You must manually add it.
Ensure Wi-Fi is enabled on both your PC and the receiving display.
If "Wireless Display" does not appear in the list of optional features, your Wi-Fi adapter driver is still broken (return to Fix 1).