Windows 10: How to connect to Bluetooth device from CLI (already paired)?

Discus and support How to connect to Bluetooth device from CLI (already paired)? in Windows 10 Network and Sharing to solve the problem; Is there a command to connect to a Bluetooth device from a command prompt (i.e. something I can put in an AHK script)? I'm already paired with my... Discussion in 'Windows 10 Network and Sharing' started by THX1138, Sep 28, 2017.

  1. THX1138 Win User

    How to connect to Bluetooth device from CLI (already paired)?


    Is there a command to connect to a Bluetooth device from a command prompt (i.e. something I can put in an AHK script)?

    I'm already paired with my headphones so won't need to do that every time but I'd like to use a keyboard shortcut to initiate the connection.

    :)
     
    THX1138, Sep 28, 2017
    #1

  2. How To Connect To A Paired Bluetooth Device

    Hi Tom. I'm Greg, an installation specialist and 8 year Windows MVP, here to help you.

    Here's a good tutorial on bluetooth with info on how to pair devices and troubleshoot if necessary:

    https://www.windowscentral.com/how-and-why-use-...


    I hope this helps. Feel free to ask back any questions and let us know how it goes. I will keep working with you until it's resolved.
     
    Greg Carmack - Windows MVP, Sep 28, 2017
    #2
  3. How To Connect To A Paired Bluetooth Device

    I Have A Paired Bluetooth Device And I Was Wondering How To Connect It So I Can Listen To Music???
     
    TomRankine-Wilson, Sep 28, 2017
    #3
  4. bro67 Win User

    How to connect to Bluetooth device from CLI (already paired)?

    You can only have one Bluetooth device attached at a time. What are you trying to pair if you are not using the headphones and is this the same computer in your "My Computer" section? Have you tried this tool? If not, install it and run the btinfo and post the results. Bluetooth command line tools - work with bluetooth from the command line

    The only other thing I can think of is that your sound chipset and bluetooth driver are not properly releasing the headphones if on and charging in standby mode, while the BT chip is doing a ping to look for devices available.
     
    bro67, Sep 30, 2017
    #4
  5. THX1138 Win User
    Unfortunately the tool does not work. Code: C:\Windows\system32>btinfoLocal bluetooth radio not found.C:\Windows\system32>[/quote] I rarely use any other Bluetooth devices with my PC but I do use other devices with my headset and switching the headset on does not necessarily cause it to connect with my PC unless I manually establish the connection from Bluetooth Places. My USB Bluetooth adapter is a Parani UD100.


    How to connect to Bluetooth device from CLI (already paired)? [​IMG]
     
    THX1138, Sep 30, 2017
    #5
  6. bro67 Win User
    You know that you can control it from the Action Center. That is why Microsoft went with that instead of how you are taking the long way. btinfo is meant to be run from the directory that it is in, not the System32 folder. You need to CD to the folder inside Downloads that you unpacked that download in the link I gave you.
     
    bro67, Sep 30, 2017
    #6
  7. THX1138 Win User
    I want to set up a single key macro for AutoHotKey. A single button. I wouldn't call that the long way. Besides, Bluetooth isn't present in the Action Centre; in fact there is nothing at all useful in the Action Centre.

    The app clearly was launching from system32 since it was able to respond. Anyway, I ran it again from the installation directory and it gives the exact same response:

    PS C:\Program Files (x86)\Bluetooth Command Line Tools\bin> btinfo
    Local bluetooth radio not found.
    PS C:\Program Files (x86)\Bluetooth Command Line Tools\bin>
     
    THX1138, Sep 30, 2017
    #7
  8. bro67 Win User

    How to connect to Bluetooth device from CLI (already paired)?

    You already have a single click to go into the Action Center or show the icon on the Taskbar. The link I gave is not an app, it is a set of utilities that once you download to your download folder, you run that command from the Command Window. The directory would unpack in the download folder. Terminal always goes to System32, because that is how Microsoft has always forced it.

    See this to download the Registry Edit to give back the "Open Here" when you right click in a folder in the Windows Explorer window. http://www.winhelponline.com/blog/cm...text-menu-add/
     
    bro67, Sep 30, 2017
    #8
  9. THX1138 Win User
    Below is what my Action Centre looks like. There are no references to Bluetooth there. Besides, it's one click to get to the action centre (after a mouse movement to get to it) and then further mouse movements and clicks to do whatever it is that summons the Bluetooth connection to my headset.


    How to connect to Bluetooth device from CLI (already paired)? [​IMG]



    The utility I downloaded was an exe file. It installed itself in C:\Program Files (x86)\Bluetooth Command Line Tools\bin\ and obviously registered itself with Windows in some way because it is not necessary to direct the command prompt there in order to use the utilities. If I'm not using it correctly, then where is the response "Local bluetooth radio not found." coming from?

    What's the difference between an app and a utility? A utility is just a type of app.
     
    THX1138, Sep 30, 2017
    #9
  10. bro67 Win User
    You need to go into All Settings and change what you want on those. The program as I stated and on the website specifically states that they are command line tools to be done in a Command Windows, not from the Gui.
     
    bro67, Apr 5, 2018
    #10
Thema:

How to connect to Bluetooth device from CLI (already paired)?

Loading...
  1. How to connect to Bluetooth device from CLI (already paired)? - Similar Threads - connect Bluetooth device

  2. Bluetooth not connecting to paired device.

    in Windows 10 Drivers and Hardware
    Bluetooth not connecting to paired device.: I have gone through the steps to pair an audio device to my laptop. However, when I have tried to connect my headphones I get this message: [ATTACH] My laptop is a Lenovo Yoga 500 and my headphones are Grundig bluetooth wireless headphones (they did not come this a model...
  3. bluetooth devices paired but won't connect to window 10

    in Windows 10 Drivers and Hardware
    bluetooth devices paired but won't connect to window 10: Hi, I am using a desktop with "Broadcom BCM20702 bluetooth 4.0 USB device" on windows 10. I have tried numerous times to connect bluetooth devices such as mouse, speakers, earpiece, though bluetooth but it always manage to pair but failed to connect. when this happens,...
  4. Bluetooth will not connect, but says paired.

    in Windows 10 Drivers and Hardware
    Bluetooth will not connect, but says paired.: About two months ago, my bluetooth devices stopped working on my Windows 10 Dell XPS 13 9350. I can pair a bluetooth device, such as headphones, but it is not connected. I get no connected sound on my bluetooth device and the computer shows no signs that it is connected, just...
  5. Bluetooth headphones pair and "connect", but no sound device

    in Windows 10 Drivers and Hardware
    Bluetooth headphones pair and "connect", but no sound device: I have a set of Hesh 2 bluetooth headphones which used to connect to windows just fine, but for quite some time now, I get the following experience: - power on headphones, heaphones say "pairing", then "connected" - windows says the device is connected in Settings ->...
  6. Bluetooth doesn't connect (pair) with any device

    in Windows 10 Drivers and Hardware
    Bluetooth doesn't connect (pair) with any device: So, I've a Toshiba TECRA Z40-C with Windows 10 Pro Version 10.0.17134 Build 17134 SMBIOS Version 2.8 Name [00000002] Intel(R) Dual Band Wireless-AC 8260 Adapter Type Ethernet 802.3 Product Type Intel(R) Dual Band Wireless-AC 8260 Name [00000005] Bluetooth...
  7. Bluetooth Pairing & Not Connecting

    in Windows 10 Drivers and Hardware
    Bluetooth Pairing & Not Connecting: Thank u for replying, I tried that as well as uninstalling the device and Bluetooth and not updating the driver, tested, didn't work then updated it still doesn't work, strange
  8. Cannot Pair/Connect Bluetooth Devices

    in Windows 10 Drivers and Hardware
    Cannot Pair/Connect Bluetooth Devices: ^Title. Headphones work fine while connecting to other devices, (phone, a different computer)However, this computer can't connect to any bluetooth devices. Upon running Toubleshoot>Bluetooth Devices, It tells me that the bluetooth radio wasn't enabled, and enabled it. And...
  9. bluetooth paired but not connecting S5

    in Windows 10 Network and Sharing
    bluetooth paired but not connecting S5: samsung galaxy S5 is paired with new Dell Inspiron but cannot get it to connect in order to send photos from cell phone to desktop. any ideas? 35984
  10. Bluetooth Devices will not Pair

    in Windows 10 Drivers and Hardware
    Bluetooth Devices will not Pair: Hi, Hopefully this is the correct Forum ! I have a Microsoft Mouse 5000 and Wedge keyboard (the early one that does not fold). Both have been working perfectly. Recently I paired them both successfully with a new Samsung tablet, but when I came to use them again on...

Users found this page by searching for:

  1. script to connect already paired bluetooth device