如何更新所有的Windows驱动程序?

有没有办法强制Windows重新检查其数据库中的驱动程序(HKEY_LOCAL_MACHINE \ Software \ Microsoft \ Windows \ CurrentVersion \ DevicePath)的所有设备,并更新到最新的驱动程序可用? 类似于第一次启动克隆的HD映像时sysprep所做的操作。

例如:当您在主板上安装Windows时,某些设备会被Windows CD中的驱动程序自动识别并安装。 其他一些不被识别,因此,没有安装。 通常,您使用MB CD来更新所有驱动程序。 有两种方法可以做到这一点:

  1. .exe文件:只要运行它(通常)它会更新所有驱动程序(识别或不)。

  2. .inf文件:如果设备未被识别,驱动程序安装向导会自动在CD上find驱动程序,否则必须手工更新(设备pipe理器 – >设备属性 – > … – >更新驱动程序) 如果您知道哪些设备更新了MB CD上的驱动程序。 您可以检查CD上的.inf文件以查找哪些受支持,但这是一个痛苦的过程。

我通常会修改DevicePathregistry项并在创build一个PC映像以便稍后克隆(我为IT部门工作)时使用驱动程序包,而sysprep会处理其余部分。 但是,当你想要安装一个不同于保存的HD镜像的PC(因此,你不使用sysprep),这个过程不适用。

我想要做的是:

  1. 安装Windows之后,将驱动程序包解压缩到一个文件夹。

  2. 修改DevicePath

  3. 强制Windows更新到更新的驱动程序(_already_recognized_devices_是最重要的东西,没有被认出的痛苦)。

这是我不知道该怎么做的第三步。

尝试使用DevCon ,一个微软的工具。

DevCon实用程序是一个命令行实用程序,可用作设备pipe理器的替代方法。 使用DevCon,您可以启用,禁用,重新启动,更新,删除和查询单个设备或设备组。

只要您将驱动程序解压缩到默认searchpath,您就可以调用重新扫描来捕获所有最初未安装的设备。

您可以使用DPInst.exe。

这里有一个指导: http://blogs.technet.com/b/svengruenitz / …

这是我用于静默更新所有驱动程序的DPInst.xml文件。

<?xml version="1.0" ?> <dpinst> <!-- Suppress the addition of entries to Programs and Features in Control Panel.--> <suppressAddRemovePrograms/> <!-- install a driver package for a Plug and Play (PnP) function driver only if the driver package matches a device that is configured in a computer and the driver package is a better match for the device than the driver package that is currently installed on the device. --> <scanHardware/> <!-- Suppress the display of user interface items that DPInst and Windows generate. --> <quietInstall/> <!-- The following search and subDirectory elements direct DPInst to search all subdirectories (under the DPInst working directory) to locate driver packages. --> <search> <subDirectory>*</subDirectory> </search> </dpinst> 

您还可以在命令提示符下使用/ C标志运行DPInst.exe,以查看它正在执行的操作。

DPInstall文档在这里: https://msdn.microsoft.com / …

没有通用的方法。 如果您有戴尔,戴尔会执行一个驱动程序更新包,以检查所有戴尔驱动程序并将其更新到最新版本。 您应该能够通过戴尔网站的驱动程序区域input您的服务器的标签号find它。

JR

有一些(非免费)程序声称为你做这个。 2我能想到的是我的头顶上是:

司机机器人

司机侦探

我没有用过他们,所以不能保证他们有多好。