New
#1
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.
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.
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
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
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
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 ) )
Recording #2 - YouTube
thats a screen recording of my test
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.
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 :)
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?