Using EWF with Cloning

If you use both the Enhanced Write Filter and Cloning components in your run-time image, there are additional configuration steps for successfully cloning your write-protected image. Because EWF creates an EWF volume during FBA, the EWF volume must be created on all of the devices to which you are deploying.

Use the following procedure to mass-deploy an EWF-protected run-time image.

To use EWF with Cloning

  1. Open your configuration by using Target Designer and add the required EWF and System Cloning components to your configuration. For more information about the required components, see Enhanced Write Filter and Mass Deployment.

  2. Configure Enhanced Write Filter to start in a disabled mode.

    1. Expand the Enhanced Write Filter component node in the configuration browser pane and select Settings. The EWF Configuration Settings appear in the details pane.
    2. Clear the Start EWF Enabled check box.
  3. Set the System Cloning Tool component cmiResealPhase to 0.

    1. In the configuration editor, select the System Cloning Tool component. The component details are displayed in the details pane.

    2. In the details pane, choose Advanced. The Advanced Component Properties window opens.

    3. In the cmiResealPhase box, type the phase during which the reseal will occur.

      For more information, see Creating a Run-Time Image for Cloning.

  4. Check dependencies and build the run-time image.

    1. Choose Check Dependencies from the Configuration menu. Resolve missing dependencies.
    2. Build the run-time image. Choose Build Target Image from the Configuration menu.
  5. Deploy your run-time image and allow FBA to run.

  6. After FBA is finished, install applications or make additional configurations to your run-time image. Also, verify that EWF is configured properly on your test system by checking the \Windows\FBA\FBALOG.txt file.

  7. After you are finished modifying your run-time image, create the gold master image that you will deploy to your devices. Reseal the device by using the fbreseal.exe utility. From a command prompt, type:

    fbreseal.exe
    

    Your run-time image is ready to be mass-deployed. For more information, see Reseal Phase.

  8. Partition and format your target media. If you are using EWF RAM or Disk mode, the media must be marked as fixed. Media that is marked as removable, such as some CompactFlash devices, cannot be partitioned. The media must be updated to be marked as fixed, or you should use EWF RAM Reg mode.

  9. After you copy your run-time image to your device, you must enable EWF. If you are using EWF RAM or EWF Disk modes, you must create the EWF volume on the media. If you are using EWF RAM or Disk modes, create the EWF volume by booting the run-time image on the device and running the following command:

    rundll32 ewfdll.dll ConfigureEwf
    

    This command creates the EWF volume on the system and enables EWF. For more information, see ConfigureEwf.

  10. Verify that EWF is enabled and running by using the EWF Manager command:

    ewfmgr c:
    

See Also

Mass Deployment | Enhanced Write Filter | Troubleshooting Enhanced Write Filter | EWF Design Considerations

Last updated on Wednesday, October 18, 2006

© 2006 Microsoft Corporation. All rights reserved.