The Command Prompt is near and dear to the users who are familiar with all the right and wrong-doings of the system. From installation/uninstallation of apps to complete system scan, from registering or de-registering any program to fix any glitch in the system the Command Prompt is a utility to extract help from in the matters of system errors.
You can also use Command Prompt to update the driver in your Windows 10. How to do that? Well, this article is all about that where you can know how to update drivers using Command Prompt in Windows 10.
Update Drivers Using Command Prompt
Windows offers you a PnPUtil tool integration which can help you download a driver package, install/add the driver and if you wish to uninstall it in the future, it also allows you to remove the driver from the list. Let us take a look at the steps that can help use Command Prompt to update drivers in Windows 10.
To begin with this process, you first have to download or transfer the driver package on your computer. You can download it by visiting the OEM website or use the pen drive to transfer the package into your PC.
Once you have downloaded/transferred the driver package to your computer, you can install it using the PnPUtil.exe tool by entering the path to the INF file that has details of the driver which needs to be installed.
pnputil [/add-driver <…> | /delete-driver <…> |
/export-driver <…> | /enum-drivers |
/disable-device <…> | /enable-device <…> |
/restart-device <…> | /remove-device <…> |
/scan-devices <…> | /enum-devices <…> |
/enum-interfaces <…> | /?]
Here are the steps to update the driver in your Windows 10 using command prompt:
- Go to the Start button (Windows icon), in the bottom left of your desktop.
- Now, type Command Prompt in the search bar.
- Then, right-click on the result and choose Run as administrator from the right-click menu and open the Command Prompt with admin rights.
- Once you are on the Command Prompt window, run the command to pull up the syntax and the examples and then click Enter: Pnputil
How to Add a Driver
If you are looking for a way to add the driver, here are the steps that you can follow:
- Open File Explorer and go to the folder location where the driver you want to add is saved.
- Now that you have opened the folder location, copy the driver folder.
- Then you have to open the drive where you wish to paste the copied driver folder. Once you are in the drive, paste the copied folder.
- Next, go to the Command Prompt and run the command to add and install the driver package.
How to Remove a Driver
So far you have come across the steps to install a driver using Command Prompt. If you want to remove the installed driver, here are the steps that you need to follow.
- Open the Command Prompt window and run the following command. Then click Enter: pnputil.exe -e
- Now, note down the OEM number of the driver you want to delete.
- Then, run the below-written command to delete the driver package and hit Enter: pnputil.exe -d OEM number
Manage Your Drivers Using Command Prompt
So, that was it for updating drivers using Command Prompt in Windows 10. It is quite a simple method to update, install or even delete a driver in your Windows PC. Did you find this article helpful? We’d love to read your views and suggestions in the comment lane.