How to know if the bluetooth module is activated by command line on Windows?

15,367

Solution 1

On Windows, a simple command line ipconfig display the bluetooth adapter if the module is activated

Ethernet adapter Bluetooth Network Connection 2:

   Media State . . . . . . . . . . . : Media disconnected
   Connection-specific DNS Suffix  . : 

Solution 2

There are a couple of scripts at https://devblogs.microsoft.com/scripting/hey-scripting-guy-how-can-i-tell-if-a-computer-is-bluetooth-enabled/ They should be useable.

Note that'll detect the Microsoft Bluetooth stack -- I haven't tested them with the (getting rarer) Widcomm, BlueSoleil, etc stacks. Note also they detect the networking parts of the Bluetooth support but that shouldn't really matter.

Share:
15,367
sdespont
Author by

sdespont

SOreadytohelp

Updated on June 04, 2022

Comments

  • sdespont
    sdespont almost 2 years

    I am searching a way to know through a command line if the bluetooth module is activated on Windows OS.

    Anyone would know a shell command or anything else?

    EDIT

    I found these tools on the net this morning which could work for me, but I am still searching a solution without third parties:

  • sdespont
    sdespont over 11 years
    Thanks, I have just tried your suggestion, but there is nothing about Bluetooth with command "netsh wlan show all"
  • alanjmcf
    alanjmcf over 11 years
    Err I have eleven different Bluetooth dongles and all are Bluetooth alone, no WiFi. Some laptops have WiFi and Bluetooth on the same module however.
  • sdespont
    sdespont over 11 years
    Thank you for your link, helpful but I prefer the command line 'ipconfig"