以编程方式禁用 Windows 7 上的在线驱动程序搜索
我正在开发一个需要安装即插即用驱动程序的程序。我的问题是,设备第一次插入时,默认情况下,Windows 7 32 位会自动在线搜索与设备更匹配的驱动程序。据我观察,正确安装驱动程序需要很长时间(15m)。
如何关闭 Windows 7 上的自动搜索?
感谢您提供任何有用的信息。
I am working on a program that requires to install a driver for Plug and Play. My issue is that the first time the device plugs into, by default, windows 7 32-bit automatically search online for drivers that better match to device. As i observe, it takes too long (15m) to correctly install the driver.
How can i turn off the automatic search on windows 7?
Thank you for any useful information.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
显然,您是通过 GPO 执行此操作的,如下所述:
http://www. verboon.info/index.php/2010/12/windows-7-device-installation-without-administrative-rights/
在此查找“阻止客户端在 Windows 更新上搜索驱动程序” 页。
阅读有关以编程方式应用 GPO 的内容,您应该能够完成工作。但是,请注意,您将更改整个系统的策略,而不仅仅是此设备的安装。
Apparently you do this through GPO, as described here:
http://www.verboon.info/index.php/2010/12/windows-7-device-installation-without-administrative-rights/
Look for "Prevent Clients from searching for drivers on Windows Update" on this page.
Read up on applying GPO programatically and you should probably be able to get the job done. However, mind that you'd be changing the policy for the whole system, not just installation of this device.
如果您在插入驱动程序之前安装了驱动程序包,Windows 将不会在线搜索。
如果您确实想在计算机上禁用在线搜索 - 请查看 此处。
If you install a driver package for your driver before you insert it, Windows will not search online.
If you really want to disable online serach on your machine - take a look here.