Home  >  Article  >  How to resolve runtime errors in Windows 11?

How to resolve runtime errors in Windows 11?

PHPz
PHPzforward
2023-04-23 23:10:063731browse

We use various applications or programs every day, whether it is for work, networking or other needs. However, some users reported encountering runtime errors in Windows 11.

This problem usually occurs when you try to launch an application, and is accompanied by a box that sometimes mentions the cause, the affected program, and/or the error code. This information may be useful during troubleshooting exercises.

Since many users are facing this issue, we decided to write this tutorial specifically to help you understand the root cause and guide you through the most effective fixes for runtime errors in Windows 11.

What causes runtime errors in Windows 11?

When dealing with runtime errors in Windows 11, you can't immediately pinpoint a single problem unless the error box itself indicates something. Common reasons behind the error are given below:

  • A trivial error
  • Missing permissions
  • Outdated drivers
  • Conflicting apps Program
  • System infected with malware
  • Problems with the application installation itself

If you are able to identify the issue based on the error box and available information, simply go to the relevant fix and Execute it. However, you can quickly eliminate runtime errors in Windows 11 by following the steps in the order listed.

How to fix runtime errors in Windows 11?

1. Restart the computer

  1. Press Alt F4StartClose the Windows box, click the drop-down menu, Then select Restart from the list of options. 在 Windows 11 中出现运行时错误?立即修复
  2. Click OK to restart the computer. 在 Windows 11 中出现运行时错误?立即修复

Mostly, this is a trivial bug that causes runtime errors in Windows 11. And, these can be easily fixed with a simple reboot. When you restart your PC, the operating system reloads and any errors that caused it are instantly eliminated.

2. Install the latest version of Microsoft Visual C Redistributable package

  1. Press Windows S to start the "Run" command in the text field Type appwiz.cplEnter into the app, then tap or click OK to launch the Programs and Features window. 在 Windows 11 中出现运行时错误?立即修复
  2. Find and select the Microsoft Visual C Redistributable package and click Uninstall at the top. 在 Windows 11 中出现运行时错误?立即修复
  3. Click Yes on the pop-up UAC (User Account Control) prompt. 在 Windows 11 中出现运行时错误?立即修复
  4. Again, click Uninstall in the window that appears. Similarly uninstall other similar software packages. 在 Windows 11 中出现运行时错误?立即修复
  5. Now, visit the official Microsoft website and reinstall all the packages you uninstalled earlier. 在 Windows 11 中出现运行时错误?立即修复
  6. Once the download process is complete, double-click the file to launch the setup. 在 Windows 11 中出现运行时错误?立即修复
  7. Next, check the I agree to the license terms and conditions checkbox and click Install at the bottom. 在 Windows 11 中出现运行时错误?立即修复

If an error box pops up about Microsoft Visual C, it may be helpful to uninstall it and then reinstall the latest version. Once completed, check if the runtime error in Windows 11 has been fixed.

3.Run the application with administrative privileges

  1. Right-click the problematic application's launcher (.exe) file and select Properties from the context menu. 在 Windows 11 中出现运行时错误?立即修复
  2. Navigate to the Compatibility tab from the top. 在 Windows 11 中出现运行时错误?立即修复
  3. Next, check the Run this program as an administrator checkbox and click OK at the bottom to save changes and close the window. 在 Windows 11 中出现运行时错误?立即修复
  4. Check if the error has been fixed. If not, revert the changes you just made.

4. Update the graphics card driver

  1. Press Windows S to launch the search menu and enter # in the text field at the top ##Device Manager and click on the relevant search results that appear. 在 Windows 11 中出现运行时错误?立即修复
  2. Double-click the
  3. Display Adapter entry here. 在 Windows 11 中出现运行时错误?立即修复
  4. Now, right-click on the graphics adapter and select
  5. Update Driver from the context menu. 在 Windows 11 中出现运行时错误?立即修复
  6. Select
  7. Automatically search for drivers from the two options listed in the Update Driver window. 在 Windows 11 中出现运行时错误?立即修复
# Drivers play a key role in the core functionality of the system by relaying commands between the hardware and the operating system. If these are out of date, there is a high chance that you will encounter runtime errors in Windows 11.

The Device Manager methods listed here automatically scan for the best driver available on your system and install it. However, this also means that if you haven't downloaded the latest version before, the chances of a driver update are slim.

5. Uninstall conflicting applications

    Press
  1. Windows I to launch Settings and then list from the left navigation pane Select Applications from the tab list that appears. 在 Windows 11 中出现运行时错误?立即修复
  2. Next, click
  3. Apps & Features on the right. 在 Windows 11 中出现运行时错误?立即修复
  4. Find the conflicting app, click the ellipsis next to it, and select
  5. Uninstall from the menu. 在 Windows 11 中出现运行时错误?立即修复
  6. Again, click
  7. Uninstall in the confirmation prompt that pops up. 在 Windows 11 中出现运行时错误?立即修复
If you start encountering errors after installing a new application, this is most likely the reason behind it. Therefore, it is better to uninstall these applications.

The real trick here is identifying conflicting applications. List all programs installed when you first encountered the error. Now, start uninstalling them one at a time and check if the runtime errors in Windows 11 are fixed.

After identifying and uninstalling the conflicting application, reinstall the other applications removed during this process.

6. Repair/Reset problematic apps

  1. Press Windows I to launch Settings and then list from the left navigation pane Select Application from the tab that appears. 在 Windows 11 中出现运行时错误?立即修复
  2. Click Apps and Features on the right. 在 Windows 11 中出现运行时错误?立即修复
  3. Now, find the application you are having trouble launching, click on the ellipsis next to it and select Advanced options from the popup menu. 在 Windows 11 中出现运行时错误?立即修复
  4. Click the Repair button. 在 Windows 11 中出现运行时错误?立即修复
  5. If the repair process cannot fix the error, click the "Reset" button. 在 Windows 11 中出现运行时错误?立即修复
  6. Again, click "Reset" in the pop-up prompt. 在 Windows 11 中出现运行时错误?立即修复

# Whenever you face issues with an app you installed from the Windows Store, fixing or resetting it might help.

When you repair an application, it scans for corruption and replaces any such files, checks the installation, and verifies that registry entries are OK. None of this affects stored data or configured settings.

On the other hand, resetting the app deletes all data and restores it to its original settings. After completing the repair and reset process, check if the runtime errors in Windows 11 are fixed.

7. Perform System Restore

  1. Press Windows S to launch the Search menu and enter "# in the text field at the top ##Create Restore Point" and click on the relevant search results that appear. 在 Windows 11 中出现运行时错误?立即修复
  2. Click the
  3. System Restore button. 在 Windows 11 中出现运行时错误?立即修复
  4. Now you can choose to continue using the recommended restore points or manually select one, we chose the latter. Check the
  5. Choose a different restore point checkbox and click Next. 在 Windows 11 中出现运行时错误?立即修复
  6. Select a restore point from those listed here and click
  7. Next. 在 Windows 11 中出现运行时错误?立即修复
  8. Review the restore details and click
  9. Finish to start the process. 在 Windows 11 中出现运行时错误?立即修复
  10. Make sure to save any open files as the computer will restart during this process.
If the fixes listed above do not eliminate the issue causing the runtime error in Windows 11, performing a system restore may help.

When you perform a restore, the idea is basically to restore the system to a state where the error was not present initially. This process can remove configured settings and installed applications, but your files will not be affected.

The above is the detailed content of How to resolve runtime errors in Windows 11?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
This article is reproduced at:yundongfang.com. If there is any infringement, please contact admin@php.cn delete