Восстановление жесткого диска при перезагрузке на Windows Embedded

1939
sav

У моей компании есть старое не обслуживаемое устройство со встроенными окнами, которое мы хотим изменить.

Любые изменения на диске (SD-карта с 2 разделами) (например, установленное программное обеспечение, IP-адрес, системные настройки, файлы) сбрасываются / удаляются при перезагрузке устройства.

Мы можем успешно внести изменения в накопитель, подключив его к ПК, но у этого есть свои ограничения, и мы хотели бы иметь возможность использовать наше устройство.

Кто-нибудь может рассказать нам больше о технологии, используемой для этого, и как / если мы можем отключить ее?

0
Какая версия Windows Embedded у вас там? Ruslan Gerasimov 9 лет назад 0
Какой тип флешки у вас там? Ruslan Gerasimov 9 лет назад 0
Это на SD-карте. Просто проверю ОС через минуту. Похоже на Embedded Windows XP. sav 9 лет назад 0

1 ответ на вопрос

1
Ruslan Gerasimov

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