Feature Request: Remove ghost devices button
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 35/100
- Issue 类型
- 功能
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- csharp, powershell
调研方向
首先定位应用的设备管理 UI,以及用于添加设备操作的入口点。将所需行为与 issue 中的 PowerShell 命令进行比较,尤其要关注筛选状态为 Unknown 的设备,并通过 InstanceId 删除这些设备。完成的标准是应用提供一个按钮,用于删除目标幽灵设备,并清晰地报告结果。
由索引模型根据 Issue 内容生成。
描述
Windows kept reinstalling drivers for devices I didn't have anymore such as RTX3080 display driver, logitech mouse array....
This was because the devices were marked as disconnected but still necessary in device manage.
This script removed all ghost devices and fixed the issue.
#List all hidden devices
$unknown_devs = Get-PnpDevice | Where-Object{$_.Status -eq 'Unknown'}
#loop through all hidden devices to remove them using pnputil
ForEach($dev in $unknown_devs){
pnputil /remove-device $dev.InstanceId
}
Would be nice if this powershell script had a button somewhere within this app
- 主要语言
- C#
- 星标
- 11.8k
- 派生
- 557
- 平均合并
- 1 天 23 小时
- 30 天内合并 PR
- 2
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
lostindark/DriverStoreExplorer 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 74/100
-
难度 2/5 1-3 小时 新手友好度 65/100
lostindark/DriverStoreExplorer#442 · 1 条评论 ·
-
难度 4/5 3-5 天 新手友好度 30/100
lostindark/DriverStoreExplorer#456 · 1 条评论 ·
-
难度 4/5 3-5 天 新手友好度 35/100
lostindark/DriverStoreExplorer#454 · 1 条评论 ·
-
难度 4/5 3-5 天 新手友好度 42/100
查看 lostindark/DriverStoreExplorer 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 68/100
stryker-mutator/stryker-net#3892 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 65/100
MobiFlight/MobiFlight-Connector#3419 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 82/100
Kryptos-FR/MarkView.Avalonia#105 ·
维护者通常 1 天内回复
-
[辞書]未关闭提案 辞書
难度 2/5 1-3 小时 新手友好度 65/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 76/100
microsoft/fluentui-blazor#5410 ·
维护者通常 1 天内回复