Skip to content

Instantly share code, notes, and snippets.

@TomCan
Last active July 5, 2025 13:54
Show Gist options
  • Save TomCan/9644966 to your computer and use it in GitHub Desktop.
Save TomCan/9644966 to your computer and use it in GitHub Desktop.
Inject drivers in Windows installation after motherboard change
Today, after working with Windows for over 15 years now, I finally came across the solution to the
dreadfull BSOD STOP 0x0000007B after replacing the motherboard of a computer, or after moving the
harddrive to another computer, or after doing a P2V, or after ... you get the point.
Requirements:
- Windows install / boot CD
- Chipset / Mobo / Storage drivers of the new motherboard or storage controller
Steps:
- extract all the drivers to a USB thumb drive
- boot with the Windows CD
- go to the recovery console (typically hidden somewhere under repair, or advanced tools
- find out what drive letter your windows installation is in (probably C:) and what drive letter your
USB thumb drive is in (let's assume D:)
- type in the magic command:
DISM /Image:C:\ /Add-Driver /driver:D:\ /recurse
- wait until the process completes. You should see lines indicating what driver is being injected
- reboot
After rebooting, you should be able to boot into windows (if the boot menu for start-up repair shows,
just select the option to boot Windows normally). Once booted, Windows will probably install some more
drivers and you will probably need to reboot once more. There's also a chance that you'll need to
re-activate your Windows.
@Korenchkin
Copy link

still usefull! thanks,just upgraded from 6th gen intel + win10 to new intel pc and to win11 later without loosing any data/installed programs... injected "iastorvd" driver (i hope i remember driver name correctly)
also,still don't understand why on earth you would want intel vmd on nvme...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment