There isn't a built-in Command Prompt command that downloads and updates every Windows driver. Use Windows Update for recommended drivers and the hardware maker's official package when a specific device needs a compatible update. PnPUtil can install a driver package you already have; driverquery lists drivers, and winget upgrade concerns applications.

I'd identify the device and the reason for the update before changing anything. A command that finishes without an error doesn't establish that every driver is current, and replacing working drivers gives you more changes to investigate if a problem starts.

Before any driver change, open the exact device in Device Manager > Properties > Driver and record its provider, date and version. Keep the package name with those notes.

Choose the job before choosing the command

Your taskAppropriate route
Find recommended driver downloadsWindows Update; check the exact manufacturer's support page if needed.
List installed driversdriverquery. This retrieves information.
List third-party packages in the driver storepnputil /enum-drivers. This isn't a list of every active device driver.
Detect hardware changespnputil /scan-devices. This isn't an online driver-update sweep.
Install a known local INF packagepnputil /add-driver with /install, after checking compatibility.
Update applicationsWinGet application upgrades. Don't use completion as a driver-health result.

Microsoft's PnPUtil command reference separates package enumeration, hardware scans and package installation. Those are different operations even though one utility offers them.

Get compatible drivers through Windows Update

Windows 11 installs recommended drivers automatically through Windows Update. Optional driver updates require a manual choice. Microsoft's recommended and optional driver instructions distinguish those two cases.

  1. Open Start > Settings > Windows Update > Advanced options.
  2. Check Receive updates for other Microsoft products, then open Optional updates under Additional options.
  3. If drivers are listed, select the intended driver and choose Download and install. Don't select unrelated optional packages just to make a list empty.
  4. Save open work, let installation finish and restart Windows. Then verify the actual device.

If Windows Update can't find a suitable package, use the PC or device manufacturer's official support page. Match the exact model, installed Windows version and processor architecture before downloading. A managed work PC should use your organization's approved route; don't bypass its update policy.

For a processor-related search, first check whether you need a CPU or chipset package. That distinction is more useful than attempting to replace everything listed under Processors.

List drivers from Command Prompt

The following are documented command examples for inspecting the local PC. Search Start for Command Prompt, choose Run as administrator and approve only an authorized prompt. Microsoft documents this administrator context for PnPUtil and driverquery.

driverquery

The driverquery reference describes a list of installed device drivers and their properties. For comma-separated output displayed in the console, use:

driverquery /fo csv

Neither command searches for downloads or installs a replacement. Keep output containing computer or workplace details private when asking for help.

pnputil /enum-drivers

This lists third-party driver packages in the driver store. A Windows-supplied driver can be absent from that list without being missing from the PC. A stored package also isn't proof that a particular device is currently using it. For a printer's actual package, use the separate printer driver name and INF-path checks.

Know what a hardware scan can do

pnputil /scan-devices

This scans for device hardware changes. Microsoft makes the option available starting in Windows 10 version 2004, so it is available on Windows 11. It doesn't turn PnPUtil into a command that fetches every newer driver from the Internet.

Use a rescan when hardware detection is the task, then check whether the intended device appears. If the device is already recognized but a particular function fails, record that symptom instead of repeating scans and assuming a version change occurred.

Install one known local INF package

Use this route only after obtaining and extracting a compatible official driver package that includes an INF file. If the manufacturer provides an installer with its own procedure, follow that procedure instead. An EXE download isn't an INF file you can pass to this command.

Before changing a network, display or input driver, save your work and keep a practical way to regain access. For a network adapter, keep the compatible package available offline. Don't perform an unplanned remote-only adapter change if losing that connection would leave you unable to recover.

A single INF can match more than one device. The /install option can affect any matching devices, so confirm that scope before proceeding. Replace the entire example path below with the exact INF path you verified. Run it in the administrator Command Prompt:

pnputil /add-driver "C:\Drivers\ExactDevice\device.inf" /install

/add-driver adds the package to the driver store. /install installs or updates drivers on matching devices. It doesn't force the package onto a device when it isn't the highest-ranked driver. Review the command's actual result, then verify which driver the device uses. If it fails, keep the exact error and recheck the path and package compatibility. Don't remove existing packages or disable signature protection to make an unsuitable INF install.

I would use the exact INF rather than point a wildcard at a collection of downloaded driver packs. That keeps the intended package identifiable. Don't add /reboot to an unattended copied command; save work and restart deliberately when the installation instructions or result require it.

Why winget upgrade doesn't update every driver

winget upgrade displays available application upgrades. Adding --all attempts to upgrade the eligible applications. Microsoft's WinGet upgrade documentation describes application packages, so an empty upgrade list doesn't certify your hardware drivers.

An application package associated with a hardware vendor and the driver bound to a device are separate things to verify. I wouldn't run a mass application upgrade to fix a single adapter or audio problem. Likewise, a Windows Update automation script that accepts every update and restarts automatically gives you less control over what changes.

Verify the device after changing a driver

Once installation and any required restart are complete, check the same device again:

  1. Open Device Manager from Start and expand the affected device category.
  2. Right-click the exact device, select Properties and open Driver. Compare its provider, date and version with the details you recorded before the change.
  3. Test the function that originally failed. For a planned update, verify the feature or fix the package was intended to provide.
Driver provider, date and version in the selected Intel adapter properties.
Record the selected device's provider and driver version. This older Intel adapter view shows where to look; its example version isn't a download recommendation.

If the new driver causes the problem, Microsoft's Device Manager rollback instructions use Properties > Driver > Roll Back Driver. Administrator access is required. Follow the reason and confirmation prompts, restart if prompted, then retest the affected function. If Roll Back Driver is unavailable or fails, stop and use the device manufacturer's recovery guidance or your IT team rather than uninstalling a network or input device blindly.

If Windows Update repeatedly offers a driver while the device works, use the 0x80070103 driver-offer checks when that exact code appears. A repeated offer doesn't justify forcing unrelated packages. For other device symptoms, choose the matching task in the device troubleshooting hub and keep the exact error, device model and before/after driver details with your notes.