Asked by:

Where device pairing information are stored?

Question

In my company we use Miracast Devices (like Microsoft Display Wireless Adapters or Polycom Pano) for share contents on TV. This devices show a PIN on the screen for pairing and this change every time. The problem is that Windows remember the association
of the device and ask to enter the PIN only the first time.

The only way to force Windows to forgot the PIN seems to Remove manually the device fromStart > Settings > Devices > Bluetooth
& other devices. Under Wireless displays & docks, select
the wireless display or adapter, then select Remove device > Yes.

Via PS script I'm able to delete successfully the devices but after a rescan or a Windows restart, the device still again present and paired
on Windows (so no PIN asked for share the content).

Where are stored WiFi Direct information on Windows? I need to found a way to cleanup this information from PC Clients. This is for prevent
the sharing of content from anyone having already the pairing information cached on client.

After the test, I noticed that we can find some related registry key under HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\DeviceClasses for the wireless display, but it only can appear that it's in the scanning list.

It's recommended that try to search the display name in the registry key to find the location it storing pairing information.

1. Type regedit in search box and enter.

2. Click Edit > find.

3. Type the display name in Find what.

Best regards,

Yilia

Please remember to mark the replies as answers if they help.
If you have feedback for TechNet Subscriber Support, contact
tnmff@microsoft.com.