Make sure you're connected to the internet. From Admin Command Prompt, run:
- DISM.exe /Online /Cleanup-image /Restorehealth
and then run:
- sfc /scannow
If the error still occurs, you can download a fresh copy from this MSFT link.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
When I launched a program, an error happened. It was said "C:\Windows\system32\wbem\wbemprox.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." Now I cant open the program.
Moreover, I used sfc /scannow and it replied to me that "Windows Resource Protection found corrupt files but was unable to fix some of them.
For online repairs, details are included in the CBS log file located at windir\Logs\CBS\CBS.log. For example C:\Windows\Logs\CBS\CBS.log. For offline
repairs, details are included in the log file provided by the /OFFLOGFILE flag."
Before, I used cmd to disable DEP, but after test I dont think it is matter. I logged in a new microsoft account and clicked administrator in the login page by accident. After rebooting I changed it back to the original account. There's no error about this issue in event viewer.
Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.
Make sure you're connected to the internet. From Admin Command Prompt, run:
and then run:
If the error still occurs, you can download a fresh copy from this MSFT link.
Thanks a lot! After I type sfc /scannow in Admin Command Prompt ,it tells me "Windows Resource Protection found corrupt files and successfully repaired them." It seems to successfully solved my problem. I will test for some times.
it's the CBS.log here
Version 22H2 (OS Build 22621.963) Windows 11 IoT Enterprise
Hello Xies, welcome to the Microsoft community, I'll be happy to help you today;
I understand that you are having problems installing a program on Windows 11;
What would be the program that you are having trouble installing?
Before answering the question I suggest you try the solutions provided in the link below:
https://appuals.com/bad-image-error-0xc000012f-...
Disclaimer: There are links to non-Microsoft websites. The pages appear to provide accurate and secure information. Watch out for ads on websites that may advertise products that are often classified as PUPs (Potentially Unwanted Products). Thoroughly research any product advertised on websites before deciding to download and install it.
Hope it works, see you soon!
Hi Xies,
The error code 0xc000012f means the DLL is corrupt. Can you upload your CBS log? It's located at C:\Windows\Logs\CBS\CBS.log.
Also, type winver.exe and post back the OS/build info.