Remember to maintain security and privacy. Do not share sensitive information. Procedimento.com.br may make mistakes. Verify important information. Termo de Responsabilidade
Keeping your drivers up to date is essential to ensure the proper performance of devices connected to your Windows computer. While most people rely on graphical interfaces to update drivers, the Command Prompt (CMD) offers a quick and efficient way to accomplish this task. In this article, we’ll explore how you can use CMD commands to update drivers in Windows.
Windows Update is the simplest and safest way to update drivers, as it automatically checks for available updates for your hardware.
Steps:
wuauclt.exe /detectnow
DISM is a powerful tool that allows you to manage drivers directly via CMD. It’s useful for adding drivers manually or checking installed drivers.
dism /online /get-drivers
This will display a list of drivers with details such as name, provider, and publish date.
If you have the driver file (.inf), use the following command to install it:
dism /online /add-driver /driver:c:\path\to\driver.inf
Replace c:\path\to\driver.inf
with the full path to the driver file.
To add all drivers in a directory, use:
dism /online /add-driver /driver:c:\directory\with\drivers /recurse
This will install all valid drivers in the specified directory.
dism /online /get-drivers | findstr "driver_name"
Replace driver_name
with the name of the driver you installed.
PnPUtil is a built-in Windows tool that allows you to install, remove, and list drivers via CMD.
pnputil /add-driver c:\path\to\driver.inf
Replace c:\path\to\driver.inf
with the path to the driver file.
pnputil /enum-drivers
pnputil /enum-drivers
and note the driver name.pnputil /delete-driver DRIVER_NAME.inf
Replace DRIVER_NAME.inf
with the name of the driver you want to remove.
The driverquery
command allows you to list all installed drivers on the system, which is useful for identifying outdated or problematic drivers.
Steps:
driverquery
driverquery > c:\path\to\driver_list.txt
Updating drivers in Windows is a crucial task to ensure the proper functioning of devices connected to your computer. While there are several ways to accomplish this, using CMD can be a quick and efficient option. In this article, we’ve provided examples of commands to update drivers using Windows Update, DISM, PnPUtil, and Driverquery. Try these methods and keep your drivers up to date for optimal computer performance.