Installing Updates on an EWF-Protected Run-Time Image
Because EWF prohibits write access to a volume, there are additional considerations to make when you want to install an application or update your run-time image with a QFE.
To disable the current EWF overlay, use the ewfmgr disable
command. After you disable the EWF overlay, you must reboot the system and then install your application.
Note For EWF RAM Reg mode, you must use the
ewfmgr
commitanddisable
command to disable EWF. The
ewfmgr commitanddisable
command applies all changes in the overlay to the protected volume, even those that are unrelated to your application installation or QFE update. To minimize additional write operations to your volume, you can clear the overlay cache by rebooting the device before you install any applications. For more information, see EWF RAM Reg Mode.
Additionally, you can use the EWF API functions to programmatically control EWF Manager to disable EWF. For more information about using the EWF APIs, see Enhanced Write Filter API.
To apply a QFE or other update, you must use one of the following procedures:
To update a run-time image that is protected by EWF Disk or RAM mode
Use EWF Manager to disable the overlay by using the following command:
ewfmgr c: -disable
Reboot the system.
Install the application or QFE update.
Re-enable the EWF overlay by using the following command:
ewfmgr c: -enable
Reboot the system to re-enable the EWF overlay.
To update a run-time image that is protected by EWF RAM Reg mode
Reboot the device to clear the RAM overlay.
Commit the overlay to the protected volume and disable the EWF overlay by using the following command:
ewfmgr c: -commitanddisable
Because RAM Reg modes store EWF configuration data in the registry, you must commit the disable change to the protected run-time image. For more information, see EWF RAM Reg Mode.
Reboot the system to disable the overlay.
Install the application or QFE update.
Enable the EWF overlay by using the following command:
ewfmgr c: -enable
Reboot the system to re-enable the EWF overlay.
See Also
Design Considerations for Using EWF with Device Update Agent | Device Update Agent | Enhanced Write Filter | Troubleshooting Enhanced Write Filter | EWF Design Considerations
Last updated on Wednesday, October 18, 2006
© 2006 Microsoft Corporation. All rights reserved.