管理員
註冊日期: 2007/11/03 21:18
文章: 1546
等級: 33; EXP: 43 HP : 0 / 810 MP : 515 / 39048
|
Got this: Windows cannot start this hardware device because its configuration information (in the registry) is incomplete or damaged. (Code 19)
Power Shell to Add / remove IrDA infrared components
Run PowerShell as administrator Query state of the IrDA components: get-WindowsCapability -online -Name "Network.Irda~~~~0.0.1.0"
Unistall Remove-WindowsCapability -online -Name "Network.Irda~~~~0.0.1.0"
Add
add-WindowsCapability -online -Name "Network.Irda~~~~0.0.1.0"
Query state of the IrDA components: get-WindowsCapability -online -Name "Network.Irda~~~~0.0.1.0"
An example of the results (Thanks to FritzMerkel) of the scripts when fixing IrDA issue.
PS C:\WINDOWS\system32> get-WindowsCapability -online -Name "Network.Irda~~~~0.0.1.0"
Name : Network.Irda~~~~0.0.1.0 State : NotPresent DisplayName : IrDA infrared Description : Support for IrDA devices. Requires special IrDA hardware. DownloadSize : 604101 InstallSize : 1236233 PS C:\WINDOWS\system32>
Then the others:
PS C:\WINDOWS\system32> Remove-WindowsCapability -online -Name "Network.Irda~~~~0.0.1.0"
Path : Online : True RestartNeeded : False
PS C:\WINDOWS\system32> add-WindowsCapability -online -Name "Network.Irda~~~~0.0.1.0" >>
Path : Online : True RestartNeeded : False PS C:\WINDOWS\system32> get-WindowsCapability -online -Name "Network.Irda~~~~0.0.1.0"
Name : Network.Irda~~~~0.0.1.0 State : Installed DisplayName : IrDA infrared Description : Support for IrDA devices. Requires special IrDA hardware. DownloadSize : 604101 InstallSize : 1236233
Alternative: on windows interface:
To remove:
Go to Settings -> Apps and Features -> Optional Features
Select IrDA Infrared and click uninstall.
To Install
Go to Settings -> Apps and Features -> Optional Features
Add a feature (top of list) Select IrDA Infrared from the list.
It installs and should be visible in the Optional Features list.
Go back to Control Panel\All Control Panel Items and hopefully you will now see Infra Red icon and features.
If this does not work do use the PowerShell commands
2020/09/17 14:53
|