强制 Windows 重新扫描驱动程序

发布于 2024-08-31 11:28:32 字数 204 浏览 7 评论 0原文

作为软件安装的一部分,我们安装所需的第三方硬件组件的驱动程序。目前,安装完成后,用户需要手动扫描其硬件驱动程序。

有没有一种简单的方法可以让Windows自动查找我们安装的驱动程序?如果是这样,它是如何运作的?我们是否需要告诉操作系统我们有哪个硬件设备的驱动程序,或者只是我们在某个位置有驱动程序?或者我们可以将驱动程序安装到 System32 文件夹并触发驱动程序重新扫描吗?

As part of our software's installation, we install drivers for a required 3rd party hardware component. Currently it's up to the user to manually scan for their hardware's drivers once our installation is completed.

Is there an easy way to get Windows to automatically look for the drivers we installed? If so, how does it work? Do we need to tell the OS for which hardware device we have drivers, or just that we have drivers in a certain location? Or can we just install the drivers to System32 folder and trigger a driver rescan?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

路弥 2024-09-07 11:28:32

那么安装驱动时硬件已经插入了吗?

下载 Windows 驱动程序工具包 (WDK) 并查看 devcon 示例(包含二进制文件和源代码)。 “devcon update”命令应该执行您想要的操作(即安装驱动程序,然后将它们加载到指定的设备实例上)。

-斯科特

So the hardware is already plugged in when you install the driver?

Download the Windows Driver Kit (WDK) and see the devcon sample (binary and source included). The "devcon update" command should do what you want (i.e. install the drivers and then load them over the specified device instance).

-scott

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文