Skip to content

Using the WIM Backup

cregx edited this page Feb 14, 2023 · 13 revisions

Booting from a prepared USB stick

If you have the prepared boot media - usually a USB stick - the following steps are required to create or restore an image of Windows.

To do this, it is necessary to set the boot order for this medium accordingly in the device BIOS of the affected computer, save it and boot from the inserted USB stick.

Example: On Fujitsu-based PCs the corresponding option can be found under Boot / Boot Priority Order. Either USB CD/DVD or USB HDD must be selected there.

Creating a backup

The process of creating an image-based backup is relatively simple and is illustrated in the figure below: make-backup-with-wim-backup

When the backup process is complete, you will receive a corresponding completion message.

You can use the Log button to call up the logged data in the event of an error.

Now exit WIM-Backup by clicking on the X icon. This will cause the system to reboot. Then remove the USB flash drive. The system should now boot as usual.

Restoring a backup

Restoring an existing WIM-based backup is relatively simple and can be seen in the following figure: make-restore-with-wim-backup

After the restore process is complete, you will receive a corresponding completion message.

The Log button allows you to retrieve the logged data in case of an error.

Now exit WIM-Backup by clicking on the X icon. This will cause the system to restart. Then remove the USB flash drive. The system should now boot regularly from the restored image.

Use on Windows Server 2022 environment

As it seems after testing on Windows Server 2022, the operating system drive letter is not automatically assigned in WinPE (probably for security reasons).

This results in the inability to select the operating system drive (C:) to be backed up in wimbckup.exe.

To work around this limitation, do the following:

  1. Boot normally from your WinPE boot media, which automatically runs WIM backup >= v.1.1.4.

  2. Then click the CMD button in the GUI of WIM-Backup to start a command shell.

  3. In the launched shell, type diskpart.

  4. Type list dis to display the list of all drives.

  5. Type sel dis 0 (as a rule, it should be disk 0).

  6. Type detail dis.

  7. Now select the volume to which you want to assign a drive letter: sel vol 1 (A good reference point for identifying the correct data volume is, for example, the drive size or the label.)

  8. Type assign letter=c (This makes C the newly assigned drive letter for this volume.)

  9. After that, type exit and close the CMD and click the Refresh button in the WIM Backup UI. The drive you just assigned should appear in the ComboBox among the available drives.

You only need to make this setting once. The newly assigned drive letter is retained permanently, i.e. even after a reboot. Please note that may have a negative impact on the security of the server.

Clone this wiki locally