PC Gaming Error Codes and Fixes

Quick answer: The most common PC gaming error codes are missing DLL errors (VCRUNTIME140.dll, d3dx9_43.dll — fix by installing Visual C++ Redistributable or DirectX runtime), DirectX errors (DXGI_ERROR_DEVICE_HUNG — fix by updating GPU driver with DDU clean install), permission errors (run as administrator, add to antivirus exclusions), Visual C++ runtime errors (install all Visual C++ Redistributable versions), and system requirements errors (update GPU driver for DirectX 12 errors, upgrade hardware for CPU/RAM errors). Never download DLL files from third-party websites — install the official Microsoft runtime packages instead.
The Game That Crashed Every Launch — Until I Found the Antivirus Quarantine
A newly purchased game on Steam refused to launch. The Steam play button would spin for a few seconds, then nothing — no error message, no crash dialog, just silence. The game was not in the Task Manager. I verified the game files through Steam — it reported one file failed to validate and re-downloaded it. I launched again. Same result. I verified again — the same file failed again, even though Steam had just re-downloaded it. That pattern — a file that keeps failing verification immediately after being downloaded — is the signature of an antivirus quarantine. I opened Windows Defender Security Center, went to Protection History, and found the game’s main executable had been quarantined as a “potentially unwanted application” within seconds of each download. I added the game’s installation folder to Defender’s exclusions, verified the files one more time, and the game launched immediately.
That experience captures the most important thing about PC gaming error codes: when a game fails to launch with no error message, or when Steam keeps reporting the same file as corrupted after re-downloading, the antivirus quarantine is the first place to check. PC gaming errors are more varied than console errors because Windows introduces more variables — drivers, runtime libraries, antivirus software, user permissions, and hardware compatibility all interact with the game. Understanding which layer caused the error is the key to fixing it quickly.
How PC Gaming Errors Are Generated
PC gaming errors are generated by four different layers of the Windows software stack. The operating system layer generates permission errors (access denied, UAC blocks), file system errors (missing files, corrupted installation), and system requirement checks (DirectX version, Windows version). The runtime library layer generates missing DLL errors when the game requires a Visual C++ Redistributable, .NET Framework, or DirectX runtime version that is not installed. The GPU driver layer generates DirectX errors (DXGI_ERROR_DEVICE_HUNG, DXGI_ERROR_DEVICE_REMOVED) when the driver crashes or the GPU hardware fails to execute a DirectX command. The game engine layer generates engine-specific error codes and crash reports when the game’s own code encounters an unhandled exception.
Understanding which layer generated the error determines the fix. A missing DLL error is always a runtime library issue — install the correct package. A DXGI error is always a GPU driver or hardware issue — update the driver or check hardware. A permission error is always a Windows security issue — run as administrator or adjust antivirus settings. An engine crash with a specific error code is a game-specific issue — check the game’s support forums for that exact error.
The 5 PC Gaming Error Categories
1. Missing DLL Errors — Visual C++ Runtime, DirectX, and .NET Framework
Missing DLL errors are the most common PC gaming errors for new game installations. They occur when the game requires a runtime library — a shared code package that provides common functions — that is not installed on the PC. The error message names the specific DLL file that is missing. Common missing DLL errors and their fixes: VCRUNTIME140.dll, MSVCP140.dll, MSVCP120.dll, MSVCP110.dll — install the Microsoft Visual C++ Redistributable packages (download all versions: 2005, 2008, 2010, 2012, 2013, 2015-2022, both x64 and x86) from Microsoft’s official download page. d3dx9_43.dll, d3dx11_43.dll, xinput1_3.dll — run the DirectX End-User Runtime Web Installer from Microsoft. MSVCR100.dll — install Visual C++ 2010 Redistributable. api-ms-win-crt-runtime-l1-1-0.dll — install the Windows Universal C Runtime update (KB2999226) or update Windows.
⚠️ Critical security warning: Never download DLL files from third-party “DLL download” websites (dll-files.com, dllme.com, and similar sites). These sites frequently distribute malware disguised as DLL files. Always install the official Microsoft runtime packages from microsoft.com/en-us/download. The correct package for the missing DLL is always a Microsoft-published installer, not an individual DLL file.
2. DirectX Errors — DXGI_ERROR_DEVICE_HUNG, DEVICE_REMOVED, and DEVICE_RESET
DirectX errors indicate a fault in the GPU driver or GPU hardware. The three most common DirectX error codes: DXGI_ERROR_DEVICE_HUNG means the GPU stopped responding to the DirectX command queue — the GPU was executing a draw call and did not complete it within the timeout period (TDR — Timeout Detection and Recovery). DXGI_ERROR_DEVICE_REMOVED means the GPU was disconnected from the driver — caused by a driver crash, a power delivery issue (insufficient PCIe power), or GPU hardware failure. DXGI_ERROR_DEVICE_RESET means the GPU driver reset itself to recover from a fault — similar to DEVICE_HUNG but the driver recovered without a full crash.
The fix for all three DXGI errors starts with a clean GPU driver installation. Download DDU (Display Driver Uninstaller) from guru3d.com. Boot Windows into Safe Mode (hold Shift while clicking Restart → Troubleshoot → Advanced Options → Startup Settings → Restart → press 4 for Safe Mode). Run DDU, select “Clean and restart.” After restarting in normal mode, download the latest GPU driver from NVIDIA.com or AMD.com and install it. If DXGI errors persist after a clean driver install, check GPU temperature under load with MSI Afterburner or HWiNFO64 — sustained temperatures above 85°C indicate a cooling issue. If the GPU is overclocked, revert to stock clock speeds.
3. Permission and Antivirus Errors — UAC Blocks, Quarantined Files, and Access Denied
Permission errors occur when Windows User Account Control (UAC), antivirus software, or Windows file permissions block the game from accessing files or system resources it needs. Common permission errors: “This app can’t run on your PC” (UAC or SmartScreen block), “Access is denied” (file permission issue or antivirus block), “You don’t have permission to run this file” (file permission issue), game launches but immediately closes with no error (antivirus quarantine — the most common silent failure).
For permission errors: right-click the game executable or launcher → Run as administrator. If the game works when run as administrator but not normally, set it to always run as administrator: right-click the executable → Properties → Compatibility → check “Run this program as an administrator.” For antivirus blocks: open the antivirus software (Windows Defender: Windows Security → Virus and threat protection → Protection history), check for quarantined game files, restore them, and add the game’s installation folder to the exclusions list. For Steam games, add the entire Steam installation folder (typically C:\Program Files (x86)\Steam) to antivirus exclusions.
4. Visual C++ Runtime and .NET Framework Errors — Runtime Termination and Crash on Launch
Visual C++ runtime errors occur when the game’s executable encounters an unhandled exception in the C++ runtime library. Common error messages: “Runtime Error! This application has requested the Runtime to terminate it in an unusual way” (Visual C++ runtime exception — often caused by a corrupted or mismatched Visual C++ Redistributable installation), “The application was unable to start correctly (0xc000007b)” (32-bit/64-bit mismatch — the game is trying to load a 64-bit DLL into a 32-bit process or vice versa), “The program can’t start because MSVCR120.dll is missing” (specific Visual C++ version not installed).
For Visual C++ runtime errors, install all versions of the Microsoft Visual C++ Redistributable — both x64 and x86 versions of each year (2005, 2008, 2010, 2012, 2013, 2015-2022). Many games require older versions alongside the current version. For 0xc000007b errors specifically, the most common cause is a 32-bit game trying to load a 64-bit DLL — reinstall the x86 (32-bit) versions of all Visual C++ Redistributables. For .NET Framework errors, install the specific .NET version required by the game (check the game’s system requirements) from Microsoft’s .NET download page.
5. System Requirements Errors — DirectX Version, GPU, CPU, and RAM
System requirements errors occur when the PC hardware or software does not meet the game’s minimum specifications. Common system requirements errors: “Your GPU does not support DirectX 12” (the GPU driver does not expose DirectX 12 feature level 11_0 or higher — update the GPU driver and Windows before concluding the GPU is incompatible), “Minimum RAM requirement not met” (the game requires more RAM than is installed or available — close background applications), “CPU does not support required instruction set” (the game requires AVX, AVX2, or SSE4.2 instructions that the CPU does not have — requires a CPU upgrade), “Insufficient VRAM” (the game requires more GPU memory than the installed GPU has — lower texture quality settings).
For DirectX 12 errors: update the GPU driver first — DirectX 12 support is exposed through the driver, and an outdated driver may not report DirectX 12 capability even on a compatible GPU. Also update Windows — DirectX 12 is part of Windows 10 and 11, and Windows updates include DirectX runtime updates. For CPU instruction set errors (AVX, AVX2): run CPU-Z to check which instruction sets the CPU supports — if the required instruction set is not listed, the CPU must be upgraded. For VRAM errors: lower the game’s texture quality, shadow quality, and resolution settings to reduce VRAM usage.
How to Fix PC Gaming Errors: Step-by-Step
Step 1: Read the Error Message Carefully and Search for the Exact Text
PC gaming error messages are more specific than console error codes — they often name the exact DLL file, DirectX error code, or system requirement that caused the failure. Copy the exact error message text (take a screenshot or write it down) and search for it on the game’s Steam community page, the game’s official support forum, or Reddit (r/pcgaming, r/techsupport). The exact error message text is the most efficient search query — it will find other players who encountered the same error and the fixes that worked for them. If the game closes with no error message, check the Windows Event Viewer (search “Event Viewer” in the Start menu → Windows Logs → Application) for crash entries at the time the game closed.
Step 2: Install Missing Runtime Libraries
For any missing DLL error, install the complete set of Microsoft runtime libraries before attempting any other fix. Download and install from Microsoft’s official website: all versions of Microsoft Visual C++ Redistributable (2005, 2008, 2010, 2012, 2013, 2015-2022 — both x64 and x86), the DirectX End-User Runtime Web Installer, and the .NET Framework versions required by the game (check the game’s system requirements page). After installing, restart Windows before launching the game — runtime libraries require a restart to register correctly. This single step resolves the majority of missing DLL errors and many “application failed to start” errors.
Step 3: Update GPU Driver with a Clean Installation
For DirectX errors, GPU crashes, and performance issues, perform a clean GPU driver installation. Download DDU (Display Driver Uninstaller) from guru3d.com. Boot into Safe Mode (hold Shift → Restart → Troubleshoot → Advanced Options → Startup Settings → Restart → press 4). Run DDU → select GPU manufacturer → Clean and restart. After restarting in normal mode, download the latest GPU driver from NVIDIA.com (for NVIDIA GPUs) or AMD.com (for AMD GPUs) — do not use Windows Update for GPU drivers, as Windows Update often installs older driver versions. Install the driver and restart. A clean driver installation resolves the majority of DXGI errors and GPU crash issues.
Step 4: Fix Permissions and Antivirus Settings
For games that fail to launch silently or with access denied errors: open Windows Security → Virus and threat protection → Protection history and check for quarantined game files. Restore any quarantined files and add the game’s installation folder to the exclusions list (Windows Security → Virus and threat protection → Manage settings → Exclusions → Add or remove exclusions → Add a folder). Right-click the game executable → Properties → Compatibility → check “Run this program as an administrator.” For Steam games, also right- click the Steam executable → Properties → Compatibility → Run as administrator. Verify game files after restoring quarantined files (Steam → right-click game → Properties → Local Files → Verify Integrity of Game Files).
Step 5: Check Hardware Temperature and System Requirements
For persistent crashes and DirectX errors after a clean driver installation, check hardware health. Download MSI Afterburner and HWiNFO64 — run both simultaneously during gameplay to monitor GPU temperature, GPU usage, CPU temperature, CPU usage, and RAM usage. GPU temperatures above 85°C sustained indicate a cooling issue (clean the GPU heatsink and fans, replace thermal paste if the GPU is more than 3–4 years old). CPU temperatures above 90°C indicate a CPU cooling issue. RAM usage consistently at 95%+ indicates insufficient RAM for the game — close background applications or upgrade RAM. Run Windows Memory Diagnostic (search in Start menu) to check for RAM errors — faulty RAM causes random crashes that generate different error codes each time.
Frequently Asked Questions About PC Gaming Error Codes
What are the most common PC gaming errors?
The most common PC gaming errors are missing DLL errors (VCRUNTIME140.dll, d3dx9_43.dll — install Visual C++ Redistributable and DirectX runtime), DirectX errors (DXGI_ERROR_DEVICE_HUNG — clean GPU driver install with DDU), permission errors (antivirus quarantine, UAC block — run as administrator and add to exclusions), Visual C++ runtime errors (install all Visual C++ Redistributable versions), and system requirements errors (update GPU driver for DirectX 12 errors, upgrade hardware for CPU/RAM errors).
How do I fix missing DLL errors in PC games?
Install the official Microsoft runtime packages — never download DLL files from third-party websites. For VCRUNTIME140.dll and MSVCP140.dll: install Microsoft Visual C++ Redistributable 2015-2022 (x64 and x86) from microsoft.com. For d3dx9_43.dll and xinput1_3.dll: run the DirectX End-User Runtime Web Installer from Microsoft. Restart Windows after installing. Verify game files through Steam or Epic after installing the runtimes.
How do I fix DXGI_ERROR_DEVICE_HUNG?
DXGI_ERROR_DEVICE_HUNG means the GPU stopped responding. Fix: download DDU from guru3d.com, boot into Safe Mode, run DDU to clean the old driver, then install the latest GPU driver from NVIDIA.com or AMD.com. Check GPU temperature with MSI Afterburner — above 85°C sustained indicates a cooling issue. If overclocked, revert to stock GPU clock speeds.
How do I fix PC game permission errors?
Right-click the game executable → Run as administrator. Check Windows Security → Protection History for quarantined game files — restore them and add the game’s installation folder to antivirus exclusions. For Steam games, add the entire Steam folder to exclusions. Verify game files after restoring quarantined files.
How do I fix “Your GPU does not support DirectX 12”?
Update the GPU driver from NVIDIA.com or AMD.com first — DirectX 12 support is exposed through the driver, and an outdated driver may not report DirectX 12 capability. Also update Windows — DirectX 12 is part of Windows 10/11 and is updated through Windows Update. If the GPU is older than 2012 (NVIDIA Kepler or older, AMD GCN or older), it may genuinely not support DirectX 12 and requires a GPU upgrade.
PC Gaming Error Fix Complexity and Cost
The table below summarizes common PC gaming errors, their typical cause, and the fix complexity and cost. Most PC gaming errors are resolved at zero cost through software fixes — hardware upgrade costs apply only when the PC genuinely does not meet the game’s minimum requirements.
| Error / Issue | Common Cause | DIY Fix Cost (USD) | Hardware Upgrade Cost (USD) |
|---|---|---|---|
| Missing DLL (VCRUNTIME140.dll, etc.) | Missing Visual C++ Redistributable or DirectX runtime | $0 (install official Microsoft packages) | $0 |
| DXGI_ERROR_DEVICE_HUNG | Outdated GPU driver, overheating, or overclocking | $0 (DDU clean driver install) | $150 – $800+ (GPU replacement if hardware) |
| DXGI_ERROR_DEVICE_REMOVED | GPU driver crash or power delivery issue | $0 (clean driver install / check PCIe power) | $150 – $800+ (GPU replacement if hardware) |
| Antivirus quarantine / silent launch fail | Antivirus false positive on game executable | $0 (restore quarantine / add exclusion) | $0 |
| Visual C++ runtime error (0xc000007b) | Missing or mismatched Visual C++ Redistributable | $0 (install all VC++ Redistributable versions) | $0 |
| “GPU does not support DirectX 12” | Outdated GPU driver or genuinely incompatible GPU | $0 (update GPU driver and Windows) | $150 – $400 (GPU upgrade if incompatible) |
| Insufficient RAM error | Less RAM than game’s minimum requirement | $0 (close background apps) | $30 – $100 (RAM upgrade to 16GB) |
| CPU instruction set error (AVX, AVX2) | CPU does not support required instruction set | $0 (no software fix available) | $100 – $400 (CPU upgrade) |
Note: Most PC gaming errors are resolved at zero cost through software fixes — runtime library installation, GPU driver updates, and antivirus configuration. Hardware upgrade costs apply only when the PC genuinely does not meet the game’s minimum system requirements. Always exhaust software fixes before purchasing hardware. GPU prices vary significantly by model and market conditions — check current prices at major retailers before budgeting for a GPU upgrade.
Conclusion: PC Gaming Errors Are Layered — Identify the Layer First
The game that kept failing Steam’s file verification — the same file, re-downloaded and quarantined within seconds, over and over — was fixed by a single antivirus exclusion. That outcome is more common than most PC gamers expect: the error was not in the game, not in Steam, and not in the hardware. It was in the security software layer, silently removing a file that the game needed. Identifying the correct layer — runtime libraries, GPU driver, permissions/antivirus, or hardware — is the key to fixing PC gaming errors quickly.
PC gaming errors divide into five layers with distinct fix paths. Missing DLL errors → install the correct Microsoft runtime package (never download DLLs from third-party sites). DirectX errors → clean GPU driver installation with DDU. Permission errors → run as administrator, check antivirus quarantine, add exclusions. Visual C++ runtime errors → install all Visual C++ Redistributable versions (both x64 and x86). System requirements errors → update GPU driver for DirectX 12 errors, upgrade hardware for CPU/RAM requirement failures. In each category, the fix path is specific and documented — the error message itself tells you which layer to address.
The most effective preventive measures for PC gaming errors are: keep GPU drivers updated (NVIDIA GeForce Experience or AMD Adrenalin can notify you of new drivers), keep Windows updated (DirectX runtime updates are delivered through Windows Update), add the Steam and Epic Games Launcher folders to antivirus exclusions during initial setup, and install all Visual C++ Redistributable versions after a fresh Windows installation. These four steps prevent the majority of PC gaming errors before they occur.
Sources
- Microsoft — Visual C++ Redistributable Downloads (All Versions). Available at: learn.microsoft.com/en-us/cpp/windows/latest-supported-vc-redist
- Microsoft — DirectX End-User Runtime Web Installer. Available at: microsoft.com/en-us/download/details.aspx?id=35
- Microsoft — DXGI Error Codes Reference (DirectX Graphics Infrastructure). Available at: learn.microsoft.com/en-us/windows/win32/direct3ddxgi/dxgi-error
- NVIDIA — GPU Driver Downloads and Release Notes. Available at: nvidia.com/en-us/drivers
- AMD — Radeon Software Adrenalin Driver Downloads and Release Notes. Available at: amd.com/en/support




