Batch file query of EWF status

  • Thread starter Thread starter Michael Bate
  • Start date Start date
M

Michael Bate

Is there any way to determine EWF status in a batch file?

Can EWFMGR (or some other program I don't know about) return an exit
code that indicates EWF status?

I want to perform a series of operations only if EWF is not already enabled.

Thanks in advance,
Michael Bate
 
Hi Michael,

Yes, I think it can be done. It will return the EWF status.
[Command]
ewfmgr c:

[Result]
Protected Volume Configuration
Type DISK
State DISABLED
Boot Command NO_CMD
Param1 0
Param2 0
Persistent Data ""
Volume ID D2 02 96 49 00 0E 59 96 02 00 00 00 00 00 00 00
Device Name "\Device\HarddiskVolume4"
Max Levels 3
Clump Size 512
Current Level 1
Disk space used for data 0 bytes
Disk space used for mapping 0 bytes
Memory used for mapping 0 bytes


Regards,
Ethan
 
Back
Top