How to Install Windows XP in VirtualBox 7.0 on Windows 11 & 10

Do you want to run Windows XP SP1 x64 Professional using Oracle VM VirtualBox 7.0 on your Windows 11 & 10 operating system? In this article, I will tell you how to run an old operating system on a virtual machine. Windows XP may still be valuable for specific applications. I will also emphasize the importance of security and compatibility when running old OSes.

First of all, as we know, virtualization provides a secure and compatible environment. Thus, you must meet the hardware requirements to run Windows XP effectively. For this reason, I will also show you how to configure a more accurate and proper virtual machine. As a result, you can create a computing environment with our professional guide.

Installing Windows XP on VirtualBox

How to Set Up Windows XP x64 SP1 Pro on Windows 10 / 11 using Oracle VM VirtualBox 7

On October 25, 2001, Microsoft developed and launched the Windows XP operating system, emphasizing facilitating its utilization across various devices. These devices form home and business computers, laptops, desktops, media devices, and tablets.

The most significant difference of this operating system type, whose first code name is Whistler, is that it supports 32-bit and 64-bit architectures.

By prioritizing performance, stability, and security, Windows XP delivers an optimized user experience. It is the first operating system to have product activation methods to prevent software piracy, which has threatened software developers.

Key features of Windows XP include Internet Explorer 6, Windows Media Player, downgrade/rollback device drivers, remote assistant, advanced firewall, system restore, wireless connectivity, application compatibility mode, and CD Burner.

Although Microsoft ended support for the XP system on April 8, 2014, many people still use this system today. This can create a severe vulnerability to both the local and Internet networks. Hence, we advise against installing Windows XP on your host computer instead of Windows 10 or 11.

However, users who want to use and experience Windows XP or play old games can install it on virtual machines. Thus, they can choose a safer way to use XP on an up-to-date operating system.

Before creating a virtual machine on your host, your processor must support the virtualization feature. Without this support, setting up a virtual computer on your host would not be possible. You can refer to this article to inspect the virtualization feature of your CPU.

How to Create a New Virtual Machine for Windows XP

After installing the Oracle VM VirtualBox virtualization software on your host operating system, you must make the VM settings you will create correctly to use Windows XP without any problems. Creating a VM that matches the hardware capacity of your physical host computer is essential in terms of performance and compatibility.

Step 1

Open your Oracle VirtualBox program and open the virtual machine creation wizard from the tool menu on the program’s homepage or the New shortcut.

Creating a New Virtual Machine

Step 2

When the virtual machine preparation window appears, the initial step is to enter the name of the operating system you intend to install into the designated Name field. After entering Windows XP in the Name field, the values in the Type and Version fields will be automatically adjusted according to your typing system.

If you see the 32-bit value in the Version field after typing Windows XP and you will install 64-bit, configure this value manually.

You can change the position where you install the virtual machine in the Folder section. Suppose you desire to install the operating system on an external SSD or HDD storage device. In this case, you can pick “Other” from the pop-up window and select the installation location from your host PC.

Select Other from the ISO Image menu to add a Windows XP ISO file to the virtual pc.

Selecting the Windows Operating System Type

Step 3

Select the Windows XP Professional 64 Bit SP1 image file you downloaded to your computer from the table below the article and open it.

Adding a Windows XP ISO File to a Virtual Machine

Step 4

In the 7.x versions of VirtualBox, you can see the unattended installation option as the user interface has changed. Using this option, you can prepare a system with preconfigured usernames or product key settings.

If you prefer to install the system manually, select Skip Unattended Installation and click Next.

Skip Unattended System Setup

Step 5

Configure a RAM size of 4096 MB (4 GB) for Windows XP as the base memory size. Suppose your host computer possesses a substantial amount of RAM. In that case, it is proposed to configure this value to a minimum of 4 GB or 8 GB.

In addition, configure the number of virtual processors as 4 so you can use your virtual computer more efficiently.

Configuring the Memory Size of the Virtual Machine

Step 6

Since you will install Windows XP from scratch in the virtual HDD settings, you must select the Create a Virtual Hard Disk Now option. If you have installed an XP virtual disk, you must like the Add an existing hard disk file option.

In VirtualBox 6.x versions, you can see the old settings on the virtual disk screen. For a sample, if you do not use a VM installed on VirtualBox with other virtualization software, choose VDI (VirtualBox Disk Image). You can use the VDI disk type in other software, but Oracle always recommends using the VDI type.

If you want to use as much disk space as the capacity of the virtual disk file on the disk where you will install the virtual machine, you can choose Fixed Size. Fixed Size can improve the performance of the VM, but it unnecessarily fills up the host disk space.

Therefore, by selecting Dynamically Allocated, only the disk space needed by the VM will be automatically allocated over the host disk. Do not change the path in File Location and Size to save the virtual disk to the installation location you set in the first step of the VM wizard.

Regarding Windows XP, you can modify the virtual disk extent to a minimum of 30 GB. However, it is advisable to determine the disk size based on your specific work requirements.

Creating a New 30GB Virtual Disk

Step 7

After adjusting the hardware settings of the Windows XP guest machine, check again and close the VM wizard.

Turning off VM's Summary Hardware Information

Step 8

Click Settings to configure the hardware settings of the guest operating system better.

Opening the Guest Machine's Settings

Step 9

To permit file sharing between the host and the virtual machine in the settings window of the VM, configure the Shared Clipboard and Drag and Drop features as Bidirectional in the General / Advanced tab.

So you can share files or copy/paste text from the host to the VM and from the VM to the host.

Enabling Shared Clipboard and Drag and Drop Features

Step 10

To install Windows XP on the virtual pc, select the Optical device as the direct boot device in the Boot Order index in the System / Motherboard settings to add the ISO file to the optical drive.

Changing the Boot Sequence

Step 11

If you plan to use virtualization software on your virtual computer, enable the Nested VT-x/AMD-V feature from the processor device.

Nested VT-x/AMD-V

Step 12

Enable Nested Paging for better memory management between your host and VM.

In certain conditions, it may be necessary to manually choose the virtualization interface within the Acceleration tab located in the virtual PC system settings.

The Paravirtualization Interface is in Default mode by default. The default mode will automatically select a virtualization engine according to the installed system type. Still, since no VTx interface is set for XP, you can change the value here to Hyper-V.

Nested Paging

Step 13

Enable 3D acceleration in the Display / Screen settings of the virtual machine and configure the Video Memory size to 128 MB.

Note: Please take note that although you enable 3D graphics acceleration on Windows XP in VirtualBox version 6.1, the Direct3D feature is regrettably no longer supported. If you wish to utilize Direct3D support, installing one of the 6.0 versions of VirtualBox on your system is advised.

Enabling 3D Graphics Acceleration

Step 14

By default, the Host I/O Cache feature for the IDE controller is enabled in the storage volumes of the virtual PC. If the Host I/O cache is not allowed, enable it for virtual disk performance.

Using Host I/O Cache

Step 15

Check the Solid-State Drive (SSD) option to configure the WindowsXP.vdi virtual disk file as an IDE SSD.

Configuring VDI Disk as SSD

Step 16

After preparing your Virtual PC, click the Start button to proceed to the steps of installing Windows XP on VirtualBox.

Starting the Windows XP VM

How to Install Windows XP in VirtualBox

After preparing the Windows XP virtual computer, you need to install Windows using the system’s ISO image. After running the VM with the image file as the startup disk, when the setup wizard opens, you should install it as if installing the Windows platform on a real computer.

Step 1

At the Windows XP Professional Setup screen, you must press Enter to begin installing Windows immediately. Otherwise, press F3 to exit the wizard or R to repair your system.

Windows XP Professional Setup

Step 2

You must press Page Down to read the full text of the Windows XP license agreement in the setup wizard. After reading the license agreement, press the F8 key to accept and continue the installation.

Accepting the Windows License Agreement

Step 3

Press the C key to configure the unallocated disk space. You can also press Enter to have the wizard automatically organize the disk space and format the system disk.

Creating a New Partition

Step 4

To make a new partition, you need to edit the disk space to be allocated after clicking C. You should use the entire disk space, as virtual machines generally use smaller disk space.

For example, if you configure the virtual disk size to 100 GB, allocating 20 GB for system setup and 80 GB for backup may make more sense.

Create Disk Space

Step 5

Press Enter to start the Windows XP installation on the new partition you created.

Installing Windows on the Created Partition

Step 6

Quickly format the virtual disk of the guest machine using the NTFS file system.

Formatting a Virtual Disk Using the NTFS File System

Step 7

Wait while the setup wizard formats your virtual disk.

Formatting Disk

Step 8

Once the virtual disk has been formatted to facilitate file copying, the XP system files will commence their transfer onto the disk.

Setup Wizard Copying Windows Files

Step 9

After copying the system files, your virtual computer will restart automatically in 15 seconds. You can press Enter to reboot your virtual system immediately. After your guest machine restarts, the installation will continue.

Restarting the Virtual Computer

Step 10

Configure the region and language options of Windows XP according to your country.

Configuring Regional and Language Settings

Step 11

Type a name for the user account you will use in your virtual system and click Next.

Typing a Username

Step 12

Enter a Windows XP Pro product key you have and click Next.

Entering the Windows XP Product Key

Step 13

If you use your Windows guest machine in a network environment with multiple computers, ensure the computer name differs from other devices.

Type the PC name you want to use in the Computer Name field and create a new password for the Administrator account with full authority in your virtual system, or leave the relevant fields blank to avoid making a password and click Next.

Typing a Computer Name

Step 14

Configure your virtual computer’s date, time, and time zone settings according to your location and click Next.

Date and Time Settings

Step 15

To use your VM in your physical network environment in the Networking Settings window, tick Custom Settings and make the relevant settings. You can also continue the installation by selecting Typical Settings in general.

Typical Network Settings

Step 16

According to your network structure, if you make the virtual machine a member of a Domain environment that provides an Active Directory service, you must select the Yes option and type your Domain information.

To use your VM for personal use without subscribing to a Domain environment, select WORKGROUP and click Next.

WORKGROUP

Step 17

Wait while Windows XP is installed on the guest machine.

Loading Windows

Step 18

Wait while the Microsoft Windows XP x64 operating system boots up.

Microsoft Windows XP x64 Edition

Step 19

After the Windows XP system files are copied, your system will reboot, and your desktop environment will be ready.

Applying Computer Settings

Step 20

Right-click on My Computer, then click System Properties from the options that appear and check the system information.

Viewing System Properties

How to Install Guest Additions in Windows XP

After installing Windows XP within the virtual machine, it is essential to install Guest Additions to unlock various functionalities. These include achieving full-screen resolution, facilitating file transfer between the host and the VM, and enabling the utilization of the host computer’s hardware within the VM.

Step 1

To view the Computer Management window, right-click the My Computer symbol and select Manage. Once the window appears, navigate to Device Manager and review the drivers that are not installed on your system.

Viewing Device Manager

Step 2

Under normal circumstances, when installing Guest Additions on Windows XP, you will encounter an Unsigned Driver warning. This is not an error, but the driver for some devices cannot be fully installed.

To overcome the barrier imposed by unsigned drivers, you must modify a setting in the Group Policy settings. To continue, access the Start menu, enter “gpedit.msc” in the designated text box, and proceed by clicking OK.

When the Group Policy Object Editor is accessed, go to Windows Settings > Security Settings > Local Policies > Security Options and click “Devices: Unsigned driver installation behavior” from the options under Security Options.

Change the Devices: Unsigned driver installation behavior setting to Silently Succeed and restart your virtual computer after clicking OK.

Unsigned Driver Installation Behavior

Step 3

After your guest system is turned on, click Devices / Insert Guest Additions CD Image to install the guest add-ons software.

Installing Guest Additions

Step 4

When the Guest Additions installation wizard starts, click Next to continue.

Guest Additions Setup Wizard

Step 5

Continue without changing the installation location of the guest add-on software.

Guest Additions Installation Location

Step 6

You can see that Direct3D Support is not enabled in the Choose Components window of the setup wizard. Direct3D support for older operating systems has been discontinued in version 6.1 of VirtualBox. Therefore, installing the 6.0 versions of VirtualBox is imperative to utilize this feature.

Selecting Components

Step 7

After installing the tools of your guest system, restart your system.

Restarting the Virtual Computer

Step 8

After restarting your VM, view Device Manager again; you can see all drivers installed successfully.

Checking Device Manager Again

Step 9

You can use your virtual machine in full-screen resolution or scaled mode with the options in the View tab from the tool menu of VirtualBox.

Controlling the Full Screen Resolution

Step 10

When employing the drag-and-drop method, you will observe the successful transfer of a text document from the desktop of your host computer to your virtual computer.

Drag and Drop File Copying Between Host and VM

How to Configure Shared Folder

Unfortunately, folder copying to the virtual machine fails on old systems. Before copying a folder, you must archive it using Winrar or 7-Zip and then copy it to the VM.

Since it takes time to archive a folder with larger file sizes, you can transfer data faster by creating a public folder for your VM on your host computer and configuring the Shared Folder.

Step 1

Click Devices / Shared Folders / Shared Folders Settings on your Windows XP virtual PC.

Creating a Shared Folder

Step 2

Click the green + button in Shared Folders settings and open the Add Share window. Specify the folder you created on your host PC in the Folder Path section.

Check the Auto-Mount and Make Permanent options and click OK to add the shared folder as a network drive.

Choosing the Shared Folder on the Host

Step 3

Upon opening the My Computer window, you will notice the inclusion of the Shared Folder as a network drive.

After viewing the network connections, switch to the Folder structure and click Entire Network / VirtualBox Shared Folders on the left. You can see that you can approach the folder on the host over the network.

Checking the Shared Folder Network Drive on My Computer

Step 4

Create a folder in the shared folder on your host system and check that this folder is created simultaneously in your VM.

Checking Share Folder on VM with Host

How to Check Internet Connection in Windows XP VM

Network and Internet connection settings are automatically configured after installing a virtual system with Oracle VM VirtualBox or other virtualization software. If the services of your virtualization software become corrupted, you may encounter difficulties in accessing the Internet.

Network settings of Windows XP guest machines running on Oracle VM are configured with a NAT coupler by default, and a different block is created than the IP block you use in your existing network.

Step 1

Open Run and execute the CMD command to check if the Internet connection is working smoothly in your virtual system. After opening the CMD prompt, ping the Google servers using the ping 8.8.8.8 command.

Ping Google Servers using CMD

Step 2

Once the ping test is successful, visit the Google homepage through the Internet Explorer browser to verify the health of your Internet connection.

Visiting the Google Search Engine Home Page

How to Enable and Install USB 3.0 Driver

By default, enabling USB 3.0 support on a Windows XP virtual machine is not typically feasible. However, you can resolve this issue by substituting the USB controller. While USB 2.0 devices can be operated in the virtual machine without problems, enabling 3.0 or 3.1 supports faster file transfers using the more advanced technology.

Step 1

Before enabling USB 3.0 on your Windows XP guest machine, it is recommended to download the RENESAS Driver from the table located at the bottom of the article. Once downloaded, copy the driver to your system and proceed to double-click the setup file to initiate the wizard.

Installing the RENESAS USB 3.0 Driver

Step 2

Click Next in the Renesas Electronics USB 3.0 Host Controller Driver wizard.

Renesas USB 3.0 Driver

Step 3

Accept the license agreement of the Renesas Electronics USB driver software and click Next.

Accepting the USB Drive's License Agreement

Step 4

Click the Install button to build the USB 3.0 driver.

Starting Driver Installation

Step 5

After installing the USB 3.0 driver on Windows XP, close the wizard by clicking Finish.

Closing the USB Driver Wizard

Step 6

Close the Oracle VM VirtualBox on your host PC’s system, go to its installed location, right-click, and click Open in Terminal.

./VBoxManage setextradata 'Windows XP' VBoxInternal/Devices/usb-xhci/0/Config/ChipType uPD720201

Changing USB 3.0 Controller Type

Step 7

Open the Oracle program, select USB 3.0 (xHCI) Controller from the USB controller types, and click OK.

USB 3.0 (xHCI) Controller

Step 8

Open the Oracle program again, and after running your virtual PC, open Device Manager and check the Universal Serial Bus (USB) Controller device.

Checking USB 3.0 Driver in Device Manager

Step 9

Connect your flash stick to one of the USB 3.0 ports on your computer and establish a folder called “Backup” inside it as an illustrative instance.

Creating a Folder in a USB Flash Drive

Step 10

After inserting your flash memory, click Devices / USB / Kingston DataTraveler 3.0 on the virtual machine.

Adding a USB 3.0 Supported Flash Memory to a Virtual Machine

Step 11

After adding your flash memory to your virtual PC, Mass Storage drivers will be installed automatically. When you view My Computer, you can see your KINGSTON USB stick or any other brand.

Upon inspecting the Device Manager, you will find the USB 3.0 memory under Disk Drives.

Viewing USB Device in Device Manager

How to Change Video Memory to 256 MB

A maximum of 128 MB of GPU memory can be set for Windows XP in Oracle software, but there is a simple way to increase this Size.

Step 1

First, execute the dxdiag command in the Run window on your virtual machine and click Yes in the DirectX Diagnostic Tool window.

DirectX Tool

Step 2

Click the Display tab on DirectX Diagnostic Tools, check the Total Memory size, and check that the GPU memory is 128 MB.

Checking Total Video Memory of Graphics Device

Step 3

Close your virtual computer and VirtualBox program, open PowerShell again in the location where VirtualBox is installed, and execute the following command.

./VBoxManage modifyvm 'Windows XP' --vram 256

Setting 256 MB of VRAM with VBoxManage

Step 4

Run Oracle VM VirtualBox, and after checking your VM’s settings, the Display / Screen / Video Memory size is 256 MB, and you will see that the operation was successful.

Configuring the Memory of the Virtual GPU Device of Windows XP to 256 MB

Step 5

When you run your Windows XP guest machine and open the dxdiag tool again, you can see that the total graphics memory size in the Display tab is 256 MB.

Checking GPU Memory

How to Upgrade Windows XP SP1 to SP2

If you desire to upgrade to SP2 on the guest appliance after installing the Service Pack 1 (SP1) edition of Windows XP, obtain the ISO image from the table at the base of the article and proceed with the following steps.

Step 1

First, to view the properties of the XP system installed on your VM, right-click My Computer, open Properties, and check the Service Pack version.

Viewing System Properties

Step 2

To add the SP2 ISO file to the VM, click Devices / Optical Drivers, choose a disk file, select the Installer image you downloaded to your computer, and click Open.

Adding SP2 ISO Image to Virtual PC

Step 3

When the Readme HTML page opens automatically on your virtual system, close it.

Closing the Readme HTML Page

Step 4

Open My Computer, right-click / Open on the CD drive.

Opening the Contents of the SP2 ISO File

Step 5

Double-click the SRSP2 command script in the Service Pack 2 CD image and start the installation. Click Next in the Windows x64 Service Pack 2 installation wizard.

Starting Service Pack 2 (SP2) Installation

Step 6

Accept the SP2 license agreement and click Next. If you want to downgrade Windows XP from SP2 to SP1 later, note the location in the Uninstall Folder. Continue with Next to continue SP2 installation.

Accepting the License Agreement

Step 7

Wait while your virtual Windows XP system updates to SP2. When the SP2 setup wizard is complete, click Finish to restart your virtual system.

Location of SP2 Uninstall Folder

Step 8

Upon revisiting the system properties, you will notice that Service Pack 2 (SP2) has been effectively installed.

Checking System Properties Again

Video

Installing Old Versions

VirtualBox VersionYouTube VideoSlide
5WatchView
6WatchView
7 (NEW)Watch

Windows XP ISO ve USB Driver Download

FileLinks
Renesas USB 3.0 DriverDownload
Windows XP Pro x64 SP1 ISO + SP2 (EN)Download

Conclusion

As a result, you can run a Windows XP SP1 x64 Professional virtual machine with Oracle VM VirtualBox 7.0. You can install XP and enjoy its advantages with the steps I have outlined in this article. However, you can maintain the security and compatibility of your current modern operating system.

It would be best if you also prioritized security when using outdated operating systems. Virtualization offers a controlled solution for interacting with old software. As a result, this method is effective for experiencing old OSes in a secure environment.

36 Comments

Add a Comment

Your email address will not be published. Required fields are marked *