...
- From within Windows (not PE), create an empty folder anywhere on your C: drive that will be used to mount the WIM file. In this example we'll use 'C:\Boot\Mount'.
Open a command prompt with elevated privileges and type the following command:
Code Block language text theme FadeToGrey DISM /Mount-image /imagefile:C:\boot\macrium\WA10KFiles\media\sources\boot.wim /index:1 /MountDir:"c:\boot\mount"
Info Note: The location of the WIM in this case is the default location for the Windows PE 10 WIM file. Please update as necessary in your own command. Open the mounted folder in Windows Explorer and copy the 'macrium_restore.xml' file to the root.
Info Note: After copying the file close Windows Explorer so that there are no locks on the open folder. Type the following commandcommands in the command prompt:
Code Block language text theme FadeToGrey Dism /Unmount-image /MountDir:"c:\boot\mount" /Commit Dism /Cleanup-Wim
Once complete the WIM file can be copied to a deployment server or USB stick and used to initiate an automatic restore.
...