Quantcast
Channel: Active questions tagged windows - Super User
Viewing all articles
Browse latest Browse all 9091

Turn on/off Bluetooth radio/adapter from cmd/powershell in Windows 10

$
0
0

Such a simple task, one would say, and I haven't found a satisfiable solution. What I've tried (with music playing through a Bluetooth-connected speaker to really know the state of the radio):

  • using devcon as admin: devcon disable USB\VID_8087&PID_07DC&REV_0001 (which is the HW ID of my Bluetooth adapter)... requires reboot to work...
  • using powershell as admin: Disable-NetAdapter "Bluetooth Network Connection 3" (which is translation of the name of my Bluetooth adapter)... it disables the PAN driver, but a Bluetooth speaker continues playing music...
  • using net as admin: net stop bthserv... doesn't actually turn off the radio (BT speaker continues playing music)
  • using .NET: The most relevant page on MSDN doesn't say a word about turning the adapter on/off.
  • using explorer: ms-settings:bluetooth or explorer.exe %LocalAppData%\Packages\windows.immersivecontrolpanel_cw5n1h2txyewy\LocalState\Indexed\Settings\cs-CZ\AAA_SettingsPagePCSystemBluetooth.settingcontent-ms... opens the Bluetooth settings panel, but I still have to click on the toggle

I can't believe Microsoft would be so ignorant to not provide such a command...


Viewing all articles
Browse latest Browse all 9091

Trending Articles