Steam.exe - Bad Image Error
Hey, so I have decided to update my GPU drivers, because I am using Radeon GPU and if you don't update your Radeon drivers, nothing works and after installing new version, I have tried running steam, but I got an error message:

C:\Windows\System32\detoured.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 0xc000012f.

I was looking for fixes all over the internet, but didn't find anything that would fix it. I "fixed" it by downgrading my GPU driver to previous version, but still, I would be happier if it was working even with the latest version.

Not even reinstalling Steam helped. My Windows is also running on the latest Windows version.

It wasn't popping up only after opening steam, there were few more apps that weren't working either.

Is there any way to fix this ?

Thanks!
Last edited by Deathwing1306; May 16, 2021 @ 6:26am
< >
Showing 1-6 of 6 comments
ReBoot May 16, 2021 @ 7:43am 
Open the properties of that DLL. What's it's vendor?
Crashed May 16, 2021 @ 7:51am 
Run DDU in Safe Mode then reinstall the drivers.
Last edited by Crashed; May 16, 2021 @ 7:51am
Deathwing1306 May 16, 2021 @ 9:17am 
Originally posted by ReBoot:
Open the properties of that DLL. What's it's vendor?
I don't know what do you mean exactly, but I hope you can see it from here: https://imgur.com/a/d2Gwov0
Crashed May 16, 2021 @ 9:24am 
Originally posted by Deathwing1306:
Originally posted by ReBoot:
Open the properties of that DLL. What's it's vendor?
I don't know what do you mean exactly, but I hope you can see it from here: https://imgur.com/a/d2Gwov0
Apparently the Detours library is installed with certain versions of AMD drivers. Wiping the drivers using DDU and reinstalling can help ensure the Detours DLLs are in the correct folder(s).

There may be a conflict between older (non-DCH) and newer DCH driver packages that could be causing Steam to try to load the wrong platform version of Detours. Steam is a 32-bit program and as such cannot load 64-bit DLLs.
Last edited by Crashed; May 16, 2021 @ 9:28am
Deathwing1306 May 16, 2021 @ 9:30am 
Originally posted by Crashed:
Originally posted by Deathwing1306:
I don't know what do you mean exactly, but I hope you can see it from here: https://imgur.com/a/d2Gwov0
Apparently the Detours library is installed with certain versions of AMD drivers. Wiping the drivers using DDU and reinstalling can help ensure the Detours DLLs are in the correct folder(s).

There may be a conflict between older (non-DCH) and newer DCH driver packages that could be causing Steam to try to load the wrong platform version of Detours. Steam is a 32-bit program and as such cannot load 64-bit DLLs.
What is DDU please ? :D
Crashed May 16, 2021 @ 9:32am 
https://www.wagnardsoft.com/ - Homepage of Display Driver Uninstaller.

You'll want to reboot your PC into Safe Mode before running it so it can clean as many files as possible.

Before beginning get the offline installer for your AMD drivers then disconnect your PC from the Internet, so when it reboots back into normal mode Windows Update won't try to install its generic drivers.
< >
Showing 1-6 of 6 comments
Per page: 1530 50

Date Posted: May 16, 2021 @ 6:24am
Posts: 6