Disabling EWF in a Hibernate Once/Resume Many Environment (Windows Embedded Standard 2009)

4/23/2012

If you want to make changes or apply updates to your run-time image in a Hibernate Once/Resume Many environment, you must first disable EWF. Because NTLDR loads the hibernation file before reading the pending EWF Manager boot commands, you must disable EWF and load the system normally.

Because Hibernate Once/Resume Many environments are supported in EWF RAM and RAM Reg modes, you can use the ewfmgr -commitanddisable -live command which will save the run-time image from the EWF overlay to the persistent image on the system. In some situations, this is not desirable as it will commit the whole cached image. To apply a specific set of changes to the system, you can disable EWF, deactivate HORM, apply changes, and reactivate HORM.

To disable EWF in a Hibernate Once/Resume Many environment

  1. Disable EWF by using the EWF Manager command or the EWF API, for example:

    ewfmgr c: -disable
    
  2. Deactivate HORM by using the EWF manager command or the EWF API, for example:

    ewfmgr c: -deactivatehorm
    
  3. Restart the system. For example:

    xpepm -restart
    
  4. If you have not previously deactivated HORM (step 2 above), press F8 at the Resuming Windows screen during system boot and, at the prompt, select Delete restoration data and proceed to system boot menu. The system boots normally and EWF will be disabled.

  5. After EWF is disabled, you can apply updates or install applications to your run-time image. To re-enable Hibernate Once/Resume Many, see Enabling a Hibernate Once/Resume Many Environment with EWF.

To commit and disable EWF in a Hibernate Once/Resume Many environment

  1. From a command prompt, use EWF Manager to commit and disable EWF. For example:

    ewfmgr c: -commitanddisable -live
    

    The contents of the EWF overlay are committed to the protected volume and EWF is immediately disabled.

  2. The hibernated image must be refreshed before your changes will take effect for subsequent system boots. For example, use the Windows Embedded Standard Power Management Application component:

    xpepm -hibernate
    

For more information about the commitanddisable option, see EWF Manager Commands.

See Also

Tasks

Applying Updates to a System That Uses Hibernate Once/Resume Many

Other Resources

Hibernation and EWF
EWF Performance Considerations
Creating an Unprotected Volume in a Hibernate Once/Resume Many Environment