Page 1 of 2 12 LastLast
  1.    09 Sep 2017 #1
    Join Date : Sep 2017
    Posts : 7
    Windows 10

    Bluetooth toggle shortcut


    Hello,

    I would like to know if there is any way to have a shortcut for turning the bluetooth on/off
    Keyboard shortcut would be ideal but anything else will do, a bat file or a small app.

    Thank you.
      My ComputerSystem Spec
  2.    09 Sep 2017 #2
    Join Date : Oct 2013
    Posts : 25,272
    64-bit Windows 10 Pro build 17046

    Hello Nrby, and welcome to Ten Forums.

    If you like, you could open the Action Center (Win+A), and click/tap on the Bluetooth quick action button at the button to toggle it on and off.

    Turn On or Off Bluetooth in Windows 10 Windows 10 Network Sharing Tutorials
      My ComputersSystem Spec
  3.    09 Sep 2017 #3
    Join Date : Sep 2017
    Posts : 7
    Windows 10
    Thread Starter

    Hello there ... Thanks for the welcome and the very quick reply.
    My problem is that I would need to do this without seeing the screen ... So anything that involves clicks/tabs won't work for me
      My ComputerSystem Spec
  4.    09 Sep 2017 #4
    Join Date : Oct 2013
    Posts : 25,272
    64-bit Windows 10 Pro build 17046

    You might see if this below may work for you then. It's basically to create a .bat file that will stop and start the Bluetooth service, and create a shortcut of the .bat file to use that you can also assign a keyboard shortcut to.

    How can I toggle Bluetooth on and off via a shortcut or script in Windows 8.1? - Super User
      My ComputersSystem Spec
  5.    09 Sep 2017 #5
    Join Date : Sep 2017
    Posts : 7
    Windows 10
    Thread Starter

    Quote Originally Posted by Brink View Post
    You might see if this below may work for you then. It's basically to create a .bat file that will stop and start the Bluetooth service, and create a shortcut of the .bat file to use that you can also assign a keyboard shortcut to.

    How can I toggle Bluetooth on and off via a shortcut or script in Windows 8.1? - Super User
    Found that when I researched this, it didn't work for me, i presume because it's for windows 8.1,
    if I created the bat file and launch it as admin I can see the command prompt window appear stating that it will change the Bluetooth state but nothing actually happens
      My ComputerSystem Spec
  6.    09 Sep 2017 #6
    Join Date : Oct 2013
    Posts : 25,272
    64-bit Windows 10 Pro build 17046

    It's the same for Windows 10 to stop and start the Bluetooth "bthserv" service.

    See if creating a .bat file with this below may work better to also disable/enable the service instead of just stop/start.

    Code:
    @echo off
    
    for /F "tokens=3 delims=: " %%H in ('sc query "bthserv" ^| findstr "STATE"') do (
      if /I "%%H" NEQ "RUNNING" (
       sc config "bthserv" start=Auto & net start "bthserv"
      ) else if /I "%%H" NEQ "STOPPED" (
       net stop "bthserv" & sc config "bthserv" start=disabled
      )
    )

    If you wanted the command prompt to pause.

    Code:
    @echo off
    
    for /F "tokens=3 delims=: " %%H in ('sc query "bthserv" ^| findstr "STATE"') do (
      if /I "%%H" NEQ "RUNNING" (
       sc config "bthserv" start=Auto & net start "bthserv" & pause
      ) else if /I "%%H" NEQ "STOPPED" (
       net stop "bthserv" & sc config "bthserv" start=disabled & pause
      )
    )
      My ComputersSystem Spec
  7.    09 Sep 2017 #7
    Join Date : Sep 2017
    Posts : 7
    Windows 10
    Thread Starter

    Recording #2 - YouTube

    thats a screen recording of my test
      My ComputerSystem Spec
  8.    09 Sep 2017 #8
    Join Date : Oct 2013
    Posts : 25,272
    64-bit Windows 10 Pro build 17046

    I've updated the .bat above that should help. You may need to close and reopen Settings after running the .bat to refresh and see the change.

    Remember though, this doesn't directly turn on/off Bluetooth. It enables and disables the Bluetooth service that should effectively turn on/off Bluetooth.
      My ComputersSystem Spec
  9.    09 Sep 2017 #9
    Join Date : Sep 2017
    Posts : 7
    Windows 10
    Thread Starter

    well I get different messages now but that fact that I am using a bluetooth mouse to run the bat and I can run it multiple times is a a good indicator that the bluetooth hasn't stopped working
      My ComputerSystem Spec
  10.    09 Sep 2017 #10
    Join Date : Oct 2013
    Posts : 25,272
    64-bit Windows 10 Pro build 17046

    Does the Bluetooth mouse use its own USB adapter?

    If so, then it most likely wouldn't be affected by enabling/disabling the Bluetooth service. You would need to enable or disable the Bluetooth mouse in Device Manager instead.

    Why are you needing to disable the mouse for? Is there some issue?
      My ComputersSystem Spec

 
Page 1 of 2 12 LastLast


Similar Threads
Thread Forum
Keyboard Shortcut Toggle to Night Light?
Is there a direct keyboard shortcut to toggling on and off Win10's Night Light?
General Support
Solved Simple Bluetooth On/Off toggle needed!
How to simplify Win 10 Bluetooth so that it doesn't take four steps to get anything done ? scipt a button?
Network and Sharing
Bluetooth Headset Controls with Toshiba Bluetooth Stack
Hello! I recently installed the latest version of the Toshiba Bluetooth Stack (v9.10.32T) for one of my desired applications to properly function. However, connecting my Bluetooth headphones through Toshiba's bluetooth manager does not seem to...
Drivers and Hardware
I have lost my Bluetooth On/Off Toggle Switch
Lost my On/Off Toggle for Bluetooth Last year whilst I was on 8.1 before my upgrade to Windows 10, I noticed that the On/Off Toggle had disappeared see screenshot (taken when it was on 8.1). Now I am on Windows 10 the toggle still has...
Drivers and Hardware
Bluetooth toggle shortcut?
Is it possible to create a clickable shortcut to toggle Bluetooth on/off? I can never seem to remember the WinKey mantras and have to look them up every time. -- Bob
Drivers and Hardware
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd
All times are GMT -5. The time now is 06:33.
Find Us
Twitter Facebook Google+ Ten Forums iOS App Ten Forums Android App



Windows 10 Forums