Quick answer: Press Windows + R, type optionalfeatures and press Enter. Expand Legacy Components, tick DirectPlay, click OK and let Windows install it. The same steps work identically on Windows 10 and Windows 11.

Almost everyone looking this up is trying to run a game from the late 1990s or early 2000s that refuses to start. DirectPlay is usually part of that fix, though rarely the whole of it. This guide covers both.

What DirectPlay actually is

DirectPlay was the networking component of Microsoft’s DirectX suite. Before studios built their own netcode, it handled the tedious parts of multiplayer: finding other players, creating and joining sessions, managing game lobbies, and shuttling data between machines without the developer having to write raw socket code.

Microsoft deprecated it in 2007, replacing it with Games for Windows Live and later leaving developers to their own networking. It survives in Windows purely as an optional compatibility component, so decades-old games can still run.

Two things worth understanding before you start:

  • It is not installed by default. Windows ships it disabled, which is why old games complain about missing components on a fresh system.
  • Enabling it is safe. It is an official Microsoft component, not a third-party patch, and it sits dormant unless a game calls it.

Method 1: Enable DirectPlay through Windows Features

This is the standard route and takes about a minute.

Step 1: Open the Run dialog

Press Windows + R to bring up the Run box.

Windows Run dialog box opened with the keyboard shortcut

Step 2: Open Control Panel

Type Control Panel and press Enter.

A shortcut if you want to skip ahead: typing optionalfeatures in the Run box instead takes you straight to the Windows Features window and skips steps 3 and 4 entirely.

Typing Control Panel into the Windows Run dialog

Step 3: Go to Programs

In Control Panel, select Programs.

Programs category selected in the Windows Control Panel

Step 4: Open Windows Features

Click Turn Windows features on or off. You will need administrator rights at this point.

Turn Windows features on or off link under Programs and Features

Step 5: Find Legacy Components

Scroll down the list and expand Legacy Components by clicking the plus sign beside it.

Legacy Components expanded in the Windows Features dialog

Step 6: Tick DirectPlay and confirm

Check the box beside DirectPlay and click OK. Windows installs the component, which usually takes only a few seconds. Restart if prompted.

DirectPlay checkbox ticked under Legacy Components in Windows Features

Method 2: Enable it with one command

If you prefer the command line, or you are setting up several machines, DISM does the same job in a single line. Open Command Prompt or PowerShell as administrator and run:

DISM /Online /Enable-Feature /FeatureName:DirectPlay /All

To confirm it worked:

DISM /Online /Get-FeatureInfo /FeatureName:DirectPlay

Look for State: Enabled in the output.

The honest part: DirectPlay alone often is not enough

This is where most guides stop, and it is why people enable DirectPlay and find their game still will not run. A game from 2001 typically needs several old-Windows accommodations, and DirectPlay is only one of them.

Symptom Likely cause What to try
Game still will not launch after enabling DirectPlay Other compatibility issues Right-click the .exe, open Properties, then Compatibility, and run it as Windows XP SP3 plus Run as administrator
“This app can’t run on your PC” 16-bit installer on 64-bit Windows 64-bit Windows cannot run 16-bit installers. Use a community installer, or run the game in a virtual machine
Multiplayer will not connect over LAN Firewall blocking the game Allow the game through Windows Defender Firewall on private networks
Graphics glitch or crash on launch Old DirectDraw rendering Try a DirectDraw wrapper such as dgVoodoo2, or disable fullscreen optimisations in Compatibility settings
DirectPlay missing from the features list Windows edition or a damaged component store Run DISM /Online /Cleanup-Image /RestoreHealth, then check again
Installation of the feature fails Windows Update component disabled Ensure the Windows Update service is running, then retry

Set expectations sensibly: DirectPlay removes one specific barrier. For many old titles you will also need compatibility mode, and occasionally a community patch. It is worth checking whether your game has a modern fan-made update, since those often solve everything at once.

How to turn DirectPlay off again

There is no real reason to disable it, since it consumes nothing while idle. But if you want a tidy system, return to Windows Features, untick DirectPlay, and click OK. Or use:

DISM /Online /Disable-Feature /FeatureName:DirectPlay

Frequently asked questions

Does this work on Windows 11?
Yes, identically. DirectPlay is still available under Legacy Components in Windows 11, and the DISM command is the same.

Is DirectPlay a security risk?
It is deprecated rather than dangerous, and it is genuine Microsoft code. It only activates when a game calls it. If you are cautious, disable it once you have finished with the game that needed it.

Do I need to download anything?
No. DirectPlay is already part of Windows, just switched off. Be wary of any site offering a DirectPlay download, since the component does not need to come from a third party.

Will it improve online multiplayer in modern games?
No. Modern games do not use DirectPlay at all. It has no effect on anything released in roughly the last fifteen years.

Do I have to restart?
Usually not, but restart if Windows asks, or if the game still reports a missing component.

Related guides