使用以下命令将 Windows Server 2022 上的 Bluetooth 服务全部设置为自动启动

发布时间 2023-06-18 12:55:36作者: suv789

使用以下命令将 Windows Server 2022 上的 Bluetooth 服务全部设置为自动启动:

打开记事本,将以下命令复制粘贴到记事本中:
sc config bthserv start= auto
sc config BluetoothAudioGatewayService start= auto
sc config BluetoothAVRCPService start= auto
sc config BluetoothUserService_3df8c start= auto
sc config BluetoothDeviceMonitor start= auto
sc config BluetoothMediaPlayer start= auto
sc config BluetoothObexService start= auto
sc config BluetoothSerialPortService start= auto
sc config BluetoothStackService start= auto
将文件保存为后缀名为 .bat 的批处理文件,比如 "bluetooth_autostart.bat"。

双击运行该批处理文件并等待命令执行完成即可。

注意:在运行批处理文件之前,请先以管理员身份运行命令提示符或者 PowerShell 窗口。