Tuesday, February 24, 2015

Control EWF using windows API


 EWF provides a means for protecting a volume from writes. This allows the operating system (OS) to boot from read-only media such as CD-ROMs, write-protected hard disks, or flash media. All writes to an EWF-protected volume are redirected to an overlay. These writes are cached in the overlay and made available as part of the volume. This gives the appearance that the volume is writeable. The overlay may exist either on disk or in random access memory (RAM). If desired, the data stored in the overlay may be committed to the protected volume. Figure 1 is an overview of EWF.


control EWF using windows API:

https://msdn.microsoft.com/en-US/library/ms838476(v=winembedded.5).aspx


Useful EWFMGR commands to use
To use any of the following commands then you will need to firstly navigate to the command prompt window with the following steps:

Click on the Start button on your player.
Please now select the Run option and at the command prompt type cmd
You will now be presented with a black command prompt window and begin typing the following commands:


ewfmgr.exe c: -Enable

Enables the EWF from the DOS prompt.


ewfmgr.exe c: -Disable

Disables the EWF from the DOS prompt.


ewfmgr.exe c: -NoCmd

Clears the state of the Boot Command.



ewfmgr.exe c: -Commit

Commits any changes made to the EWF.


    4. Please note that in the case of LG devices the command should be
ewfmgr C: -commitanddisable

 

No comments:

Post a Comment