Article ID: 118190, created on Oct 24, 2013, last review on May 10, 2014

  • Applies to:
  • Virtuozzo
  • Virtuozzo hypervisor


After migration of a Windows 2003 PVC container to a virtual machine on PSBM/PCS, the VM is unable to start, producing the following error.

STOP: c000007b {Bad Image}
The application or DLL \??\C:\WINDOWS\system32\sfcfiles.dll is not a valid windows image. Please check this against your installation diskette.


sfcfiles.dll (some other DLL may be at this place as well) was corrupted on the source container.


Replace the corrupted file with a valid one from the Windows 2003 installation media or the source hardware node.

The following steps should be followed:

1) Copy over sfcfiles.dll from C:\Windows\system32 directory on the source node to the target host.

2) Mount the virtual machine:

    # prlctl mount <VM_NAME>

3) Copy the file into the VM:

    # mv /vz/mnt/<VM_UUID>/volume_1/WINDOWS/system32/sfcfiles.dll{,.backup}
    # mv /path/to/dll /vz/mnt/<VM_UUID>/volume_1/WINDOWS/system32

VM_UUID can be found from `prlctl list <VM_NAME>` command.

3) Unmount the VM:

    # prlctl umount <VM_NAME>

4) Start the VM.

Alternatively, the file can be taken from Windows 2003 installation media. Mount the installation disk to some Windows machine and run:

expand X:\i386\sfcfiles.dl_ C:\sfcfiles.dll

where X: is the disk drive letter. After that, follow the same steps as above to put this file into the VM.

Search Words




Bad Image

not a valid windows image

a26b38f94253cdfbf1028d72cf3a498b 2897d76d56d2010f4e3a28f864d69223 0dd5b9380c7d4884d77587f3eb0fa8ef

Email subscription for changes to this article
Save as PDF