5 C
Texas

How to back up drivers in Windows 10.

Hello! Consider this: The operating system is already saturated, and giving problems. Therefore, it is necessary to reinstall Windows. In such a case, a common problem is the drivers. They are often not available or not compatible. Consequently, it is problematic to update drivers for elements such as network, audio, graphics, etc. For such reason, it is advisable to have a backup of the drivers that are working correctly. There are certainly third-party programs that offer this feature. However, today we are going to use a Windows 10 application. Read on to learn how to backup drivers in Windows 10.

How to create driver back up in Windows 10 using PowerShell.

As mentioned, we will use PowerShell. It is well known that this is a command-line interface of Windows 10. Therefore, we will use some commands to do the backup. The first thing you have to do is to open this console with administrator privileges. With this intention, press the Win+X combination. Please look at the image below:

Running a PowerShell with administrator privileges

Once the PowerShell is executed, it is necessary to use the following syntax:

Export-WindowsDriver -Online -Destination Path where we will store them
- Advertisement -

In this case, we have created a folder on the E: drive called Drivers_Backup. Therefore, the command will look like this:

Export-WindowsDriver -Online -Destination E:\Drivers_Backup
Backing up the drivers in the selected location.
Backing up the drivers in the selected location.

Pressing Enter will start the driver export process:

You can go to the selected location to validate the backup of the drivers.

Backup of drivers in the selected location.
Backup of drivers in the selected location.

How to view the drivers installed in Windows 10.

To find out which drivers are installed on the system, you need to use the following command:

Get-WindowsDriver –Online -All
List of drivers installed in Windows 10
List of drivers installed in Windows 10

To see the list better organized, please use the following command:

Get-WindowsDriver -Online -All | Out-GridView

How to restore drivers from the command prompt.

Once backed up, it is possible to update the drivers. With this in mind, we will use the command prompt with administrator privileges. With this intention, type CMD in the search bar:

Launching a CMD with administrator privileges
Launching a CMD with administrator privileges

Once there, we will use the following syntax.

dism /online /Add-Driver/Driver:Path to controller/Recurse
Restoring a driver with CMD.
Restoring a driver with CMD.

Restore and update drivers with PowerShell

This process can also be performed from PowerShell. To do so, we will use the following syntax.

Add-WindowsDriver Path to controller/Recurse

In this way we have seen how to back up the drivers in Windows 10. Consequently, this copy allows you to reinstall the system safely. Thus, the correct functioning of the hardware is guaranteed. See you soon!

- Advertisement -
Everything Linux, A.I, IT News, DataOps, Open Source and more delivered right to you.
Subscribe
"The best Linux newsletter on the web"

LEAVE A REPLY

Please enter your comment!
Please enter your name here



Latest article