Reset Bluetooth Components Without Having to Reboot
Sometimes the bluetooth on my laptop fails to connect properly (either not at all, or sometimes with terrible quality) to a pair of stereo headphones. Often times I've been able to recover normal functionality by resetting the bluetooth adapter.
However, that doesn't always work. That leads me to take other measures, like restarting the bluetooth services in Windows. This never seems to get anywhere and ultimately I end up rebooting my system and everything works again.
I really don't think rebooting should be necessary to resolve this, and so I'd like to know: Could anyone else suggest some ideas of what other devices / services / processes in Windows might be worth attempting to reset / restart in order to restore proper functionality of the bluetooth device?
Ultimately I'd like to just write a .ps1 script that I could run whenever this thing acts up, but please don't hesitate to answer just because you may not work with PowerShell.
Extra Details:
The specific services I've tried resetting are:
- Bluetooth Service (\Program Files\ThinkPad\Bluetooth Software\btwdins.exe)
- Bluetooth Support Service (\Windows\system32\svchost.exe -k bthsvcs)
My laptop is a Lenovo T61p with a Broadcom Bluetooth Adapter.
Solution 1:
Try something like the following using an Administrative PowerShell prompt. You can't restart services as a regular user.
Get-Service -DisplayName *Bluetooth* | Restart-Service
If this works, you may want to throw the that snippet into a ps1 file and set up ps1 files to be "Run as Admin," this link may help you with that: http://www.howtogeek.com/howto/windows-vista/add-run-as-administrator-to-any-file-type-in-windows-vista/
Hope this helps!
(Adding * in front of Bluetooth* solved my issue with an intel chip.)
Solution 2:
I've run into this issue as well on my T430. My best resolution so far has been to disable then enable the the Bluetooth Radio device in Device Manager (ThinkPad Bluetooth 4.0 on my machine). This usually lets me reconnect to my headset and everything works fine again. Eventually the machine gets to the point where I have to do this every time to connect, but by then it's been running for a few weeks and needs to be rebooted anyhow :-)
Solution 3:
This is the cmd way of restarting the bluetooth service:
net stop "Bluetooth Support Service" && net start "Bluetooth Support Service"
If you're using a localized version of Windows, you may need to replace the name of the service with whatever name your service has. Run net start
to get the name, this will display the list of all running services.
Or you could use a hybrid approach independent of the service name, calling powershell from cmd:
powershell -command "Get-Service -Name bthserv | Restart-Service"
You need to have elevated/admin rights in both cases. This fixes my Bluetooth stack when it stops connecting to devices.
Solution 4:
On Windows 10, I've had success with restarting the Radio Management Service (RmSvc). I'm doing a lot of testing with Bluetooth Low Energy devices, and that fixes the occasions where I stop being able to scan for local devices, even after resetting the Bluetooth adapter.
However, the first time I tried this in Powershell, it worked fine, but I was subsequently getting "Cannot top RmSvc service on computer '.'". At that point, resetting the service from the Task Manager worked.