winutil icon indicating copy to clipboard operation
winutil copied to clipboard

[Feature Request] - Replace DISM export with drvctl in Win11 Creator

Open mewclouds opened this issue 3 months ago • 1 comments

💡 Describe the solution you'd like

Hey! I've been working on drvctl, a Windows driver export tool that could replace the current DISM export in Win11 Creator. Given the broad refactor in PR 4862, this feels like the right time to swap in something faster and more direct.

The speed difference:

Export benchmarks on my system show:

  • DISM export: about 40 seconds
  • drvctl export: about 2 seconds

For direct WIM publication (EXPERIMENTAL, RESEARCHING):

  • DISM servicing: 121 seconds
  • drvctl mutation: 8.7 seconds

But this isn't just about speed. The real difference is architectural. drvctl uses SetupAPI and Windows CopyFile2 directly, meaning that the whole bottleneck is drive speeds. DISM runs its full servicing stack and for driver export, that's massive overkill and slow.

Verification is built in:

You can verify the code and verify the outputs yourself. Three confidence modes:

  • Plain export: fast, no overhead
  • --verify: checks file counts, paths, and sizes
  • --full-verify: adds SHA-256 hashing for every byte
  • --dism: validates against Windows itself

The outputs pass validity checks. This is about trustworthiness (trust, but verify), not just claiming it's faster.

What's ready and what's not:

Driver export works flawlessly and is ready to go. Driver injection is currently in the research phase since it's a different beast and needs more work, but export is solid and proven.

Where it's at:

Single .exe, no dependencies for driver exporting, just works. You can have a look at the repo and its first official release here

This would be a clean win after the refactor in PR #4862, faster, simpler, and actually verifiable.

mewclouds avatar Aug 18 '26 18:08 mewclouds

Closing and moving to a discussion instead!

mewclouds avatar Aug 18 '26 18:08 mewclouds