Share via


Enable a Hibernate Once/Resume Many Environment by Using EWF

3/21/2011

After you add EWF and hibernation to your run-time image, configure hibernation and verify that HORM is enabled.

To enable a Hibernate Once/Resume Many environment that uses EWF

  1. Make sure that your system supports hibernation. You can use the Powercfg Command-Line Options command line tool to enable hibernation.

    powercfg -h on
    
  2. Add the Enhanced Write Filter with HORM package to your run-time image. For more information see Configure EWF RAM Mode or Configure EWF RAM Reg Mode.

  3. Deploy your image to a computer. See Deploying Images.

  4. Use the EWF Manager command line tool to verify that EWF is enabled.

    Ewfmgr -all
    
  5. If EWF is enabled, go to the next step. Otherwise, enable EWF. For example:

    ewfmgr -all -enable
    

    Important

    You must use the -all command because HORM has a requirement that all volumes must either be protected with EWF or be in unmounted state when the Hibernate Once occurs. This is to prevent state synchronization problems. Each Resume from hibernation expects the entire system to be in exactly the same state as when the Hibernate Once occurred.

  6. Restart the system.

  7. Activate HORM by using the EWF Manager command or the EWF API. For example:

    ewfmgr c: -activateHORM
    
  8. Open applications and start any processes that you want to be running on the system when it resumes from hibernation.

  9. Hibernate the system.

    shutdown /h
    
  10. Restart the system. After you restart the system, EWF is enabled.

  11. Verify that HORM is enabled. For example:

    Ewfmgr
    
  12. You should see the output of the ewfmgr command.

    Ff794943.f72e3f16-dc0a-4b11-9252-a97568dbafac(en-US,WinEmbedded.1001).gif

See Also

Concepts

Design Considerations for Using EWF with Hibernation

Other Resources

EWF Performance Considerations
EWF Design Considerations
Use an Unprotected Volume in a Hibernate Once/Resume Many Environment