How to Install Windows XP in VirtualBox on Windows 10

In this article, we will examine how to install Windows XP step by step using Oracle VM VirtualBox on PC/Laptop.

How to Install Windows XP in VirtualBox on Windows 10

How to Setup Windows XP in Oracle VM on Windows 10

Windows XP is a historical operating system. Windows 7 is the most commonly used and most dependent operating system.

Microsoft Win XP operating system is still available today. However, Microsoft has definitely stopped support for Win XP. You can reach Microsoft’s official post from here.

Depending on the performance of your physical computer in test environments, you can experiment by installing Win XP on a VM. Already large companies do not use the old operating systems. Such scenarios are only recommended in practice in test environments.

For example, using virtualization programs such as VMware Workstation, Hyper-V, VMware Fusion or VirtualBox, you can install the XP system on your physical computer and test it in your test environment.

In our previous articles, we have installed Windows XP with the other different virtualization software.

In this article, we will perform the Windows XP installation step by step using the Oracle VM VBox virtualization software on Windows 10. We will also install VBox Guest Additions for the Win machine.

NOTE: You can install Windows XP by using the Oracle VM VBox 6.0.10 version by following the steps in this article.

How to Run Windows XP in Virtual Machine

Install VirtualBox on Windows or Linux before starting the installation by referring to the following articles.

After installing VirtualBox, follow the steps for installing Win XP in Oracle VM VBox in order. You can also download the Windows XP ISO file from the button the bottom of the article.

   Step 1

To create a new virtual machine, run Oracle VM software and click the New button. After you click on the New button, the wizard for creating a virtual pc will be opened as below.

Specify the name and version of the machine you are going to install with VBox and click on the Next button.

Viewing Virtual Machines

   Step 2

For the Win XP VM, it is sufficient to specify a 1 GB (1024) RAM size. After setting the RAM value, click the Next button.

Virtual Machine Memory Size

   Step 3

To create a new hard disk for the XP operating system, select Create a virtual hard disk now and click the Create button.

Create a virtual hard disk now

   Step 4

In WinXP installation using VBox, select the hard disk type VDI (VBox Disk Image) and click Next button.

VDI (VBox Disk Image)

   Step 5

Configure your HDD for Win XP VM performance to Fixed Size.

Fixed Size

   Step 6

Storing the HDD file location on an external disk will be beneficial in terms of performance. Specify the virtual HDD file location, and then allocate a 10 GB space for the machine disk.

To create a disk for the Win XP machine, click on the Create button.

Virtual Machine File Location and Size

   Step 7

Creating virtual hard disk…

Creating virtual hard disk

   Step 8

After creating the virtual machine for Win XP, click Right Key / Settings on the virtual machine.

Windows XP VM Settings

   Step 9

Click Storage in the left pane of the Win XP virtual machine settings window, then select Empty and finally click on the CD / DVD symbol and click on Choose Virtual Optical Disk File.

Choose Virtual Optical Disk File

   Step 10

After downloading the Windows XP ISO file from the bottom of the article to your computer, select the ISO file in this step and click the Open button.

Adding Windows XP ISO File to Virtual Machine

   Step 11

Click the Start button to start the virtual computer and start the setup.

Starting Win XP Machine in VirtualBox

   Step 12

Win XP installation has started and press Enter to continue installation.

Windows XP Professional Setup

   Step 13

Press F8 to accept the Microsoft XP license agreement.

Windows XP Professional License Agreement

   Step 14

Press C = Create Partition to configure the disk you created.

C = Create Partition

   Step 15

Press Enter to create the new 10 GB area for the virtual disk as a new partition.

Creating a New Partition for XP

   Step 16

Press Enter to install on C: Partition1.

C: Partition1

   Step 17

Press Enter on the Quick option to format the virtual disk using the NTFS file system.

Format the Partition using the NTFS file system (Quick)

   Step 18

Setup is formatting the C: Partition1

Setup is formatting...

   Step 19

Setup is copying the operating system files…

Setup is copying files...

   Step 20

After copying the Win XP files, the virtual machine will restart for 15 seconds. If you do not want to wait for 15 seconds, you can press the Enter button to immediately execute the action.

Your Computer will Reboot in 7 Seconds

   Step 21

Microsoft XP installation on Oracle VM VirtualBox has started.

Installing Devices

   Step 22

Configure your region and language settings and click on the Next button.

Regional and Language Options

   Step 23

Type your user name and click on the Next button.

Personalize Your Software

   Step 24

Specify a computer name for the WinXP VM, and then click Next.

Computer Name and Administrator Password

   Step 25

Configure the date and time settings and click Next to continue with the installation.

Data and Time Settings

   Step 26

Installation will be completed within minutes depending on the performance of your pc.

Installing Network

   Step 27

For Windows XP network settings, select Typical Settings and click Next.

Networking Settings

   Step 28

If there is no Domain Controller in your network environment, make a WORKGROUP member as shown in the following image. Click on the Next button.

Workgroup or Computer Domain

   Step 29

Windows XP installation is almost complete!

Saving Settings

   Step 30

Click the OK button to automatically configure the screen resolution.

Display Settings

   Step 31

Opening Windows XP virtual machine…

Please Wait

   Step 32

To turn on automatic updates of the Windows XP operating system, select Help protect my PC by turning on Automatic updates now and click the Next button.

Help protect my PC by turning on Automatic Updates now

   Step 33

Click on the Skip button to configure the Internet connection settings later.

Checking your Internet connectivity

   Step 34

To bypass the operating system activation, select No, not at this time, and click Next.

Ready to register with Microsoft?

   Step 35

Retype your username and click on the Next button.

Who will use this computer?

   Step 36

VirtualBox XP installation has completed and finally click Finish button.

Thank you!

   Step 37

Starting MS Windows XP virtual machine…

Windows XP Welcome

   Step 38

The desktop of WinXP operating system has been launched. Now let’s install VirtualBox Guest Additions.

Windows XP Desktop

How to Install Guest Additions in Windows XP

By installing Guest Additions to WinXP virtual machine, you can share files between the virtual machine and the physical computer and also use the virtual machine as Full Screen.

Follow the steps below to install Guest Additions to virtual machine.

   Step 1

From the virtual machine menu, click Devices and then click Insert Guest Additions CD image.

Insert Guest Additions CD image

   Step 2

Click the Next button in the guest additions installation window.

Oracle VM VirtualBox Guest Additions

   Step 3

Leave the installation location by default and click Next.

Choose Install Location

   Step 4

Click the Install button to start installing Guest Additions to WinXP virtual machine.

Choose Components

   Step 5

After installing the guest machine additions, restart the virtual computer.

Reboot Now

   Step 6

As you can see in the image below, you can see that the process is successful when the Win XP virtual machine running on VirtualBox is resized.

Virtual Machine Adjustment

   Step 7

You can also use the Microsoft virtual machine as a full screen!

System Properties

How to Setup Win XP Step by Step ⇒ Video

To install Windows XP on a PC using Oracle VM, you can watch the video below and also subscribe to our YouTube channel to support us!

   Final Word

In this article, we have performed the Microsoft XP professional installation step by step using the Oracle VM VBox virtualization program on the Windows 10 operating system. We have also installed the VirtualBox Guest Additions for the machine. Thanks for following us!

   Related Articles

How to Install Windows 10 in Oracle Software
♦ How to Install Windows 8.1 in VirtualBox on Windows 10
♦ How to Install Windows Vista in VirtualBox Software on Windows 10
♦ How to Install Windows 7 in VirtualBox Software on Windows 10
♦ How to Upgrade VirtualBox on Windows 10

   Download Windows XP ISO for VirtualBox

You can download the Windows XP Professional operating system ISO file used in this article by clicking the following button…

Download ISO File


  1. Avatar for Junaid Junaid 1 July 2018

    It’s asking me to enter a product key. I tried some product keys from other sources but it’s not accepting any. Please help.

    • Avatar for Rob Rob 6 September 2018

      use this, I used it and it works H689T-BFM2F-R6GF8-9WPYM-B6378

      • Avatar for Scott Scott 6 March 2019

        no luck with that one. any other suggestions?

        • Avatar for Tyler Tyler 12 October 2019

          Use the one that comes in the .rar file. Once, unzipped it has the .iso and a text file with the product key

      • Avatar for DumitruStepa DumitruStepa 22 November 2019

        Works! Thanks bud!

      • Avatar for bzderek bzderek 26 January 2021

        Thank You!

  2. Avatar for Richard Younie Richard Younie 5 June 2019

    A very thorough procedure. However at step 24 no Admin pwd was requested and at step 25, a key was requested. I tried a key I have but not valid. Unable to get further.

  3. Avatar for Richard Younie Richard Younie 5 June 2019

    I used the key from Rob above and it worked OK.

  4. Avatar for Pokedude1110 Pokedude1110 7 July 2019

    Mine says there is a setting in system that’s invalid, but I don’t know what

  5. Avatar for Wesley Price Wesley Price 22 July 2019

    Followed these instructions and it worked great. Now my only problem is trying to get the virtual system to recognize my network connection. I need to download software from the web and I have network activations that I need to access. Thank you.

  6. Avatar for Stranger Stranger 19 October 2019

    Product Key ???

    • Avatar for John John 23 January 2020

      It’s in the zip file

  7. Avatar for DumitruStepa DumitruStepa 22 November 2019

    Thanks, it works!

  8. Avatar for Jeffrey Epstein Jeffrey Epstein 10 December 2019

    Is this 64-bit or 32-bit?

  9. Avatar for Jimmy Jimmy 26 January 2020

    I’m trying to load XP from an original licensed disc I have, but when I click ‘start’, the message that comes up is “no bootable media found”. This is after I went to ‘storage’ and selected host drive D: (optical drive) and checked ‘passthrough’.

    • Avatar for Tolga Bagci Tolga Bagci 11 February 2020

      Hello Jimmy, I apologize for the late reply.

      I think there is a problem with your Windows XP disk media. It should work smoothly under normal conditions. Or there may be a problem with your computer’s CD/DVD RW device. There are many problems with these devices in the latest Builds of Windows 10.

      I would like to suggest you a way to try, with the UltraISO program, convert the Windows XP installation media to ISO and add it to the virtual machine.

  10. Avatar for Spiff Spiff 12 February 2020

    Howdy, Excellent guide! I have a problem installing the VirtualBox Guest Additions though, it keeps failing.

    The driver is installed, and the installers gives a message that a reboot is required. However, then a messages comes up saying “Execution returned exit code: 0”, and nothing further happens, no reboot is prompted. Then Windows XP considers the installation has not passed the Win XP Compatibility testing, and I can continue or stop the installation (obviously continue does not work).

    I can’t seem to find a solution for this, and I think I need the Guest Additions to fully use Win XP, right?

    • Avatar for Spiff Spiff 12 February 2020

      Edit: never mind, I had to click “Continue Installation” multiple times. Apologies!

  11. Avatar for Stephanie Stephanie 28 May 2020

    Hey I am having issues on step 13 where I need to click F8. I try to do ctrl f8, shift f8, ctrl shift f8, alt f8, you name it and nothing is happening. How do I enable my f8 key for the set up?

    • Avatar for Tolga Bagci Tolga Bagci 29 May 2020

      Turn off the virtual machine, click Devices/USB, and then choose Keyboard. Before doing this, try solving the problem by pressing FN + F8 in the license window.

      Some Microsoft keyboards have an F lock key, if so, check it out.

  12. Avatar for Gaurav Gaurav 1 July 2020

    Hi, Thanks for the detailed step by step guide, have successfully installed XP.

    Only issue is how do I get the V-Box XP to access internet.

  13. Avatar for John K John K 21 July 2020

    Need product key. It is not in the .rar file (unpzipped) or the the ISO file (unzipped). Tried Rob’s key, doesn’t work.

  14. Avatar for Jacky Jacky 30 August 2020

    I don’t know: but the ISO file don’t wanna open.


  15. Avatar for Nelson Kurian Nelson Kurian 10 September 2020

    Any suggestions for installing device drivers ?

  16. Avatar for Oliver Burrows Oliver Burrows 25 September 2020

    With VirtualBox 5.2.44 and Windows XP SP3, even though the host BIOS supports a 1.2MB floppy disk drive, adding the Host Drive A yields “The disk media is not recognized. It may not be formatted” error. In addition, when you look at the properties for the drive, it says it is a 3.5 inch drive. Deleting and re-adding the drive through Devices has no effect.

  17. Avatar for Rcik Rcik 17 November 2020

    I can’t find the download xp iso button…

  18. Avatar for Neville Hardy Neville Hardy 2 December 2020

    Excellent installation instructions, thank you.
    My purpose in creating a virtual XP on my new Windows 10 computer, was to use a program that worked will on my old XP computer. However, when I loaded the program and tried SET UP, I got a message “THIS APP CAN’T RUN ON YOUR PC – check with the software publisher”. This old program was written for Windows 98 and was never upgraded . Any suggestions?

  19. Avatar for David Clark David Clark 6 January 2021

    I reached the point where you load Guest Additions, and then things went wrong. The installation of Guest Additions hung up (stopped) before completing, and I have no clue why. What are some suggestions on how to fix that? The process halted on the line just below the line that reads “Installing video driver . . .”

    I have set up a virtual drive on another computer with an earlier version of VirtualBox, so this is not my first rodeo.


Add a Comment

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