sd card - Hard drive restore on reboot on windows embedded
2014-07
My company has an old out of service device with windows embedded on it that we want to re purpose.
Any changes to the drive (SD Card with 2 partitions), (ie: installed software, ip address, system settings, files) are reset/deleted when we reboot the device.
We can successfully make changes to the drive by plugging it into a PC, but that has its limitations and we would like to be able to use our device.
Can anyone tell us more about the technology used for doing this and how/if we can disable it?
Thin Client OEMs implement Windows XP Embedded's Enhanced Write Filter (EWF) tool to prevent write actions (and, therefore, flash-erase cycles) to the flash drive. All write actions are instead re-directed to the RAM disk (also known as the overlay).
To make any changes to the OS, such as domain connectivity or a TCP/IP static address change, you can disable EWF to allow the update to occur, and then re-enable it.
more you can read here http://msdn.microsoft.com/en-us/library/dd143259%28v=winembedded.5%29.aspx
Only Administrator accounts can access EWFMGR.EXE and the EWF API. Power User, User, and Guest accounts cannot change the state of EWF.
As an example, after you have set up your IP address and/or other system settings, you can try to run this command.
ewfmgr c: -commitanddisable -live
This commits all current level data in the overlay to the protected volume and disables the overlay.
The overlay is written to the protected volume on the next system boot. Committing the overlay can impact the speed of the boot process.
You can use the -live command for both EWF RAM and EWF RAM Reg modes to immediately commit the overlay to the protected volume and disable the overlay without having to reboot the system.
To disable EWF:
ewfmgr disk: -disable
, however be aware, the longevity of flash drives is an issue, though. Both Windows XP Pro and Windows XP Embedded constantly read from and write to a disk, resulting in numerous flash erase cycles. Because both CompactFlash and mini-IDE flash drives have a limited number of these cycles, they wear out more quickly than they would if used as they would in a normal commercial environment.
More about commands/options you can read here: http://msdn.microsoft.com/en-us/library/ms940853%28v=winembedded.5%29.aspx
Is there a way to force a device running Windows CE 5.0 to reboot? I remember Ctrl+Alt+Del from the old days on PC's, but I don't know if there's a keyboard-combination I could use on this Datalogic BlackJet, and I can't seem to find a reset pin-hole. I tried taking the battery out, and waiting a few hours, but that totally reset the device from ROM, undoing all setup I'd done.
I've found it in the mean time (in the manual...), it's F1+SCAN+On/Off for a warm boot and F1+F2+SCAN+On/Off for a cold boot.