Home OS Windows How to update Drivers using Command Prompt in Windows 10

How to update Drivers using Command Prompt in Windows 10

The Command Prompt is one utility that lots of the energy customers love to make use of and have grown with it. If you didn’t know, however it’s doable to run Windows Update from the command line. Similarly, it’s also doable to replace drivers utilizing the Command Prompt.

Microsoft provides a built-in utility PnPUtil.exe that permits an administrator so as to add a driver package deal, set up or replace and delete a driver package deal from the motive force retailer.  You can even discover out the checklist of driver packages presently put in within the driver retailer. In this publish, we are going to present how one can add drivers utilizing the Command Prompt.

If you wish to examine you could have it, all it’s essential do is open the command immediate and sort PNPUtil.exe and press the Enter key. If there isn’t any error, you might be good to go.

Update Drivers utilizing Command Prompt

install update driver command prompt

This methodology won’t obtain the motive force package deal from the web. You should obtain the package deal from the OEM web site or copy it from USB or storage media, and duplicate it to the pc.

Once executed, you possibly can then use the motive force with the utility to put in or replace the motive force. You should present the trail to the INF file which holds info of the motive force to be put in.

PnPUtil Syntax

pnputil  [/add-driver <...> | /delete-driver <...> | /export-driver <...> | /enum-drivers | /disable-device <...> | /enable-device <...> | /restart-device <...> | /remove-device <...> | /scan-devices <...> | /enum-devices <...> | /enum-interfaces <...> | /?]

Here is the syntax, as acknowledged in microsoft.com:

pnputil /add-driver * <filename.inf | .inf> [/subdirs] [/install] [/reboot]

/subdirs - traverse sub directories for driver packages.

/set up - set up/replace drivers on any matching gadgets.

/reboot - reboot system if wanted to finish the operation.

Examples of utilizing the PnPUtil command

You can use the /set up possibility to put in a brand new driver or replace an current one.

Add driver package deal 

pnputil /set up x:driver.inf

Add a number of driver packages

pnputil  /set up c:oem*.inf

Add and set up the motive force package deal

pnputil  /set up machine.inf /set up

That stated, the utility can return info, which might counsel if a reboot is required. If you don’t get something or a zero, all is effectively. However, when you get ERROR SUCCESS REBOOT REQUIRED (3010) then a system reboot is required. It occurs when the reboot shouldn’t be used throughout set up or replace. In case a restart is required, then you’ll obtain ERROR SUCCESS REBOOT INITIATED (1641) which suggests the replace was profitable, and the system reboot is underway.

The utility can even discover or enumerates the motive force packages which can be presently within the driver retailer. However, it can solely checklist driver packages that aren’t in-box packages are listed. An in-box driver package deal is one that’s included within the default set up of Windows or its service packs.

There is one other command known as Drvload, however it solely works within the Windows PE setting, so from a shopper or admin perspective, you’ll have to use the PnPUtil to replace or set up a brand new driver in Windows 10.

How to update drivers using command prompt

Most Popular

Fintech Machine Learning Leader Attunely Secures $9M in Funding

New capital will support expansion of team; Attunely technology helps financial and creditl institutions better manage revenue recovery and the consumer experience SEATTLE–(BUSINESS WIRE)–September 24,...

Nvidia preemptively apologizes for limited RTX 3090 supply

What just happened? Nvidia underestimated demand for its RTX 3080 last week...

DisperSol Technologies Names David Snyder as Chief Financial Officer

Snyder to Drive Financing for Spin-Out of Clinical-Stage Drug Programs GEORGETOWN, Texas–(BUSINESS WIRE)–September 24, 2020– DisperSol Technologies LLC announced today that its Board of Directors has...

Roblox will stage a virtual concert with Ava Max on its path to the metaverse

Step this way to the metaverse. Roblox has a virtual concert coming with pop star Ava Max, who will sing songs from her new...

Recent Comments