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

Kuo: iPhone 12 is selling well, redesigned Macs and Apple Watch expected in 2021

Bottom line: Apple's new iPhone 12, iPad Air, Watch Series 6, Watch...

Studio MDHR will delay Cuphead’s The Delicious Last Course DLC

Studio MDHR announced in a tweet that it has delayed the release of its Cuphead downloadable content, dubbed The Delicious Last Course. The Canadian game...

Lexon’s Oblio Named as One of TIME’s 100 Best Inventions Of 2020

The best-selling 2-in-1 charging solution with UV-C sanitizer receives recognition for making the world better PARIS–(BUSINESS WIRE)–November 25, 2020– 20 years after making the cover of...

Ryzen 5000 CPU support is coming to 400 series chipsets sooner than expected

What just happened? Good news for AMD Ryzen 5000 series CPU owners...

Recent Comments