Thursday, April 9, 2015

Windows Deployment - DISM - List injected drivers in table format



Have you ever needed to verify which drivers you've injected on your WIM file?
Ever been asked to get a list of the injected drivers for a report and needed to take a lot of time just creating tables and formatting the information for reporting?

Well, here's a nice tip that can save you a lot of time!

Follow these steps:

  1. Open Windows ADK command-prompt as Administrator

  2. Mount your WIM file on disk, for example:
    DISM /Mount-Wim /WimFile:D:\ISOS\Win81\sources\install.wim /index:1 /MountDir:D:\MountPoint

  3. Now, just use the above command to get all inject drivers and format the output:
    DISM /image:D:\MountPoint /Get-Drivers /format:table

And there you go! Nice format list of injected drive on your WIM! :)

No comments:

Post a Comment