Table of Contents
The Pnpunattend Command and the Pnputil Command in Windows is easier to understand when the core ideas are paired with practical examples. The sections below explain the topic clearly, highlight useful steps, and point out details that can prevent common errors.
Pnpunattend command
Check the computer fordevice drivers(device drivers)and perform unattended driver installations, or search for drivers without having to install and report the results to the command line.In addition, use this command to specify the specific driver settings for specific hardware devices.See the glossary.
Syntax pnpunattend command
PnPUnattend.exe auditSystem [/ help] [/?] [/ H] [/ s] [/ L]
The pnpunattend command parameter
Parameters
Describe
auditSystem
Specify the driver installation online.
This parameter is required, unless the pnpunattend command is run with / Help or /?
/S
Optional.Specifies the driver search without installation.
/ L
Optional.Specify to display log information for this command in the command prompt.
/?
Optional.Show help for this command at the command prompt.
The pnpunattend command comment
Before using this command, you must complete the following tasks:
- Create a directory for the driver you want to install.As an example,, create a folder at C: DriversVideo for thevideo adapterdriver (video adapter).
- Download and unzip the driver package for your device.Copy the contents of the subdirectory that contains INF files for your operating system version, and any subdirectories into the video folder you created.As an example,, copy the video driver files to C: DriversVideo .
- Adding a system environment path may change to the folder you created in step 1. Example: C: DriversVideo.
- Create the registry key and then, with DriverPath that you create, set Value Data to a value of 1.
- For Windows® 7, navigate to the Registry path: HKEY_LOCAL_MachineSoftwareMicrosoftWindows NTCurrentVersion , and then create the following key: UnattendSettingsPnPUnattendDriverPaths
- For Windows Vista, navigate to the following Registry path: HK_LMSoftwareMicrosoftWindows NTCurrentVersion , and then create the key = UnattendSettingsPnPUnattendDriverPaths.
As an example,
The following command example explains how to use PNPUnattend.exe to check a computer for possible driver updates, and then report the findings in the command prompt.
pnpunattend auditsystem / s / l
The command pnputil
Pnputil.exe is a command line utility that you can use to manage the driver store repository.You can use Pnputil to add driver packages, remove driver packages, and list driver packages in stock.
Syntax of pnputil command
pnputil.exe [-f | -i] [-? | -a | -d | -e]
Parameter command pnputil
Parameters
Describe
-a
Specifies to add the specified INF file.
-d
Specifies to delete the INF file that has been defined.
-e
Specifies to list all third party INF files.
-f
Specifies to be forced to delete the specified INF file.Cannot be used in conjunction with the -i parameter.
-i
Specifying the installation of the INF file has been determined.Cannot be used in conjunction with the -f parameter .
/?
Show help for this command at the command prompt.
Example of pnputil command
Add the INF file specified by USBCAM.INF:
pnputil.exe -aa: usbcamUSBCAM.INF
Add all INF files in c: drivers:
pnputil.exe -ac: drivers * .inf
- Append command in Windows
- The assoc in Windows command
- Auditpol command in Windows
- The atmadm command in Windows
FAQ
What should you know about pnpunattend command?
Check the computer fordevice drivers(device drivers)and perform unattended driver installations, or search for drivers without having to install and report the results to the command line.In addition, use this command to specify the specific driver settings.
What should you know about the command pnputil?
Pnputil.exe is a command line utility that you can use to manage the driver store repository.You can use Pnputil to add driver packages, remove driver packages, and list driver packages in stock.
What is The Pnpunattend Command and the Pnputil Command in Windows?
The Pnpunattend Command and the Pnputil Command in Windows refers to the core ideas, tools, or processes explained in this guide. Understanding the basics makes the more advanced details easier to apply.
Reader Comments 0
Sign in with email or Google to join the discussion.