For when you find that you just need to remove all of the drivers from a captured image, or only those of certain makes. PowerShell makes it easy to script this removal so you aren't manually typing a ton of dism commands. I found myself needing to purge some problematic Intel drivers from an image in order to get USB working on some of our older machines. I found that it is possible to remove all drivers from a mounted Windows image and then commit the changes back to the captured WIM completely in PowerShell. Read on if you need the skinny.
Read on →