Fix: Error 0x80070057 in Windows 11 Compatibility Troubleshooter
The compatibility troubleshooter error 0x80070057 pops up when the users try to check the compatibility of a file. The error code is accompanied by a statement that says, ‘An error occurred while loading the troubleshooter’.
We had a look into the issue and discovered that several reasons, including the following, can cause it:
- An issue with the TEMP directory – in most cases, the issue was related to the TEMP directory, and users managed to resolve it by changing the default TEMP directory to C:\TEMP.
- Generic corruption error – the troubleshooter might also be dealing with some kind of inconsistency or a corruption error, preventing it from performing the action successfully.
- Third-party antivirus interference – the third-party antivirus programs interrupt the troubleshooter’s process, causing the error 0x80070057. If you are using any such software on your computer, you can temporarily disable them and check if that makes any difference.
Now that you know about the error’s potential causes let’s look at the troubleshooting methods that will help you fix the problem.
Before proceeding, we recommend that you temporarily disable any third-party antivirus program you might use. While these programs protect your system from potential threats, they also have a bad reputation for interfering in the troubleshooting processes. Once you have disabled them, you can get started with the first solution we have listed below.
1. Change the TEMP Directory
Temp directories or temp folders are directories on storage devices, such as hard drives, used to store temporary files. This directory is usually named TEMP and contains files ending with .tmp.
In the case of the error code 0x80070057, most users found that the issue was caused if the TEMP folder was pointing to a RAM drive. The compatibility troubleshooter does not work well with the RAM drives for some reason, and to fix the issue, you must change the TEMP directory to C:\TEMP.
To proceed, here is all that you need to do:
- Create a TEMP directory in root folder C. It should be as C:\TEMP.
- Next, type Control Panel in Windows search and click Open.
- Type Environment variables in the search bar at the top and click on Edit environment variables for your account from the search results.
- Locate the TEMP variable and click on the Edit button in the dialog.
- Change it to the new variable you created earlier.
- Do the same with the TMP variable in the dialog and click OK to save the changes.
- Exit Control Panel and then try rerunning the compatibility troubleshooter.
Hopefully, the troubleshooter will run fine this time.
2. Run the Disk Cleanup Utility
This fix is also related to the one we just discussed above. If the TEMP folder is in the correct directory already, you can try running the disk cleanup utility to scan for any corrupt files in the folder.
This utility will find the problems and fix them in no time.
Follow these steps to proceed:
- Type Disk Cleanup in Windows search and click Open.
- In the following dialog, select the disk you want to scan and click OK.
- After the scan is complete, delete the temporary files in the TEMP folder and check if that fixes the problem.
3. Use System Restore
Another easy way of resolving the issue is by using the System Restore utility.
It is like an undo feature in Windows that allows you to revert to a previous working state while fixing the issue. This utility works by creating restore points in the system from time to time. The restore points are snapshots of the working state of Windows at the point. If an error causes your system to act up in the future, you can use these restore points to go back to a system state where the error was not present.
Follow these steps to proceed:
- Press Win + R to open a Run dialog.
- Type control in the dialog box and hit Enter.
- In the following window, use the search bar to search for System Restore.
- Choose Create a restore point from the results.
- Next, click on the System Restore button in the dialog. You should now be presented with a list of all the restore points created in the system.
- Choose one and hit the Next button. We recommend choosing the one that was created most recently. Also, remember that you might lose anything created after the restore point you choose was created.
- Follow the on-screen instructions to proceed.
Once the system is reverted to a previous working state, check if you can now use the compatibility troubleshooter.
4. Run a System Scan
As we mentioned earlier, you can also run into this error if there is an underlying corruption error or inconsistency within the system.
Issues like these are quite common but fortunately, fixing them is not as complicated as it may sound. Microsoft has packed Windows with many troubleshooting utilities that can scan the system for potential errors. If these tools find any issues, they can fix them without requiring input from your side. If the utilities cannot fix the issue, they will recommend suggested fixes that you can go ahead with.
In the case of this error, we recommend you scan the system using the System File Checker (SFC). This tool can check the system for issues and replace corrupt files with their healthier cached counterparts.
You can run the System File Checker using Command Prompt in Windows 10 and 11.
Here is how you can proceed:
- Press Win + R to open Run.
- Type cmd in the text field of Run and click on Ctrl + Shift + Enter to launch Command Prompt with administrative privileges.
- Alternatively, you can type Command Prompt in Windows search and click on Run as administrator to proceed.
- Click Yes in the User Account Control prompt.
- Once you are inside the Command Prompt window, execute the command below.
sfc /scannow
Wait for the utility to run its scan and implement fixes for the issues identified. Once that is done, you can close the Command Prompt window and check if the issue is resolved.
If you are still facing the problem, it is best to contact the Microsoft support team and report the issue to them. They will be able to look for the cause of the error in your case and then suggest the fixes. Meanwhile, you can try using another troubleshooter to perform the task causing the error on your computer.