This article explains how to set up a Windows XP emulator for Windows 10.
Free Windows XP Mode on Windows 10
Windows XP may have reached its end of life (EOL), but that doesn’t mean the operating system is dead. There is a way to have the best of both worlds and run a Windows XP emulator on Windows 10.
The best way to emulate Windows XP in Windows 10 is to use a virtual machine. This allows you to run a virtualized computer within your existing Windows 10 installation. In this case, this means that you are running a version of Windows XP on the same system, but separated from the Windows 10 operating system and files.
There are many great virtual machines you can use, but for this guide we will be using Oracle VM's VirtualBox. Download the latest version from the official website and install it.