PNPUTIL command in Windows
The PNPUTIL command in Windows allows users to manage device drivers effortlessly. From adding new drivers to removing old ones, and listing all currently installed drivers, PNPUTIL provides a convenient way to handle driver management tasks. The command can be run from the Command Prompt or PowerShell, making it accessible to both novice and advanced users. Whether you need to troubleshoot driver issues or simply want to keep your system up to date, PNPUTIL is a valuable tool in the Windows environment.
PNPUTIL Syntax:
Windows PNPUTIL Options:
Option | Description |
---|---|
-a | Add a driver package to the driver store. |
-d | Delete a driver package from the driver store. |
-e | Enumerate all 3rd party driver packages. |
-f | Force the operation to succeed when the driver package is unsigned. |
-i | Install a driver package. |
-u | Uninstall a driver package. |
-y | Quiet mode, do not ask for confirmation. |
-? | Display help. |
PNPUTIL Parameters:
Parameter | Description |
---|---|
/? | Display help information. |
/add-driver | Install a driver package. |
/delete-driver | Delete a driver package. |
/disable | Disable a device. |
/enable | Enable a device. |
/enum-drivers | Enumerate all 3rd party drivers. |
/export-driver | Copy the driver files from the driver store to a specified directory. |
/import-driver | Copy the driver files to the driver store. |
/install | Install a driver package. |
/update | Update a device. |
/uninstall | Uninstall a device and delete the driver package. |
How to use PNPUTIL command:
List all driver packages
This command lists all driver packages currently in the driver store.
Add a driver package to the driver store
Adds a driver package located at the specified path to the driver store.
Remove a driver package from the driver store
Deletes a specific driver package from the driver store using its name.
Import a driver package to the driver store
Imports and installs a driver package from the specified path to the driver store.
Scan for new hardware
Initiates a scan to detect new hardware devices on the system.
List all published driver packages
Displays a list of all published driver packages in the driver store.
List devices with a driver package
Lists all devices along with their associated driver packages in the driver store.
Remove all driver packages
Removes all driver packages from the driver store, effectively uninstalling all drivers.
How do I use pnputil to list all the drivers on my system?
To list all the drivers on your system using pnputil, run the following command:
How can I add a driver package using pnputil?
To add a driver package using pnputil, use the following command:
How do I uninstall a driver package with pnputil?
To uninstall a driver package with pnputil, execute the command:
Can I export a driver package with pnputil?
Yes, you can export a driver package using pnputil by running the command:
How do I search for a specific driver package with pnputil?
To search for a specific driver package using pnputil, use the following command:
How can I get detailed information about a driver package with pnputil?
To get detailed information about a driver package with pnputil, run the command:
Can I force an update of a driver package using pnputil?
Yes, you can force an update of a driver package with pnputil by running the command:
How do I remove all driver packages in the driver store with pnputil?
To remove all driver packages in the driver store using pnputil, execute the following command:
Applications of the PNPUTIL Command
- Add a driver package to the driver store
- List all driver packages in the driver store
- Delete a driver package from the driver store
- Enable or disable specific driver packages
- Export a driver package from the driver store
- Import a driver package into the driver store
- Show information about a specific driver package in the driver store