sodcalculator

10 Tech How-To

VM Setup for Legacy Windows Games

Guide 10-34141 · Updated · Step by step

Setting up a virtual machine (VM) to run legacy Windows games lets you play older titles on modern hardware without compatibility headaches. You’ll create a virtual computer inside your current OS, install an old Windows version, and run your games in an isolated environment. Before starting, you need a virtualization tool like VirtualBox or VMware Workstation Player, the installer for the Windows version you want (XP, 98, etc.), and your game discs or digital files.

What You’ll Need

  • A host PC with at least 8 GB of RAM (16 GB recommended) and a modern CPU with virtualization support (Intel VT-x or AMD-V).
  • Virtualization software: Oracle VirtualBox (free) or VMware Workstation Player (free for personal use).
  • Windows installation media: a disc, ISO file, or a recovery disk for the version you want (e.g., Windows XP SP3, Windows 98 SE).
  • Your legacy game CDs or digital copies, plus any required patches.
  • At least 20 GB of free disk space on your host drive.
  • Optional: a USB optical drive if your PC lacks one for game discs.

Step-by-Step

  1. Enable virtualization in BIOS/UEFI. Restart your PC, enter the BIOS/UEFI (usually by pressing Del, F2, or F12 during boot), find the CPU settings, and turn on Intel VT-x or AMD-V. Save and exit.
  2. Install your virtualization software. Download and install VirtualBox or VMware Player. Accept default settings unless you have specific needs.
  3. Create a new virtual machine. Open the software, click “New” or “Create a New Virtual Machine.” Name it (e.g., “WinXP_Games”), choose the type as “Microsoft Windows,” and select the version (e.g., “Windows XP (32-bit)”).
  4. Allocate memory (RAM). Assign at least 512 MB for Windows XP, but 1–2 GB is better if your host has enough. For Windows 98, 256–512 MB is fine. Don’t exceed half of your total RAM.
  5. Create a virtual hard disk. Choose “Create a virtual hard disk now,” select VDI (VirtualBox) or VMDK (VMware), and choose “Dynamically allocated.” Set a size of 20–40 GB—this will grow as you install games.
  6. Configure VM settings. After creation, go to Settings (or VM > Settings). Under “System,” ensure the boot order has the optical drive first. Under “Storage,” attach your Windows ISO or insert your installation disc into the host’s drive and mount it. Under “Display,” increase video memory to 128 MB and enable 3D acceleration if available.
  7. Install Windows. Start the VM. It should boot from the installation media. Follow the on-screen prompts. For Windows XP, you may need to press F6 to load SATA drivers—if you’re using an IDE controller, this is unnecessary. Complete the installation.
  8. Install Guest Additions (VirtualBox) or VMware Tools. After Windows boots, go to the “Devices” menu in VirtualBox and select “Insert Guest Additions CD image.” In VMware, click “Install VMware Tools.” Run the installer inside the VM, which enables better graphics, mouse integration, and clipboard sharing.
  9. Install your games. Mount the game disc via the virtual optical drive (or use an ISO). Run the installer. If you encounter compatibility issues, right-click the game’s .exe file, go to Properties > Compatibility, and try “Windows 98/Me” or “Windows XP SP2/SP3” modes.
  10. Apply patches. Install official patches for the game, especially for newer CPUs or graphics cards. Some games need a “no-CD” patch, but only use those if you own the original disc.
  11. Configure sound and graphics. In the VM settings, under “Audio,” select a driver that works (e.g., SoundBlaster 16 for older games). For graphics, enable 2D acceleration and set the resolution to match your game’s needs.
  12. Save snapshots. After a clean Windows install and before installing games, take a snapshot (in VirtualBox: Machine > Take Snapshot). This lets you revert to a clean state if something goes wrong.

Common Mistakes

  • Not enabling virtualization in BIOS—the VM will be extremely slow or fail to start.
  • Allocating too much RAM to the VM, causing host slowdowns. Keep it under half of your total RAM.
  • Using a 64-bit Windows version when your game requires 16-bit installers—stick with 32-bit for legacy titles.
  • Forgetting to install Guest Additions/Tools, resulting in poor graphics and mouse issues.
  • Running games that require DirectX 3D acceleration without enabling 3D support in the VM settings.
  • Not checking game compatibility with the VM’s virtual hardware—some games need specific sound or video cards.

Tips

  • Use Windows XP SP3 as the baseline—it supports the widest range of legacy games.
  • For games from the DOS era, consider using DOSBox instead of a full Windows VM, as it’s lighter and more accurate.
  • Keep your VM’s Windows installation offline unless absolutely necessary, to avoid security risks (old Windows versions have unpatched vulnerabilities).
  • Use a separate virtual hard disk for games, so you can back it up independently.
  • If a game uses a CD check, you can create an ISO image of the disc and mount it in the VM—this is legal for personal use if you own the disc.
  • Set the VM to use only one CPU core initially; some old games have timing issues with multiple cores.

Troubleshooting

Game won’t install or run: Try running the installer in compatibility mode (right-click > Properties > Compatibility). If it fails, try a different Windows version (e.g., Windows 98 instead of XP).

Graphics are glitchy or too slow: Increase video memory in VM settings, enable 3D acceleration, and install the latest Guest Additions/Tools. For very old games, disable hardware acceleration in the game’s options.

No sound: In VM settings, change the audio controller to SoundBlaster 16 or AC97. Also check that the game’s audio settings match the virtual device.

Mouse cursor jumps or is stuck: Make sure Guest Additions/Tools are installed. If the issue persists, try disabling “Absolute Pointing Device” in the VM’s USB settings.

VM won’t start: Verify that virtualization is enabled in BIOS. Also check that your host’s RAM is sufficient—close other applications.

Game runs too fast or too slow: Some games rely on CPU speed. In the VM settings, limit the number of CPUs to 1, and consider using a tool like “CPUKiller” (for older games) to slow down the virtual CPU.

Frequently Asked Questions

Q: Can I use a 64-bit Windows VM for legacy games?
A: Yes, but many older games are 16-bit or 32-bit only. A 32-bit Windows XP VM is more compatible.

Q: Do I need a separate license for Windows in the VM?
A: Yes, you need a valid license for the Windows version you install. If you have an old retail disc, you can reuse its key.

Q: Will my game’s CD copy protection work in a VM?
A: Sometimes. Some protections fail because they detect virtual hardware. You may need a no-CD patch (if legal) or a virtual CD drive that hides itself.

Q: Can I play games that require a GPU with 3D acceleration?
A: Yes, but performance may be limited. Enable 3D acceleration in VM settings and install the latest Guest Additions. Very demanding games may not run well.

Q: How do I transfer files between host and VM?
A: Use shared folders (VirtualBox) or drag-and-drop (with Guest Additions). You can also create an ISO of files and mount it.

Q: Is it better to use DOSBox instead of a VM?
A: For DOS games, yes—DOSBox is lighter and more accurate. For Windows 95/98/XP games, a VM is better.

Related

General steps for current mainstream versions; menus can differ by device and version. See the disclaimer or report an error.

More in this bed

The whole Tech How-To bed →