Compartilhar via


Stage a Device Driver in the Driver Store

Applies To: Windows Server 2008

The driver store is a protected area of a computer that contains device driver packages that have been approved for installation on the computer. After a device driver package is in the driver store, a standard user on the computer can install its device without needing elevated user permissions.

This topic provides a procedure that an administrator can use to stage a device driver installation package in the driver store.

Membership in the local Administrators group, or equivalent, is the minimum required to complete this procedure. Review the details in "Additional considerations" in this topic.

To stage a driver package in the driver store

  1. Open a command prompt that has administrator privileges. Click Start, All Programs, and Accessories, then right-click Command Prompt, and then click Run as Administrator.

Note

The PnPUtil command-line tool does not work unless you run the command prompt as an administrator.

  1. If the User Account Control dialog box appears, confirm that the action it displays is what you want, and then click Continue.

  2. At the command prompt, type the command:

    pnputil.exe -a <PathToDriver>/<Driver>.inf

    Parameter Description

    -a

    Specifies that the driver package is to be added to the driver store.

    PathToDriver

    Specifies the path to the folder where the driver is currently located.

    Driver.inf

    Specifies the name of the .inf file that describes the driver package.

Note

To see all of the command-line parameters for the PnPUtil command, type the following at the command prompt: pnputil -?

  1. If the driver package is not signed, or is signed by a certificate that is not currently in the Trusted Publishers certificate store, the Windows Security dialog appears asking you to confirm whether the driver should be installed. View the details of the message to determine the problem with the driver's signature. If you are sure that the driver package is valid and safe, click Install to finish the staging operation.

  2. When staging is complete, the PnPUtil tool reports a Published name that is assigned to this package in the driver store. This name is the one that must reference if you want to delete the driver package from the store later. If you need to determine the published name for a driver package, use the command pnputil.exe -e, and then search the output for the driver you need.

Additional considerations
  • By default, membership in the Administrators group, or equivalent, is the minimum required to install a device driver package in the driver store. A standard user can install a driver package only if the following conditions are met:

Additional references

Installing Devices and their Drivers

Configure Computer Policy to Allow Non-Administrators to Install Specific Devices

Configure Windows to Search Additional Folders for Device Drivers

Configure Windows to Search Windows Update for Device Drivers

Command-line syntax notation