step-by-step command to back up drivers in win

 

Step 1: Open Command Prompt as Administrator

  1. Press Windows Key + X and select Command Prompt (Admin) or Windows PowerShell (Admin).
  2. Alternatively, you can search for "cmd", right-click on Command Prompt, and choose Run as administrator.

Step 2: Export Drivers to a Folder

Use the DISM command to export drivers. For example, to export drivers to C:\Backup\Drivers:

cmd

DISM /Online /Export-Driver /Destination:C:\Backup\Drivers
  • /Online: Specifies that you are working with the currently running system.
  • /Export-Driver: Tells DISM to export the drivers.
  • /Destination:C:\Backup\Drivers: Specifies the destination folder where drivers will be saved (you can change C:\Backup\Drivers to any path you prefer).

Make sure the folder C:\Backup\Drivers exists before running the command or create it with mkdir:

cmd

mkdir C:\Backup\Drivers

Step 3: Verify the Backup

The drivers will be exported to the folder you specified (e.g., C:\Backup\Drivers). You can navigate to that folder to ensure all driver files are copied.

Additional Information

  • This method backs up all the device drivers currently installed on your system.

  • If you want to restore these drivers later, you can use the following command:

    cmd

    DISM /Online /Add-Driver /Driver:C:\Backup\Drivers /Recurse

    This will reinstall the drivers from the backup folder.

Let me know if you need further assistance!

Comments

Popular posts from this blog

Disable Firewall VIA Command Prompt (CMD)

Command to Delete a Printer