Page 2 of 2 FirstFirst 12
  1.    18 Jul 2017 #11
    Join Date : Jul 2015
    Posts : 3,655
    10 Pro

    Quote Originally Posted by JoeB View Post
    I'd like to try this. Where is the macrium boot.wim and how do I add the drivers to it? My experiment seems to confirm that adding the drivers would work.
    The default is C:\boot\macrium\WA10K\media\sources\boot.wim I believe but I saved mine on D drive.

    To add drivers to wim you need to mount it, add the driver(s) and then unmount it again. If you put the .inf file(s) for the driver(s) you want to add in C:\temp\Drivers it would be like this (in powershell)
    Code:
    # Mount WIM
    Mount-WindowsImage -ImagePath "C:\boot\macrium\WA10K\media\sources\boot.wim" -index 1 -Path "C:\temp\mount"
    
    # Add any device drivers (.inf files)
    Add-WindowsDriver -Path "C:\temp\mount" -Driver "C:\temp\Drivers\" -recurse
    
    # Unmount the WinPE image
    Get-WindowsImage -Mounted -ErrorAction Stop | ForEach-Object { Dismount-WindowsImage -Path $_.Path -Save -ErrorAction Stop }
    WinPE: Mount and Customize | Microsoft Docs
      My ComputerSystem Spec
  2.    18 Jul 2017 #12
    Join Date : Jul 2017
    Posts : 8
    Win 10 Home v1703
    Thread Starter

    Quote Originally Posted by lx07 View Post
    The default is C:\boot\macrium\WA10K\media\sources\boot.wim I believe but I saved mine on D drive.

    To add drivers to wim you need to mount it, add the driver(s) and then unmount it again. If you put the .inf file(s) for the driver(s) you want to add in C:\temp\Drivers it would be like this (in powershell)
    Code:
    # Mount WIM
    Mount-WindowsImage -ImagePath "C:\boot\macrium\WA10K\media\sources\boot.wim" -index 1 -Path "C:\temp\mount"
    
    # Add any device drivers (.inf files)
    Add-WindowsDriver -Path "C:\temp\mount" -Driver "C:\temp\Drivers\" -recurse
    
    # Unmount the WinPE image
    Get-WindowsImage -Mounted -ErrorAction Stop | ForEach-Object { Dismount-WindowsImage -Path $_.Path -Save -ErrorAction Stop }
    WinPE: Mount and Customize | Microsoft Docs
    Thanks a lot. I'll have a go tonight. Do I add all the files that are in the graphics driver folder to it i.e. everything in that image I posted plus the audio folder which is omitted in that pic? I will study that link you posted.
      My ComputerSystem Spec
  3.    18 Jul 2017 #13
    Join Date : Jul 2015
    Posts : 3,655
    10 Pro

    Quote Originally Posted by JoeB View Post
    Do I add all the files that are in the graphics driver folder to it?
    Yes. Just make sure the folder contains a something.inf file and not just a .exe.
      My ComputerSystem Spec
  4.    18 Jul 2017 #14
    Join Date : Jul 2017
    Posts : 8
    Win 10 Home v1703
    Thread Starter

    Quote Originally Posted by lx07 View Post
    Yes. Just make sure the folder contains a something.inf file and not just a .exe.
    Yes, I'm aware that the .inf needs to be the first thing it sees. I think it's the one called autostart.inf
      My ComputerSystem Spec

 
Page 2 of 2 FirstFirst 12


Similar Threads
Thread Forum
Macrium Reflect Disaster
W10 Pro, 16GB RAM, 480Gb SSD Macrium Reflect Free v. 6.3.1835.0, attempting to image drive C:\. After several hours, image failed to complete. System would not reboot in any way, not from CD/DVD drive, Flash drive etc., Ubuntu.. Data on C and...
Backup and Restore
Macrium Reflect...
Hi all, Having just upgraded to the latest Window 10 CU I am now looking for so good back up software... For a number of years I have been using Memeo instant back up, and the version I have now it old so an update is required even though it...
Backup and Restore
Installation & Upgrade Macrium Reflect - Use Macrium Image to set up Dual / Multi Boot
If you ask me, Macrium Reflect should be obligatory, first application installed after installing Windows 10. Users often think it as just another backup application but in fact it is much more, giving more than any other free imaging solution....
Tutorials
Can only see 640x480 resolution on Macrium Reflect in winpe mode
I had an annoying problem with Macrium Reflect only displaying in low res 640x480 mode in winpe mode booting from a usb drive. Interestingly, it worked ok when booting from a hard drive partition. I tried many fixes and got nowhere until I...
Backup and Restore
Solved Macrium Reflect keeps asking for password?
I had been running Reflect for a while using v6, being able to schedule backups without having to enter a password but then I (foolishly?) updated my Windows 10 to the Anniversary build. Now, whenever I try to schedule a backup it keeps saying...
Backup and Restore
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd
All times are GMT -5. The time now is 16:35.
Find Us
Twitter Facebook Google+ Ten Forums iOS App Ten Forums Android App



Windows 10 Forums