mircast 无线 p2p 投屏连接失败,p2p 连接 widow未发出 provision discovery request 帧

hbw wang 0 信誉分
2025-05-12T02:18:54.6466667+00:00

window 10 笔记本通过无线 p2p 投屏,投屏过程中点击电脑重启,重启后尝试再次投屏,连不上投屏设备,抓空口数据是笔记本电脑未发出 provision discovery request 帧,导致连接无法执行完,请问电脑发 provision discovery request 帧条件是什么?以便我们尝试兼容。

注:这个问题在不同品牌的电脑都是必现。

Windows 10
Windows 10
在个人计算机和平板电脑上运行的 Microsoft 操作系统。
263 个问题
0 个注释 无注释
{count} 票

1 个答案

排序依据: 非常有帮助
  1. Joseph Tran 675 信誉分
    2025-05-18T12:39:45.4733333+00:00

    Try on these steps bellow and test again for the result :

    • Restart WLAN AutoConfig and Clear P2P Groups
    net stop wlansvc 
    net start wlansvc
    

    Then delete any persistent P2P groups:

    netsh wlan delete profile name="DIRECT-*"
    
    • Reset Network Stack
    netsh int ip reset 
    netsh winsock reset 
    ipconfig /flushdns 
    

    ==> Restart your PC.

    • Check for Pending P2P Sessions in Registry because sometimes ghost P2P devices are stuck somewhere
      Open Registry Editor:
    • Navigate to : HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WlanSvc\Interfaces\
    • Delete or export/backup stale entries under interfaces or P2P.

    ==> Then restart.

    • Reinstall or Reset Wi-Fi Driver

    Open Device Manager

    Right-click your Wi-Fi adapter → Uninstall

    Reboot or reinstall latest driver from the vendor

    • Ensure the Receiver Is Advertising

    Use Wireshark in monitor mode and filter for: wlan.ssid contains "DIRECT"

    *Make sure the receiver is broadcasting its P2P-SSID.

    If not, power cycle the sink device.

    • Force Miracast Reinitiation because sometimes Windows caches previous failures. To do this:

    Open Settings > Devices > Bluetooth & other devices

    Remove the receiver device under Wireless displays

    Retry projection from scratch (Win + K or Project > Connect)

    • Use netsh wlan show p2p to Check State and inspect if P2P discovery is running
    netsh wlan show wlanreport 
    netsh wlan show p2p device 
    netsh wlan show interfaces
    

    And the root cause for "Windows P2P Stack Can Become Stuck" may cause by an abrupt reboot, the P2P driver stack can remain in a broken or uninitialized state, especially if the shutdown happened during:

    Group Owner negotiation

    Active streaming

    Soft AP teardown

    So no PDR is triggered in future sessions unless forced reset of the WLAN stack occurs.


你的答案

问题作者可以将答案标记为“接受的答案”,这有助于用户了解已解决作者问题的答案。