После удаления всего блютуса из диспетчера устройств, как его добавить обратно?
В возне сbluetooth
Я похоже удалил блютуз из самого диспетчера устройств. Как запустить сканирование для обнаружения внутреннего оборудования и последующей загрузки правильного драйвера?
Я пробовал :
`**********************
Windows PowerShell transcript start
Start time: 20210430235117
Username: DESKTOP-9AKB65V\Nicholas
RunAs User: DESKTOP-9AKB65V\Nicholas
Configuration Name:
Machine: DESKTOP-9AKB65V (Microsoft Windows NT 10.0.18363.0)
Host Application: C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
Process ID: 7256
PSVersion: 5.1.18362.1171
PSEdition: Desktop
PSCompatibleVersions: 1.0, 2.0, 3.0, 4.0, 5.0, 5.1.18362.1171
BuildVersion: 10.0.18362.1171
CLRVersion: 4.0.30319.42000
WSManStackVersion: 3.0
PSRemotingProtocolVersion: 2.3
SerializationVersion: 1.1.0.1
**********************
Transcript started, output file is devmgr.txt
PS C:\Users\Nicholas> ms-settings:bluetooth
ms-settings:bluetooth : The term 'ms-settings:bluetooth' is not recognized as the name of a cmdlet, function, script
file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct
and try again.
At line:1 char:1
+ ms-settings:bluetooth
+ ~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (ms-settings:bluetooth:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
ms-settings:bluetooth : The term 'ms-settings:bluetooth' is not recognized as the name of a cmdlet, function, script
file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct
and try again.
At line:1 char:1
+ ms-settings:bluetooth
+ ~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (ms-settings:bluetooth:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
PS C:\Users\Nicholas> start ms-settings:bluetooth
PS C:\Users\Nicholas> devmgr
devmgr : The term 'devmgr' is not recognized as the name of a cmdlet, function, script file, or operable program. Check
the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
+ devmgr
+ ~~~~~~
+ CategoryInfo : ObjectNotFound: (devmgr:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
devmgr : The term 'devmgr' is not recognized as the name of a cmdlet, function, script file, or operable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
+ devmgr
+ ~~~~~~
+ CategoryInfo : ObjectNotFound: (devmgr:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
PS C:\Users\Nicholas> start devmgr
>> TerminatingError(Start-Process): "This command cannot be run due to the error: The system cannot find the file specified."
start : This command cannot be run due to the error: The system cannot find the file specified.
At line:1 char:1
+ start devmgr
+ ~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (:) [Start-Process], InvalidOperationException
+ FullyQualifiedErrorId : InvalidOperationException,Microsoft.PowerShell.Commands.StartProcessCommand
start : This command cannot be run due to the error: The system cannot find the file specified.
At line:1 char:1
+ start devmgr
+ ~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (:) [Start-Process], InvalidOperationException
+ FullyQualifiedErrorId : InvalidOperationException,Microsoft.PowerShell.Commands.StartProcessCommand
PS C:\Users\Nicholas> start ms-devmgr
>> TerminatingError(Start-Process): "This command cannot be run due to the error: The system cannot find the file specified."
start : This command cannot be run due to the error: The system cannot find the file specified.
At line:1 char:1
+ start ms-devmgr
+ ~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (:) [Start-Process], InvalidOperationException
+ FullyQualifiedErrorId : InvalidOperationException,Microsoft.PowerShell.Commands.StartProcessCommand
start : This command cannot be run due to the error: The system cannot find the file specified.
At line:1 char:1
+ start ms-devmgr
+ ~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (:) [Start-Process], InvalidOperationException
+ FullyQualifiedErrorId : InvalidOperationException,Microsoft.PowerShell.Commands.StartProcessCommand
PS C:\Users\Nicholas> devmgmt
PS C:\Users\Nicholas> diskpart
PS C:\Users\Nicholas> Get-PSDrive
Name Used (GB) Free (GB) Provider Root CurrentLocation
---- --------- --------- -------- ---- ---------------
Alias Alias
C 102.04 13.61 FileSystem C:\ Users\Nicholas
Cert Certificate \
Env Environment
Function Function
HKCU Registry HKEY_CURRENT_USER
HKLM Registry HKEY_LOCAL_MACHINE
Variable Variable
WSMan WSMan
PS C:\Users\Nicholas> Get-PSDrive -PSProvider FileSystem
Name Used (GB) Free (GB) Provider Root CurrentLocation
---- --------- --------- -------- ---- ---------------
C 102.05 13.60 FileSystem C:\ Users\Nicholas
PS C:\Users\Nicholas> Get-Volume
DriveLetter FriendlyName FileSystemType DriveType HealthStatus OperationalStatus SizeRemaining Size
----------- ------------ -------------- --------- ------------ ----------------- ------------- ----
C Windows NTFS Fixed Healthy OK 13.6 GB 115.65 GB
NTFS Fixed Healthy OK 84.25 MB 517 MB
PS C:\Users\Nicholas> net use
New connections will be remembered.
There are no entries in the list.
PS C:\Users\Nicholas> exit
**********************
Windows PowerShell transcript end
End time: 20210430235838
**********************
`
но не вижу:
1.) как использовать диспетчер устройств из PowerShell 2.) как повторно определить оборудование, чтобы затем загрузить удаленный драйвер
1 ответ
В командной строке PowerShell введите
devmgmt
чтобы открыть диспетчер устройств. Когда он откроется, просканируйте свой компьютер на предмет изменений оборудования.ИЛИ вы можете запустить PowerShell от имени администратора, введите
pnputil.exe /scan-devices
для сканирования системы на предмет изменений оборудования.