Windows Embedded XP

Удаленное обновление образа

You can try to update system in runtime through installer (I haven’t checked this).

However, if you just have an upgrade WIM image and you want to apply it remotely, the things are slightly complicated. In this case somehow you have to bring your current Windows offline and update it completely. It’s feasible even remotely, but you have to implement your own upgrade procedure. I’ve checked the essential parts of the steps below and they will work on any Windows (embedded or desktop).

Prerequisites are:

The procedure is:

  1. Remotely copy Windows PE 3.0 (or later) files (I’ll explain the requirements to this WinPE image further) directly to target Windows XP system drive root. Copy your upgrade WIM files as well.
  2. WinPE 3.0 (or later) requires NT 6.0 boot sector, so modify boot sector (including MBR) to version 6.0 using bootsect.exe (copy it to target system as well).
  3. Reboot system.
  4. System boots up Windows PE and an upgrade script starts. Now the upgrade script should automatically remove Windows PE files (it’s possible because it starts from ramdisk) and old OS files, but it must keep upgrade WIM files.
  5. If upgrade OS image requires different partitions layout, your upgrade script can shrink current partition, then create and format new one, then move WIM to it, then delete old partition and create required layout.
  6. Now the script applies an upgrade WIM and creates boot data if necessary.
  7. The script reboots target system.
  8. Target system starts automatically and goes through Specialize and OOBE System passes unattended. It automatically brings up network connections and becomes accessible remotely.