Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Published by Scroll Versions from space KNOW and version 7

If you've purchased a Macrium Reflect Deployment Kit License then to assist with deploying images it may be desirable to automate the restore of a 'Golden' Image by adding the Macrium Reflect auto restore xml file directly to the Windows Image (WIM) file used by the rescue media or by a PXE deployment server. 



Create your auto restore XML using your 'Golden' image by simulating a restore and pressing 'Ctrl' + 'Shift' + 'S' on the final restore wizard page as describe below:

Info

Note: The steps below to create the 'Golden' Image and 'macrium_restore.xml' can be run in Windows PE if required.
Ensure that the Image file is located on an accessible network share if you intend to deploy using PXE 

Expand
titleClick here to show the Auto Restore dialog...

Include Page
Auto Restore Dialog
Auto Restore Dialog




Next we need to mount the Windows Image (WIM) file and copy the 'macrium_restore.xml' file to the root of the image.

  1. 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'.

  2. Open a command prompt with elevated privileges and type the following command:

    Code Block
    languagetext
    themeFadeToGrey
    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.
  3. 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.
  4. Type the following commands in the command prompt:

    Code Block
    languagetext
    themeFadeToGrey
    Dism /Unmount-image /MountDir:"c:\boot\mount" /Commit
    Dism /Cleanup-Wim
  5. Once complete the WIM file can be copied to a deployment server or USB stick and used to initiate an automatic restore.