When trying to install Windows 10, you get this error:
Setup.exe – Bad Image
D:\Sources\SPWIZENG.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. Error status 0xc0000020
You get error 0xc0000020 when you are trying to install Windows 10 from a corrupted media (DVD, USB, etc.).
To fix this, download the Windows 10 installer and try again.
If you still get SPWIZENG.DLL is either not designed to run on Windows or it contains an error, then your ISP or proxy server may be caching the download and keeps serving you a corrupted installation. In this case, either download from another PC or clear the proxy cache and try again.