Hardware, Software & Product Development | Sparx EngineeringHardware, Software & Product Development | Sparx EngineeringHardware, Software & Product Development | Sparx EngineeringHardware, Software & Product Development | Sparx Engineering
  • Home
  • Expertise
    • Software Engineering
    • Electrical Engineering
    • Chemical Products and Services
    • Biomedical Engineering
    • Mechanical Engineering
    • Production Management
    • Automation
    • Industrial Design
  • Blog
  • About Us
NextPrevious

Fix Enhanced Write Filter: Failed getting protected volume configuration

By rajaz | Software | 2 comments | 18 March, 2015 | 0

Windows Embedded 7 EWFI have been working with Windows Embedded Standard 7 (WES7) for quite a while for various projects. In most configurations, the WES7 resides on a SD card with Enhanced Write Filter turned on for System partition. In order to clone the SD cards with the system image, I do sector by sector copy and everything works on the cloned SD card.

However at one point, I had to do setup WES7 on Hard disk and image it. Now when I cloned the hard disk image to other hard disks, the Enhanced Write Filter wouldn’t work on the cloned Hard disks. When I issued the following ewfmgr command

– ewfmgr c:

I would get the following result:
– Failed getting protected volume configuration with error 1.

I tried various cloning software utilities without any success. After hours of troubleshooting, the solution that worked for me was to go to the following registry key:
– HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services
\Ewf\Parameters\Protected\Volume0

and change the value of DiskSignature to the disk signature of the disk running WES7.

Missing [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\ services\Ewf\Parameters] key

In another case, after deploying fresh WIM image of WES7, I didn’t get the [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\Ewf\Parameters] key to begin with. In this case I exported the key from another WES 7 installation and imported it in the new installation. Following are the contents of the exported .reg file.

[text wraplines=”true”]
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\
services\Ewf\Parameters]

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\
services\Ewf\Parameters\Protected]

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\
services\Ewf\Parameters\Protected\Volume0]
“DiskSignature”=dword:326b0b32
“PartitionOffset”=hex(b):00,00,10,00,00,00,00,00
“CompareBeforeAlloc”=dword:00000000
“Type”=dword:00000002
“Enabled”=dword:00000000
[/text]

After importing the key, I fixed the disk signature, restarted the WES7 system and found EWF to be working.

embedded, enhanced write filter, ewf, registry, WES, wes7, Windows, Windows Embedded 7

rajaz

More posts by rajaz

Related Posts

  • Reading line-by-line from a serial port (or other byte-oriented stream)

    By Ben Voigt | 10 comments

    With many .NET developers moving from the traditional (and broken) System.IO.Ports.SerialPort DataReceived event handling to either the correct and more efficient BaseStream.BeginRead / BaseStream.EndRead pair I promoted in my last post or the newer BaseStream.ReadAsyncRead more

  • How to Model NPT Threads in Solidworks

    By rmontifar | 3 comments

    National Pipe Thread Taper or NPT threaded pipes and fittings are deployed in a variety of fields where transportation or containment of liquids, gases, steam, or hydraulic fluid is required. The NPT geometry allows internalRead more

  • Multi-Tiered Linux Backup System – Part I

    By dreynolds | 0 comment

    Backing up important data and memories is an important task that should not be neglected. Just as important as performing Linux backups is verifying that the backups made are good and can be used toRead more

  • Clojure: An improved workflow

    By dfohl | 0 comment

    Like many beginning Clojure programmers, I started off following Stuart Sierra’s “Reloaded” workflow guide. While it was a great starting point, there were a number of things that I wanted to change. If the projectRead more

  • Start Zoneminder Recordings with Vera Events

    By dsmoot | 4 comments

    In a previous post I explained how you could configure the security DVR software Zoneminder to trigger recordings from a network connection. While a neat trick, I never really explained why I set this up.Read more

2 comments

  • Charlie Reply March 31, 2016 at 7:02 am

    This was a big help. Thank you!!

  • Zeca Reply May 28, 2021 at 4:31 pm

    hello, greetings, I use the filter on windowsXP and it works very well, but I need to use it on W7 and I’m not getting it, do I have to use other files? or would it just be modifications to the keys? could you help me please, i am very grateful.

Leave a Comment

Cancel reply

Your email address will not be published. Required fields are marked *

NextPrevious
  • Home
  • Expertise
  • Blog
  • About Us
Sparx Technologies, LLC. dba Sparx Engineering © 2009 - 2021 | All Rights Reserved
  • Home
  • Expertise
    • Software Engineering
    • Electrical Engineering
    • Chemical Products and Services
    • Biomedical Engineering
    • Mechanical Engineering
    • Production Management
    • Automation
    • Industrial Design
  • Blog
  • About Us
Hardware, Software & Product Development | Sparx Engineering