Available article translations:

I am not able to boot virtual machine due to 'LogonUI.exe C:\Windows\System32\cryptui.dll is either not designed to run on Windows...' error

  • Parallels Desktop 9 for Mac Standard Edition


I am not able to login to Windows 7 Bootcamp-based virtual machine. The error appears:

LogonUI.exe - Bad Image

C:\Windows\System32\cryptui.dll (or C:\Windows\WinSxS\\gdiplus.dll) is either not designed to run on Windows or it contains an error.     Try installing the program again using the original installation media or contact your system administrator or the software vendor for support.

Your text to link here...


The library is corrupted.


  1. Obtain Windows 7 installation disk. Connect the disk to the virtual machine:

  2. Boot from the disk. Virtual machine configuration -> Hardware -> Boot Order.

  3. Go to the Repair options -> Command Prompt. Perform the following:

3.1 Enter the same directory which reports in the error message: C:\Windows\WinSxS\\ . Then execute:

ren GdiPlus.dll GdiPlus.dll_old

3.2 Enter another similar directory (similar to amd64_microsoft.gdiplus_6595b64144ccf1df_1.1.7601.18120_none_2b25b14c71ebf230. There are a bunch of them in C:\Windows\winsxs\, e.g. amd64_microsoft.gdiplus_31bf3856ad364e35_6.1.7600.16385_none_02441ffd063d9b53)

3.3 Execute

copy GdiPlus.dll C:\Windows\WinSxS\\

NOTE: a path to copy C:\Windows\WinSxS\\ - should be a path from an error message.

Now restart the virtual machine and check if the issue is resolved.

1e5db16426987d561060acdf56d947b4 3307fff3682b15f0ba3fbe13d779296d a9c6e0b6a5209e617a7c0dd5eace86cf

Was this article helpful?
Tell us how we may improve it.
Yes No