Classic MS-DOS games such as Prince of Persia, Doom and the early Sierra and LucasArts adventures are, in the words of the DOSBox-X project, programs that "simply cannot be run on modern PCs and operating systems". Windows 11's compatibility settings are aimed at older Windows software, not DOS. The fix is a DOS emulator, and the easiest one to start with in 2026 is DOSBox Staging: it's free, open source, and designed so most games need very little manual setup.
This guide follows DOSBox Staging's official Getting Started guide, user manual and release notes, checked on 4 December 2026.
What you need
A 64-bit PC running Windows 8, 10 or 11. The DOSBox Staging download page says the current version works on any such laptop or desktop and recommends a dedicated graphics adapter for laptops.
A DOS game you're allowed to play: a disc or download you own, a shareware episode or an official demo. DOSBox Staging's own guide uses the free Prince of Persia demo, so it's a good one to learn with.
A plain text editor such as Notepad, for the optional configuration file in step 6.
Step 1: Download and install DOSBox Staging
Go to the DOSBox Staging website and open Download > Windows. On 4 December 2026 the latest version was 0.83.1, released on 14 November 2026 as a maintenance update that fixes regressions from 0.83.0 and cuts the program's size from about 45MB to 13MB.
You can pick the Installer or a Portable ZIP. The project recommends the installer with its default options while you're learning, because the instructions assume it. The download page lists a SHA-256 checksum for each file; if you want to confirm your download is intact, our guide on how to check a file hash in Windows 11 shows how.
After installing, start DOSBox Staging once from the Start menu or desktop icon. The Getting Started guide strongly recommends this first launch, as later steps may not work otherwise. It also creates the main settings file at C:\Users\%USERNAME%\AppData\Local\DOSBox\dosbox-staging.conf.
Step 2: If Windows Security blocks it
The DOSBox Staging manual warns that Windows Defender SmartScreen may stop it running the first time. The project calls this a false positive: antivirus software often flags emulators because they run other programs. Its documented fixes include right-clicking dosbox.exe, choosing Properties, ticking Unblock and pressing OK.
The manual also suggests adding an exclusion for the DOSBox Staging program or its folder in Windows Security, saying this can remove a 3-5 second startup delay caused by the real-time antivirus scan. Only do this for a copy you downloaded from the official site, and you may need to repeat the unblock step after upgrading.
Step 3: Make a folder for each game
DOSBox Staging can't see your real Windows drives by default. Instead, you give each game its own folder and a "virtual" DOS C: drive inside it:
In your Documents folder, create a folder called DOS Games. The guide says not to use a system folder such as Program Files, so DOSBox Staging has full read and write access.
Inside it, create a folder for the game, for example Prince of Persia.
Inside the game folder, create a folder called drives, and inside that a folder called c (lowercase is recommended).
Copy the game's files into drives\c.
You should end up with Documents\DOS Games\Prince of Persia\drives\c. Any single-letter folder inside drives is mounted automatically as a DOS drive with that letter, which the project calls automounting. So drives\d would become a D: drive.
Don't confuse this virtual C: drive with your real Windows C: drive: they're completely separate, and DOS programs only see what you put in drives\c.
Step 4: Start DOSBox Staging from the game folder
DOSBox Staging needs to start with the game folder as its working folder so it finds the drives folder.
Windows 10: right-click the game folder (or an empty area inside it) in File Explorer and choose Open with DOSBox Staging.
Windows 11: the guide notes this right-click menu entry currently works only on Windows 8 and 10. Instead, create a text file in the game folder called Start DOSBox Staging.bat containing this single line (the default install path):
C:\Users\%USERNAME%\AppData\Local\DOSBox\dosbox.exe
Rename the batch file after the game if you like, for example Prince of Persia.bat, and double-click it to launch. If you used the portable ZIP, change the path to wherever you unpacked dosbox.exe. For a desktop icon, right-click the batch file and choose Send to > Desktop (create shortcut). Copy the same batch file into each new game folder.
Step 5: Run the game from the DOS prompt
DOSBox Staging opens at a prompt that reads Z:\>. Z: is a special built-in drive; your game is on C:.
Type C: and press Enter (the colon matters).
Type dir and press Enter to list the files.
Type the name of the game's program and press Enter. DOS programs end in .EXE, .COM or .BAT, and dir *.exe lists just the .EXE files.
Pressing Tab completes file names for you, and the Up and Down keys step through previous commands. With the Prince of Persia demo, POP1DEMO.EXE turns out to be a self-extracting archive: running it unpacks the game, and then PRINCE starts it. Many older games work the same way, or ship an INSTALL.EXE that copies files to C:. If a game came with a manual, read it, as it usually tells you which file to run and which keys to use.
Step 6: Make the game start automatically
To skip typing commands every time, create a plain text file called dosbox.conf in the game folder (next to drives, not inside it) with an [autoexec] section listing the commands to run at startup, one per line. For Prince of Persia that's:
[autoexec]
c:
prince
DOSBox Staging looks for dosbox.conf in the folder it starts from, so each game can have its own settings. Make sure your editor doesn't save it as dosbox.conf.txt: in Notepad, set Save as type to All files, or turn on file name extensions in File Explorer to check.
Useful keyboard shortcuts
These are DOSBox Staging's default shortcuts on Windows, from its user manual:
Shortcut | What it does |
|---|
Alt + Enter | Toggle full screen |
Ctrl + F10 | Capture or release the mouse |
Ctrl + F11 / Ctrl + F12 | Decrease / increase emulated CPU speed (cycles) |
Alt + F12 | Toggle turbo speed |
Alt + Pause | Pause emulation |
Ctrl + F5 | Take a screenshot |
Ctrl + F1 | Open the key mapper to change bindings |
Ctrl + F9 | Shut down DOSBox Staging |
Game shortcuts are separate: in the Prince of Persia demo, for example, Ctrl + K switches to keyboard controls and Ctrl + Q quits back to the DOS prompt. Type exit at the prompt to close DOSBox Staging, or press Alt + F4.
Tips if something isn't right
Picture looks soft or "old": that's deliberate. DOSBox Staging applies authentic CRT monitor emulation by default and picks a shader based on the game's video mode and your screen resolution. The manual's Rendering section covers how to change it.
Game runs too fast or too slow: try Ctrl + F11 and Ctrl + F12 to change the emulated CPU speed.
No sound or music: most games have a SETUP or INSTALL program where you choose a sound card. Sound Blaster and AdLib are common choices, and both are emulated.
You'd rather run Windows 95 games: that's a better job for DOSBox-X. See our DOSBox Staging vs DOSBox-X comparison and our best free DOS emulators for alternatives.
For old Windows games rather than DOS ones, start with our guide on how to run old games in Windows 11. If you also play console classics, see how to set up RetroArch on Windows.