Skip to content

How-ToOS

How to Run Old Games on Windows 11: Compatibility Mode, DirectX and .NET Fixes

How to run old PC games on Windows 11: check for updated releases, run the Program Compatibility Troubleshooter, set compatibility mode on the game's .exe, install Microsoft's legacy DirectX End-User Runtime and enable .NET Framework 3.5, then update drivers and repair Windows.

By , Systems & Technical Editor

5 min read

How to Run Old Games on Windows 11: Compatibility Mode, DirectX and .NET Fixes

The steps come from Microsoft's own support pages, Microsoft Learn and the Microsoft Download Center, checked on 24 November 2026. Every old game is different, so treat this as a checklist and stop as soon as yours runs.

Windows 11 runs a huge back catalogue of PC games, but not everything made for Windows XP, Vista or 7 behaves. Microsoft explains that apps can become incompatible "due to changes in the OS's architecture, security features, or system requirements", and that you might see messages like "This app or game can't run on your device", even with software that worked on an earlier version of Windows. The good news is that most fixes are free and take minutes.

Before you start

  • Create a restore point if you're about to install old runtimes or game patches; our System Restore guide shows how.

  • Be wary of old installers and "no-CD" files from random sites. If you want to try an unknown old installer safely, Windows Sandbox gives you a disposable copy of Windows to test it in first.

  • Note the exact error message. An error naming a missing D3DX, XAudio or XInput file, or a prompt about .NET Framework, points straight at one of the fixes below.

Step 1: Look for an updated version first

Microsoft's first recommendation is to check for updates. For Microsoft Store apps and games, update them through the Store. For anything else, Microsoft says to check the publisher's website for a new or updated version, searching for terms like "Windows compatibility".

For games, that also means checking whether the game has had official patches, or whether you already own a newer release of it on a digital store you use. An updated release, where one exists, saves you doing the compatibility work yourself.

Step 2: Run the Program Compatibility Troubleshooter

If there's no update, Microsoft suggests the Program Compatibility Troubleshooter. In Windows 11:

  1. Open Start > Settings > System > Troubleshoot > Other troubleshooters.

  2. Find Program Compatibility Troubleshooter and select Run.

  3. Follow the on-screen instructions.

Microsoft's troubleshooters page also says you can open the Get Help app and search for "Run the Windows Program Compatibility troubleshooter", then follow the steps. Get Help shows what it found and suggests fixes afterwards.

Step 3: Set compatibility mode manually

If the troubleshooter doesn't fix it, you can tell Windows to run the game with settings from an older version of Windows yourself. The steps commonly given on Microsoft's community Q&A are:

  1. Type the game's name in the taskbar search box, right-click it and choose Open file location (or browse to the game's install folder).

  2. Right-click the game's program file (the .exe), select Properties, then open the Compatibility tab.

  3. Tick Run this program in compatibility mode for and choose the older version of Windows the game was designed for.

  4. Select Apply, then try launching the game.

If the first version you pick doesn't help, try another. Note that these steps apply the setting to the program file itself, found via Open file location, rather than to a desktop shortcut.

Step 4: Install the legacy DirectX runtime

Some older games refuse to start because a DirectX file is missing. Windows already includes DirectX, but Microsoft explains that some older games use optional side-by-side components from the legacy DirectX SDK, which this separate runtime installs.

Microsoft's DirectX End-User Runtime Web Installer (version 9.29.1974.1, published 15 July 2024, file name dxwebsetup.exe) fills that gap. Microsoft says it installs runtime libraries from the legacy DirectX SDK "for some games that use D3DX9, D3DX10, D3DX11, XAudio 2.7, XInput 1.3, XACT, and/or Managed DirectX 1.1", and that it "does not modify the DirectX Runtime installed on your Windows OS in any way". Microsoft also says the package "does not change the version of DirectX"; it adds the older side-by-side technologies that some older games use.

Download it only from the Microsoft Download Center (link in the sources below), run it and restart the game.

Step 5: Enable .NET Framework 3.5

Some older games, launchers and mod tools are built on older versions of .NET Framework. Microsoft explains that Windows comes with .NET Framework 4, "which doesn't support apps built with .NET Framework 1.1 through 3.5", so those apps need .NET Framework 3.5 installed.

There are two ways to get it, according to Microsoft Learn:

  • On demand: if you try to run an app that needs it, Windows may show a dialogue offering to install it. Choose Download and install this feature (you need an internet connection).

  • Through Windows Features: press Start, search for Windows Features and open Turn Windows features on or off, tick .NET Framework 3.5 (includes .NET 2.0 and 3.0), select OK and restart if prompted. You don't need the Windows Communication Foundation child items unless you're a developer or server administrator.

Microsoft adds a caution that Windows 11 26H1 (build 28000) or later has its own separate instructions, so if you're on that build, follow Microsoft's dedicated Windows 11 page linked from the same article. It also recommends looking for an updated version of the software that uses a newer .NET before installing 3.5, since .NET Framework 3.5 was released in 2008.

Step 6: Update drivers and repair Windows

If a game opens but flickers, freezes or glitches, Microsoft suggests running the compatibility troubleshooter again and updating your device drivers through Windows Update. For games, the graphics driver matters most; our graphics driver guide covers NVIDIA, AMD and Intel. If several programs misbehave, not just one old game, our DISM and SFC guide shows how to repair Windows system files.

For crashes that persist once the game is running, work through our wider games crashing guide. And if an old game only misbehaves in full-screen, try a windowed or borderless mode if it offers one; our fullscreen vs borderless windowed explainer explains the differences.

Our verdict

Most old PC games can be coaxed into running on Windows 11 without third-party tools. Work in this order: look for an updated or patched release, run the Program Compatibility Troubleshooter (Settings > System > Troubleshoot > Other troubleshooters), set compatibility mode on the game's .exe, install Microsoft's DirectX End-User Runtime for missing D3DX or XInput files, and enable .NET Framework 3.5 if the game or its launcher asks for it. Update your graphics driver and repair Windows if problems remain, and only download runtimes from Microsoft's own pages.

The bottom line

Most old PC games can be coaxed into running on Windows 11 without third-party tools. Work in this order: look for an updated or patched release, run the Program Compatibility Troubleshooter (Settings > System > Troubleshoot > Other troubleshooters), set compatibility mode on the game's .exe, install Microsoft's DirectX End-User Runtime for missing D3DX or XInput files, and enable .NET Framework 3.5 if the game or its launcher asks for it. Update your graphics driver and repair Windows if problems remain, and only download runtimes from Microsoft's own pages.

Sources

  1. 01Microsoft Support, Make older apps or programs compatible with the latest version of Windows
  2. 02Microsoft Support, Windows troubleshooters
  3. 03Microsoft Q&A, Turn on Program Compatibility Assistant properties (community answer)
  4. 04Microsoft Download Center, DirectX End-User Runtime Web Installer
  5. 05Microsoft Learn, Install .NET Framework 3.5 on Windows 10 and Windows Server

About the author

Marcus Thorne

Systems & Technical Editor

Marcus writes Forge PC's step-by-step build, troubleshooting and system optimisation guides. His background spans Windows kernel and power-state diagnostics, UEFI/BIOS configuration, NVMe storage arrays, ATX 3.1 power delivery and running local AI and LLM workloads on consumer graphics cards.

More from Marcus Thorne

Read next

Best Free File Sync Software for Windows PCs in 2026

Best Picks

Best Free File Sync Software for Windows PCs in 2026

The best free file sync software for Windows PCs in 2026: FreeFileSync for most people, Syncthing for continuous PC-to-PC sync, rclone for cloud storage and Robocopy built into Windows, with each tool's sync modes, safety features and catches.

Hannah Vance6 min

Immich vs PhotoPrism: Which Self-Hosted Photo App Has Better Local AI?

Versus

Immich vs PhotoPrism: Which Self-Hosted Photo App Has Better Local AI?

Immich vs PhotoPrism for self-hosted photos with local AI: Immich offers plain-language CLIP search, face grouping, OCR search, native phone backup and NVIDIA, AMD or Intel GPU acceleration, while PhotoPrism focuses on labels, filters and browsing existing libraries, with lighter requirements and optional Ollama captions.

Callum Reid5 min