DISM 명령어로 Windows 장치 드라이버(device driver) 백업/추출하기



Windows 10 나 Windows Server 를 사용하다 보면 해당 OS에서 사용하고 있는 Device Driver(디바이스 드라이버 or 장치 드라이버)를 추출하여 따로 백업하고 싶은 경우가 있습니다. 다른 컴퓨터에 device driver를 옮긴다던지, OS를 다른 버전으로 재설치한다던지 하는 많은 다양한 이유가 있을 것입니다. 또, 문제가 발생한 디바이스 드라이버를 확인하기 위하여 모든 디바이스 드라이버를 백업하여 놓고 문제가 있는 드라이버를 하나하나씩 확인하는 경우가 있을 수도 있습니다.

위와 같은 경우에 폴더를 뒤져 직접 하나하나 찾아서 백업을 하거나 다른 프로그램을 설치해야 하는 문제점이 발생하는데요. DISM 명령어를 사용하면 아주 손쉽게 문제를 해결할 수 있습니다.

관리자 권한으로 CMD(명령 프롬프트)를 실행한 후에 아래와 같은 DISM 커맨드를 입력해주면 손쉽게 백업할 수 있습니다.

DISM /online /export-driver /destination:C:\드라이버백업장소

ex) DISM /online /export-driver /destination:C:\Users\Administrator\Desktop\backup_drivers

아래와 같이 수행됩니다.

C:\WINDOWS\system32> DISM /online /export-driver /destination:C:\Users\Administrator\Desktop\device_driver

Deployment Image Servicing and Management tool
Version: 10.0.19041.746

Image Version: 10.0.19041.746

Exporting 1 of 29 - oem0.inf: The driver package successfully exported.
Exporting 2 of 29 - oem1.inf: The driver package successfully exported.
Exporting 3 of 29 - oem10.inf: The driver package successfully exported.
Exporting 4 of 29 - oem11.inf: The driver package successfully exported.
Exporting 5 of 29 - oem13.inf: The driver package successfully exported.
Exporting 6 of 29 - oem14.inf: The driver package successfully exported.
Exporting 7 of 29 - oem15.inf: The driver package successfully exported.
Exporting 8 of 29 - oem16.inf: The driver package successfully exported.
Exporting 9 of 29 - oem17.inf: The driver package successfully exported.
Exporting 10 of 29 - oem18.inf: The driver package successfully exported.
Exporting 11 of 29 - oem19.inf: The driver package successfully exported.
Exporting 12 of 29 - oem2.inf: The driver package successfully exported.
Exporting 13 of 29 - oem20.inf: The driver package successfully exported.
Exporting 14 of 29 - oem21.inf: The driver package successfully exported.
Exporting 15 of 29 - oem22.inf: The driver package successfully exported.
Exporting 16 of 29 - oem23.inf: The driver package successfully exported.
Exporting 17 of 29 - oem24.inf: The driver package successfully exported.
Exporting 18 of 29 - oem25.inf: The driver package successfully exported.
Exporting 19 of 29 - oem26.inf: The driver package successfully exported.
Exporting 20 of 29 - oem27.inf: The driver package successfully exported.
Exporting 21 of 29 - oem28.inf: The driver package successfully exported.
Exporting 22 of 29 - oem29.inf: The driver package successfully exported.
Exporting 23 of 29 - oem3.inf: The driver package successfully exported.
Exporting 24 of 29 - oem4.inf: The driver package successfully exported.
Exporting 25 of 29 - oem5.inf: The driver package successfully exported.
Exporting 26 of 29 - oem6.inf: The driver package successfully exported.
Exporting 27 of 29 - oem7.inf: The driver package successfully exported.
Exporting 28 of 29 - oem8.inf: The driver package successfully exported.
Exporting 29 of 29 - oem9.inf: The driver package successfully exported.
The operation completed successfully.

이후 백업한 device driver를 복원하려면 아래의 2가지 과정 중 한 가지를 사용하면 됩니다.

  1. Snappy Driver Installer 를 설치하여 device driver를 해당 프로그램이 있는 위치에 넣습니다. 이후 자동으로 device driver를 손쉽게 설치가능합니다.
  2. 장치 관리자(Device Driver) 실행 -> 설치하려는 장치 위에서 오른쪽 마우스를 누르고 드라이버 소프트웨어 업데이트(Update Driver Software) 클릭 -> 내 컴퓨터에서 드라이버 소프트웨어 찾아보기(Browse my computer for driver software) 클릭하여 폴더 지정 후 설치