Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Feature Request: Remove ghost devices button

未关闭
#345 2 条评论 3 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
35/100
Issue 类型
功能
描述清晰度
基本清楚
活跃度
停滞
技术栈
csharp, powershell

调研方向

首先定位应用的设备管理 UI,以及用于添加设备操作的入口点。将所需行为与 issue 中的 PowerShell 命令进行比较,尤其要关注筛选状态为 Unknown 的设备,并通过 InstanceId 删除这些设备。完成的标准是应用提供一个按钮,用于删除目标幽灵设备,并清晰地报告结果。

由索引模型根据 Issue 内容生成。

描述

feature request

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,通用步骤见我们的新手贡献指南。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

lostindark/DriverStoreExplorer 的其他 Issue

查看 lostindark/DriverStoreExplorer 的全部 Issue

相似的 Issue

更多 C# Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。