In this guide (10 sections)

When a game closes the moment it starts, the problem is almost always on the software side: a damaged or missing game file, some shared Windows files the game needs, the graphics driver, the game’s anti-cheatAnti-cheat: A program that many online games install to detect cheating. If it fails, the game won't start. More in our Windows & performance glossary → program, or another app blocking it. That’s good news, because none of these needs new hardware. Work through the steps below in order, and test the game after each one.

If the game starts and crashes later while you play, see our guide about a game that closes to the desktop instead.

Quick fix

Follow these steps in order:

  1. Restart the PC, then check the game’s files with the verify or repair button in Steam or the app you installed the game with. See the steps.
  2. Install the latest Visual C++ files from Microsoft. See the steps.
  3. Update the graphics driver. See the steps.
  4. Repair the anti-cheat program and check that your antivirus isn’t blocking the game. See the steps.

Want to see how others tracked it down? Read real cases from PC forums.

What exactly happens?

What you see What to try first Where to look
A window flashes and closes, with no error, often after a game update. Check the game’s files Step 2
An error names a missing file ending in .dll, such as MSVCP140.dll or VCRUNTIME140.dll. Install the Visual C++ files Step 3
An error shows the code 0xc000007b. Install the Visual C++ and DirectX files, then check the game’s files Step 3
An error mentions DirectX, D3D, Vulkan or the graphics card. Update the graphics driver Step 4
An error mentions Easy Anti-Cheat, BattlEye, Vanguard or another anti-cheat program. Repair the anti-cheat program Step 5
The game started up normally before, and you recently installed a new app or antivirus. Check the antivirus and background apps Step 6
On a laptop, the game says the graphics card isn’t supported. Make the game use the graphics card Step 7

1. Read the error message and restart

An error message, even a cryptic one, usually tells you which step to start with: use the table above. If there’s no message at all, the Reliability MonitorReliability Monitor: A built-in Windows page that lists every crash and problem day by day, with the stop code. More in our Windows & performance glossary → may show what happened: press the Windows key, type reliability, open View reliability history and look for the game on the day it failed.

Then restart the PC (choose Restart, not Shut down). An update to Windows, the graphics driver or the game itself is sometimes only finished after a restart.

2. Check the game’s files

A file damaged during a download or an update is the most common reason a game won’t start.

How to do it:

  1. In the app you start the game from (such as Steam), use the verify game filesVerify game files: A button in Steam and other game apps that checks the game's files and downloads again any that are damaged or missing. More in our Windows & performance glossary → button. In Steam: right-click the game in your library → Properties → Installed Files → Verify integrity of game files. In other game apps (Epic Games, EA app, Ubisoft Connect, Battle.net and others), look for Verify or Repair in the game’s settings menu.
  2. Turn off or remove any mods.
  3. If the game still won’t start, uninstall it, restart the PC and install it again. If that doesn’t help either, reinstall the game app too (Steam, Epic Games and so on): its own files can be damaged.

3. Install the Visual C++ and DirectX runtime files

Most games need some shared Microsoft files in Windows to run, called the Visual C++ and DirectX runtime filesVisual C++ and DirectX runtime files: Shared files from Microsoft that many games need in order to run. If one is missing, the game won't start. More in our Windows & performance glossary →. If one is missing or damaged, the game closes at once, often with an error that names a missing file ending in .dll.

How to do it:

  1. Search for “Microsoft Visual C++ Redistributable latest supported downloads” and open Microsoft’s own page (learn.microsoft.com).
  2. Download and install both the X64 and the X86 versions, even on 64-bit Windows: some games, game apps and installers still need the X86 one. If it offers Repair, choose it.
  3. For older games, also install the DirectX End-User Runtime from Microsoft’s download page.
  4. Restart the PC and try the game.

Only download these files from Microsoft. Websites that offer single .dll files to download are a common way to get malware.

4. Update or reinstall the graphics driver

New games often need a recent graphics driverDriver (software): The software that lets Windows talk to a piece of hardware, like the graphics card. More in our Graphics cards & display glossary →, and a damaged one can stop any game from starting.

How to do it:

  1. Install the latest graphics driver from the graphics card maker’s website (NVIDIA, AMD or Intel). On a laptop, the laptop maker’s website also has a driver tested for that model.
  2. If the game still won’t start, or the problem began with a graphics driver update, do a clean driver installClean driver install (DDU): Removing every trace of the graphics driver with a free tool, then installing a fresh copy. More in our Windows & performance glossary → (the steps).
  3. Delete the shader cacheShader cache: Files the graphics driver saves so games don't have to prepare their graphics again. A damaged cache can make a game crash. More in our Windows & performance glossary →, which can get damaged after a driver or game update: press the Windows key, type Disk Cleanup, choose the Windows disk, tick DirectX Shader Cache and confirm. Your graphics driver’s app may also have an option to reset it (in recent versions of AMD Software: Gaming → Graphics → Advanced → Reset Shader Cache). The first game session may have short freezes while the cache is rebuilt.
  4. On a desktop PC, check that the monitor cable goes into the graphics card, not into the video port on the motherboard. Otherwise games run on the processor’s basic graphics chip, if it has one. If the graphics card doesn’t appear in Device Manager at all, see our guide about a graphics card that isn’t detected.
  5. Check the game’s minimum requirements. Some new games need a graphics card from the last few years and won’t start on older ones, even with the newest graphics driver.

5. Repair the anti-cheat program

Many online games start an anti-cheat program first. If it is damaged, out of date or blocked, the game closes or shows an anti-cheat error.

How to do it:

  1. Check the game’s files first (step 2): it often repairs the anti-cheat program too.
  2. Many games have a repair tool for their anti-cheat program inside the game’s install folder (for Easy Anti-Cheat, a folder called EasyAntiCheat with a setup file that offers Repair Service). Run it, then restart the PC.
  3. Some anti-cheat programs need Windows features to be turned on (for example, Riot Vanguard needs TPM 2.0 and Secure Boot on Windows 11, two security features of the motherboard). The error message usually says so. Don’t change these BIOS options blindly: turning on Secure Boot can stop some older Windows installations from starting, so follow the game’s or the motherboard maker’s guide. The game’s support page explains what to check.
  4. Close cheat tools, macro apps and tools that change the game’s files: anti-cheat programs block them.

6. Make sure no other app is blocking the game

Antivirus programs sometimes block or move a game’s files by mistake, especially right after a game update, and some background apps clash with games.

How to do it:

  1. Open your antivirus and look at its history or quarantine list. If it blocked the game’s file, restore it and add the game’s folder to its list of exceptions. In Windows Security, also look at the Controlled folder access setting, which can stop games from saving files.
  2. Close overlaysOverlay (on-screen display): Information drawn on top of a game, such as FPS or temperatures. Steam, Discord and graphics drivers have one. More in our Windows & performance glossary →, recording tools, RGB lighting apps and tools that read your hardware (MSI Afterburner, RivaTuner), then try again.
  3. To test everything at once, start Windows with only Microsoft services (search for Microsoft’s “clean boot” instructions). If the game then starts, turn the other apps back on in small groups until you find the one causing it.

7. Make the game use the graphics card on a laptop

Gaming laptops have two graphics chips: a basic one inside the processor (integrated graphicsIntegrated graphics: Graphics built into some processors, which let you use the motherboard's video ports without a graphics card. More in our Graphics cards & display glossary →) and the stronger graphics card. If the game opens on the basic one, it may say the graphics card isn’t supported and close. Our guide about games that use integrated graphics covers this in more detail, also for desktop PCs.

How to do it: open Settings → System → Display → Graphics, find the game (or add it with Browse), open its options and set it to High performance. On Windows 10, the same list is under Settings → System → Display → Graphics settings. Restart the game. Also keep the laptop plugged in while you play.

8. Repair Windows and check the requirements

If no game or app works properly, Windows itself may have damaged files.

How to do it:

  1. Install the pending Windows updates and restart.
  2. Repair Windows files with SFC and DISMSystem file check (SFC and DISM): Built-in Windows commands that find and repair damaged Windows files. More in our Windows & performance glossary → (how to run them).
  3. Check the game’s minimum requirements again: the Windows version, the amount of RAM, and free space on the disk (many games need extra free space to start, not only to install).

Real cases: what other users ran into

These are real threads from PC forums, summarized in our own words. Each one links to the original.

Real caseRX 7800 XT · Ryzen 7 5700GSolvedA game that closed within seconds, fixed by turning off the Discord overlay

In February 2024, Borderlands 3 closed 5 to 20 seconds after starting, before reaching the menu and with no error, but only while Discord was open. Drivers and Windows were up to date, and stress tests of the processor and graphics card, with and without Discord, ran fine. The person who posted turned off Discord’s in-game overlay, and the game launched and ran with no problems. They added that they had never even used the overlay.

Takeaway: an overlay can stop a game from starting, even one you never use. See step 6.

Source: Linus Tech Tips

Real caseRX 7900 XT · Ryzen 7 7700XSolvedGames stuck on the loading screen: the monitor was plugged into the motherboard

In November 2023, on a newly built PC, Fortnite, Warzone and Resident Evil 4 froze and closed on the loading screen, sometimes needing Task Manager to close them. Reinstalling the games and the game apps, checking the disk, updating and cleanly reinstalling the graphics driver, and testing a game without an anti-cheat program didn’t help. The person who posted, asking for their sister, then found the cause: the monitor cable was plugged into the motherboard’s video port, not into the graphics card, so the games were running on the processor’s basic graphics chip.

Takeaway: on a desktop PC, the monitor cable must go into the graphics card. See step 4.

Source: Linus Tech Tips

Real caseSolvedA game that stopped launching after cleaning the C drive

In June 2024, after deleting files from the C drive to free up space, Counter-Strike 2 froze on its first screen every time it was started; sound and the mouse pointer still worked, and every other game was fine. Reinstalling the game, checking its files, deleting its settings files and trying different launch options didn’t help. Reinstalling both Steam and the game fixed it, the person who posted reported.

Takeaway: deleting files by hand can break more than one program. When checking the game’s files isn’t enough, reinstall the game app too (such as Steam). See step 2.

Source: Tom's Hardware Forum

Frequently asked questions

Is it safe to download a missing .dll file from a website?

No. Single .dll files from download sites can be the wrong version or contain malware. Install the full package from Microsoft instead (step 3).

Why does the game work on another PC but not on mine?

Each PC has different Windows files, graphics drivers and apps installed. The steps above check each of these in turn, starting with the most common.

Will reinstalling the game delete my game progress?

Usually not: most game apps (Steam, Epic, EA app) keep save files (your game progress) in the cloud or in your Documents folder. To be safe, check the game’s support page for where its save files are kept, and copy them before you uninstall.

The game ran fine yesterday and today it won’t start. What changed?

Most often an update: to the game, the graphics driver, Windows or your antivirus. Start with step 1 and step 2, then step 6.

Did this fix work for you?

Tell other readers what worked, what didn't, and which hardware you have. Comments use GitHub Discussions, so you'll need a free GitHub account to post.

Loading comments connects to giscus.app and GitHub. See our privacy policy. Please keep it friendly and on topic. Spam and off-topic comments are removed.

RigClinic Editorial · PC hardware guides

RigClinic publishes practical, step-by-step guides to diagnosing and fixing PC hardware problems, checked against manufacturer documentation and kept up to date. How we write our guides