r/dailyscripts • u/Frostleban • Jun 06 '17
[request] Bluetooth on/off button Windows 8.1
Hey all. I've searched the internet and haven't found a thing so far. Does anyone know/can make a script which can turn bluetooth on/off with one click?
I'm running Windows 8.1 on my laptop, and to do this manually I need to click into 4-5 submenu's just to toggle one little button. There's sadly no Fn button for it. Any attempts to get to this submenu with a direct command have resulted into going into the generic 'pc options' menu, after which you still need a few clicks to get into the right menu and toggle it on or off.
Anyone who can help?
View all comments
Show parent comment
1
u/Frostleban Jun 07 '17
Interesting! BtHFSrv is "not a valid service" apparently, although it does exist in system32. I used an additional
net start BthFSrv | | net start BthFSrvline in the existing code of Kojeger, and tried it as a standalone .bat, but both give the same error code.This dll is blue in system32 however, I don't know if that makes any difference?