- Open Settings > Account > Other users > under Other users, click Add account > I don’t have this person sign in info > Add user without a Microsoft account > Fill up the fields to create a test account and follow the instructions.
- Other times, one or several optional programs can cause errors. To determine and eliminate such applications, perform a clean boot.
- Run SFC Scan to fix corrupt files.
Basic Fixes
- Uninstall the latest Windows update: Open Settings > System > Update history > Uninstall updates.
- Uninstall recent applications: Go to Control Panel and uninstall apps that you have recently installed on your Windows 11 PC.
Fix 1: Clear a New User Profile
You can create a new user profile and test the apps to see if you get the error. A new profile will be devoid of any preferences.
Open Settings > Account > Other users > under Other users, click Add account > I don’t have this person sign in info > Add user without a Microsoft account > fill in the fields to create a test account and then follow the instructions.

Fix 2: Run SFC Scan to Fix Corrupt Files
At times, running a few commands can fix errors with bad images. Use the SFC scan to fix corrupt files .
Step 1: Open Command Prompt > run it as administrator .
Step 3: Type the following command > press Enter
sfc/ scannow
Give your computer a few minutes to complete the process, then exit. Restarting your PC should help fix damaged system files.

Fix 3: Register the Specific DLL File Again
If you see the 0xc000012f error message, it is a DLL file name that you might have to register again. You can use Microsoft Register Server for this.
Step 1: Open Command Prompt as administrator.
Step 2: Input the following command with the DLL file name from the 0xc000012f error message included.
regsvr32 (DLL file name)
Step 3: Press Enter to register the DLL file specified.
Fix 4: Perform a Clean Boot and Troubleshoot
Other times, one or several optional programs can cause errors. To determine and eliminate such applications, perform a clean boot. A clean boot is a troubleshooting exercise that helps you diagnose specific elements causing problems.
Step 1: Type msconfig in the Windows search bar and press Enter.
Step 2: Select the General tab. Under Selective startup, uncheck Load startup items . Also, ensure that the Load system services and Use original boot configuration are checked.

Step 3: Move to the Services tab > check Hide all Microsoft services > click Disable all .

Step 4: Tap on the Startup tab > click Open Task Manager .

Step 5: Click on suspected problematic startup programs and choose Disable . Remember that you have to repeat this process for every application on the list.
Step 6: Once done, click Disable at the bottom. Close the task manager and restart your PC.

After the restart, turn on each disabled application individually. This will help you identify the specific application with a problem.
Once you have identified the bad application, resume normal boot without it. Follow the procedure above and select the enable option instead of disabling applications.
Fix 5: Perform a System Restore
If everything else fails, your last resolve should be to perform a system restore. A system restore allows you to return to a version that worked well on your computer.
Step 1: Type rstrui in the Windows search bar > hit Enter to open System Restore.
Step 2: Click Choose a different restore point > press Next .

Step 3: Select a preferred restore point and click Next .

Step 4: Click Finish on the next screen. Confirm the process by clicking Yes on the dialog desk.
Remember that this process may take hours to complete. Be patient and do not interrupt as your system reverts to previous versions.