32

My laptop (running Win10) repeatedly "steals" the bluetooth connection for my headphones while they're connected to my phone. The only way I've been able to prevent the headphones' connection from switching to the laptop is to play some media or make a phone call immediately after reconnecting to my phone, or to unpair the headphones from the laptop.

The headphones are Plantronics Backbeat Go 2, and the specifications from the Plantronics product page give the following information for the Bluetooth entry:

Bluetooth v2.1: A2DP 1.2, AVRCP, HFP v1.5, HSP v1.1

Thanks in advance!

Pete
  • 1,124

3 Answers3

18

As far as I know, there is no way to dissuade Windows from connecting with a paired Bluetooth device. Some methods exist for that, which involve brute-force solutions :

  • Connect the Bluetooth device after every log-in (including sleep, lock-screen, etc.) and then disconnect - Windows will not reconnect to a disconnected device.
  • Pair-unpair the Bluetooth device for every use.
  • Enable-disable the Bluetooth device for every use.
  • Enable-disable the Bluetooth system service of Windows for every use.

For usability, one may create scripts for one or more of the above actions and use them in desktop icons, or use AutoHotKey to bind them to hotkeys.

Here are some useful commands for disable/enable of the Bluetooth Support system service:

net stop bthserv
net start bthserv

For the disable/enable of individual devices, you may use the DevCon command. You would need to know the identifying device id and the commands to use in elevated mode would look like :

devcon enable "USB\VID_0A12&PID_0001"
devcon disable "USB\VID_0A12&PID_0001"

Windows seems to be the only operating system that does aggressive auto-connection this way and doesn't have any setting for turning it off.

harrymc
  • 498,455
0

In the accepted answer it is proposed to user PowerShell for this. Note however, that PowerShell must run at elevated permission in order for this to work.

If you don't have that permission, you must use the UI (e.g. WIN+[A] then disable bluetooth or disconnect your device in the bluetooth settings).

To find your device id in PowerShell you can use: get-wmiobject -query "select * from WIn32_PNpsigneddriver" | export-clixml collected-hardwares.xml, then search for your device name and use the "friendly name" as follows to disconnect it:

$device = Get-PnpDevice | Where-Object {$_.Class -eq "Bluetooth" -and $_.FriendlyName -eq "Friendly Device name here"}
Disable-PnpDevice -InstanceId $device.InstanceId -Confirm:$false

Hope that helps someone and yeah, not good StackExchange style, but I'm still going to say it: Microsoft is pretty annoying - there's no reason to start the laptop in my bag, just because I switch on my headphones and not giving users an easy option to disable this behaviour.

-1

ToggleTooth actually solves this problem. Just install it on your Win10 computer, then you can turn its bluetooth off from any other device.