How to Fix a Game Crashing on Startup on PC

Tutorial graphic of a game window with an application error dialog and a checklist for fixing a game that crashes on startup

A game crashing on startup, closing right after you launch it or never showing a window, can be frustrating because there is often no clear message. The cause is usually damaged game files, a graphics driver, a missing runtime, or a program that conflicts with it. This guide gives you a checklist in the order that fixes most cases. Each step says what you should see, so you can stop when the game works.

Step-by-step: fix a game crashing on startup

Step 1: Note any message and restart

Write down any error text or code, such as error 0xc000007b for an app or game that will not open, and the time of the crash. Restart the PC, and make sure the game and its launcher (Steam, Epic or another) are updated.

You should see: the launcher show the game as up to date. If the crash is gone after a restart, a stuck background process was the likely cause.

Step 2: Verify the game files

  • Steam: right-click the game, select Properties > Installed Files > Verify integrity of game files.
  • Epic Games Launcher: in the library, select the three dots next to the game, choose Manage, then Verify.
  • Other launchers: look for a Scan, Verify or Repair option in the game's settings.

You should see: a progress bar, then a message that some files were fixed, or that all files verified. If files were re-downloaded, start the game again. If every file verifies but the game still crashes, the files are not the cause. Menu names can change between launcher versions.

Step 3: Update the graphics driver

Install the latest driver, using a clean installation if the problem continues. See how to update or reinstall graphics drivers. If the crash began right after a driver update, roll back to the earlier one instead.

Step 4: Install the missing runtimes

Many games need the Microsoft Visual C++ Redistributable and, for older games, the DirectX runtime. If the game shows a missing DLL message, follow fixing missing DLL errors. For DirectX messages, see how to fix DirectX errors in games. Download runtimes only from Microsoft (see the sources below), never from a DLL download site. If the message names MSVCP140.dll or VCRUNTIME140.dll, the Visual C++ runtime repair guide explains which package to install. If the message says MSVCR120.dll is missing, the MSVCR120.dll missing guide covers the Visual C++ 2013 package.

Step 5: Run the game as administrator

Right-click the game's executable (use Open file location from the shortcut), select Properties > Compatibility and tick Run this program as an administrator. For an older game, try Run this program in compatibility mode for an earlier version of Windows.

You should see: a Windows permission prompt each time you start the game. If the game now starts, a permission problem with its save or config folder was the cause. If it still closes, untick the box again.

Step 6: Turn off overlays and background tools

Close or disable overlays and tools that hook into games: the Steam, Discord and GPU maker overlays, recording tools, and monitoring tools such as MSI Afterburner with RivaTuner. Some of them cause crashes on launch. Close other programs you do not need, then test the game with only the launcher running. Windows also has a Game Mode setting that limits some background activity while a game runs; see our Game Mode guide. For the Xbox Game Bar overlay in particular, see Xbox Game Bar not opening or overlay problems.

Step 7: Check your security software

Open Windows Security > Virus & threat protection > Protection history and see if the game's files were blocked or quarantined around the time of the crash. Also check Virus & threat protection > Ransomware protection > Manage ransomware protection. If Controlled folder access is on, open Block history and look for the game. If the game appears there, choose Allow an app through Controlled folder access for that game only.

Do not switch Windows Security off. Add an exclusion for the game folder only if the game comes from a source you trust, and remove it if it makes no difference. If your Windows Security is turned off or will not start, see Windows Security turned off.

Step 8: Look in Event Viewer

Press Windows + R, type eventvwr, and open Windows Logs > Application. Find the Error event from Application Error (event ID 1000) at the time the game crashed. In the description, read the Faulting application name and the Faulting module name.

  • A graphics or DirectX file (for example one starting with d3d, dxgi or the GPU maker's name) points to the driver or overclock.
  • A file inside the game's own folder points to damaged or modded game files. Verify again, or remove mods.
  • ntdll.dll or KERNELBASE.dll as the faulting module is generic and does not name the cause. Use the other steps.

For a clearer view of crashes over time, see how to use Reliability Monitor.

Step 9: Reset the game's settings and shader cache

A damaged settings file can crash a game on launch. Find the game's configuration folder (often under Documents or AppData; the game's support page usually names it). Copy it to your desktop as a backup, then rename the original so the game creates a new one. Clearing the shader cache in your graphics driver settings can also help. For a wider clean-up that keeps your saves, see gaming PC cleanup. Restore the backup copy if your saves were stored there and the new settings did not help.

Step 10: Turn off overclocks and test your memory

Reset any GPU or CPU overclock, and turn off XMP or EXPO as a test. If crashes happen in several games, test the memory with the RAM guide.

Step 11: Reinstall the game

Uninstall the game, restart and install it again on an SSD with enough free space (see how to free up disk space). Check first that your save games are in the cloud or copied somewhere. Pirated or modified copies may crash, so use a legitimate copy.

If the game starts but runs badly

See fix stuttering and low FPS in PC games. If the PC shuts down while you play, see how to fix a PC that shuts down while gaming.

More help

For more fixes, browse the PC Repair Atlas homepage.

FAQ

Why does my game crash right after the logo? Often a damaged file, a driver problem or an overlay. Start with verifying the files.

Do mods cause crashes? Yes. Disable them and test the game without mods.

Should I reinstall Windows? Almost never. Try the steps above first.

Sources

Launcher menu names (Steam, Epic) come from the launchers themselves and can change between versions. These steps have not been run on every PC or game.