Enable Internet Access to Windows XP VM (VirtualBox 5)

Microsoft Windows XP is an old operating system that has reached the end of its support from Microsoft. But if you’re still required to run it, then the best way to do so is to execute it on a virtual machine.

I completely switched to ‘Linux‘ about a year ago and personally, and starting very recently, I wanted to run Windows XP because I have to use a couple of applications that’re only designed to run in Windows, and for a couple of months I’ve been using my licensed Windows 8.1 in a virtual machine on Ubuntu 15.10 just for the sake of running those applications. But my laptop only has 4 GB of RAM and when using Windows 8.1 virtual machine (I use VirtualBox and have allocated 1.4 GB of RAM for Windows 8.1) alongside my web browser with 8-12 tabs opened in Ubuntu 15.10, it really slows things down due to the heavy memory usage.

So recently I switched to a Windows XP virtual machine to see if I can counteract this somehow. I’ve been using it for a few weeks now, and with just a 700 MB RAM, XP runs great!. Sure it’s an outdated and a bit ugly looking operating system, but I just use it for the sake of running my applications. I can’t really complain. However, being old, Windows XP also has an outdated hardware driver support. Therefore, unlike with Windows 8.1, you won’t be able to connect to the Internet without first making a couple of changes in VirtualBox. So in this article I’ll share with you what I did to enable internet access to Window XP virtual machine under VirtualBox, hoping that someone may find it useful. And even though I used Ubuntu 15.10 as the host, these instructions should work despite what operating system you’ll be utilizing to act as the host.

Windows XP virtual machine running on Ubuntu 15.10 Host (VirtualBox 5) without internet access

What we’ll be doing is simple. First we have to change the network setting of VirtualBox for the Window XP VM. And then we have to download the network adapter driver through the Host operating system, share it with the VM, and install it on the Windows XP VM. Afterwards, Windows XP will be able connect to the internet. It’s pretty simple. So let’s do it.

Step 1: First of all, if you’re already running the Window XP virtual machine, then turn it OFF. Then from the VirtualBox VM manager window, select the Windows XP VM and click on the Settings icon.

Step 2: Then click on the Network tab, and make sure you’ve selected ‘NAT‘ under Attached to: option. Then click on Advanced, and under ‘Adapter Type‘, make sure you’ve selected Intel Pro/1000 MT Desktop(...). Below that, the ‘Cable Connected‘ option should also be checked.

Enabling correct settings for enabling internet access for Windows XP VM - VirtualBox 5

Step 3: If you’ve already setup a shared folder for the Windows XP VM you can simply click on the ‘OK’ button and move on to Step 4. Otherwise, don’t click on the ‘OK’ button just yet, and click on the Shared Folders icon instead.

From the window to your right, click on the small folder icon with the green cross to add a shared folder.

Adding a shared folder to the Windows XP VM (VirtualBox 5)

You can share any folder with the virtual machine. I’ve shared my ‘Home’ folder (which is the equivalent of ‘My Documents’ in Windows) with the VM and since I should be able to write to the shared folder from the VM, I make sure to uncheck ‘Read-only‘ option and check the ‘Auto-mount‘ option so that the folder gets mounted every time the virtual machine boots up. You can also changed the name of the mounted folder as well (by default VirtualBox uses the shared folder’s name).

Step 4: Now download the Intel Pro/1000 MT Ethernet adapter driver from this page (there are two drivers. One for the 32-bit version of Windows XP, & the other is for the 64-bit version) using the Host operating system. Once the download finishes, copy it over to the shared folder.

Step 5: Now turn ON the Windows XP virtual machine. Once it finishes booting, open My Computer and you should see the shared folder mounted there. Now locate the downloaded Intel Ethernet adapter installer and install it (when unsure, My Computer showing the shared folder (Windows XP VM - VirtualBox 5)just go with the default selection of the installer).

Now open up the web browser and you should be able to access internet. If not, reboot the virtual machine. That’s it. Good luck.

Update (2019-04-11): It’s been a while since I wrote this tutorial but these steps should still work. However, even after following all these steps you still can’t connect to the internet, then try downloading Firefox for Windows XP from the host computer and then place it in the shared folder and install it from there. After that you should be able to connect to the internet as long as you are using that web browser. A especial thank you should go to Tim in the comment section for pointing this out!

P.S: (if you’ll be browsing internet often through the Windows XP VM, then replace the old IE with Firefox or Google Chrome).

88 thoughts on “Enable Internet Access to Windows XP VM (VirtualBox 5)”

  1. I downloaded the file and shared it with my virtual system. I opened the application while running Windows XP in Virtual Box. It says “This package is not supported on this system or operating system” Can you please help me

  2. I went through every step, but when I start the virtual machine and go to my computer the folder (from the host) that I selected to share with the virtual machine didn’t show up. No matter what folder I choose to share, it wouldn’t show up. What am I doing wrong? Is it because my host system is Windows 10?

    • I had the same problem, you need to install the virtualbox guest additions package.

      just go to devices – install virtualbox guest additions cd image.

      Your welcome 🙂

  3. Disregard, I think it’s sorted. I simply reinstalled the driver and it worked. What through me off was the fact that I couldn’t complete online Windows XP registration. I assumed it was lack of connectivity, until I saw Windows updates kick off.

    Thanks for the tutorial!

  4. Hi, I auto mounted the folder, made sure read only was unchecked and checked the firewall in XP. No folder is showing. what do i do now?

  5. So I followed these steps but its still not working. Every step worked fine. Installed the Intel twice and still a no go. Even rebooted the VM and still didn’t work. Any ideas? It says I’m connected but still not internet connection.

      • Maybe you figured it out by now? well for those with this issue:

        For me itshowed that XP was connected to the internet/network, but Internet Explorer with XP SP2 couldn’t connect, switched it to online mode, still nothing. So I downloaded Firefox for XP SP2 in the host system, placed it in the shared Virtual Box folder, and installed it. Internet Explorer still couldn’t connect, but Firefox could.

        While this may not work for everyone it is something to try at least, an alternate browser.

        • Thank you Tim! I too actually did figure this out a while ago if my memory is correct, but it never hit me that it could be the reason for users still complaining of not being able to connect to the internet because they’re using Internet Explorer that came with Windows XP.

  6. Hi,

    Thank you for good guide.

    I use Virtual Box with Windows XP as the guest
    and Windows10 as the host.
    I did all you advised regarding Internet connection.

    I open “Network Connection” in Control Panel and see:
    ” LAN – Local Area Connection
    Connected ”

    Then I open Firefox browser I get error message:
    ” Windows – Delayed Write Failed.
    Windows was unable to save all the data
    for the file ”

    So, actually I cannot reach Internet.
    Could you HELP to fix that ?

    Thank you in advance.


  7. Hi,
    I’ve done all of these steps and then go to install the driver on the quest and get the following error message “The procedure entry point EncodePointer could not be located in the dynamic link library KERNEL.32.dll.”
    No idea what that means or how I can fix it.

  8. I have managed to get the connection going, but when I try to open a tab or go to google, it shows the same screen as when it had no connection. I can search for google with the default search engine that comes with Internet Explorer, but can’t open any links.

  9. These instructions were perfect!! Thank you so much. I only ran into two small errors along the way, but they were easy to figure out – make sure Guest Additions are on, and use the 32 bit version of the driver.

  10. Driver will NOT install!

    The procedure entry point Encoder-Pointer could not be located in the dynamic link library KERNEL32.dll.

    I just recently did a NEW install of WinXP Pro.

    Still can’t connect to the Internet.

    The LAN says it’s connected but no Internet.

    • Hi Liz,

      It just could be that the driver that you’re trying to install isn’t compatible the version of Windows XP you’ve installed (maybe the driver requires Windows XP service pack 3 to be installed before it can proceed). Make sure to install the latest Windows XP service pack Microsoft released.

  11. Intel PRO/1000 MT Desktop (82549EM)
    both the 32bit & 64bit fail to install
    PRO2K3XP_32.exe PRO2K3XP_64.exe

    The procedure entry point EncodePointer could not be located in the dynamic link library KERNEL32.DLL

  12. thank you. at the end i solve problem with your robust instructions. ( 1 note: IE still block the internet and install chrome through shared folders and than embrace to the internet.)

  13. Thank you so much. Spent a few hours googling and trying other suggestions (reinstall as administrator etc etc) before finding your post. My mistake was thinking Bridge and selecting my adapter would work!

  14. Hello.

    I’ve been racking my brain trying to get this to work. I’ve done the steps with no problems at all, I can get to any website through Firefox, but not with IE. That’s all fine, but when I try to activate windows it says there is no connection. What’s going on?

  15. Gayan
    Please I have this same problem and I have tried all the steps above. when I open website like google, youtube and many more on IE it will ” The page can not be displayed” but if http://www.bing.com , it will open and if I click on its news page some links will open while some will not. Please help me out on what to do thank you

    • I think that’s because of the outdated IE version XP come by default. Download Chrome or Firefox (you’d probably have to do it through the host OS) and install it in XP, that should resolve the issue.

  16. Hello Gayan,

    I done all steps.
    But Still can not access internet.

    My Network Adapter: Qualcomm Atheros AR9485 Wireless Network Adapter

    What is your Network Adapter ?

  17. I installed the drivers on my VM and tried accessing a website (coolmathgames) and it said i wasnt connected. Am i missing something?

    please respond as soon as you can

  18. Same issue follow each and every steps also selected auto mount but no shared folder appeared after rebooting XP VM..
    kindly help ?

  19. Thanks for this help, but I got stuck. The shared folder is connected, fine. But after trying to install the downloaded network driver an unexpected error occurred: “The procedure entry point EncodePointer could not be located in the dynamic link library KERNEL32.dll” I tried the 32 bit and the 64 bit version (64 bit system is installed.
    No idea how to fix this …
    Any ideas? Thanks a lot for help.

    • Download Firefox for Windows XP from the host machine, save it in the shared folder and install it in the Windows XP VM. After that, as long as you stick with Firefox in Windows XP, you should be able to access Internet.

  20. I’m running VirtualBox on Win10 and trying to access the Internet via an XP VM and failing. I’ve installed the driver via the download and creating the share as you described it. I’ve also ensured the proper NIC is selected, per your instructions. (Great instructions – thanks.) But, still no Internet.

    I have bridged my VM NIC with my host wi-fi NIC per some instructions on another site.

    Are there specific IP settings I need to change on the XP VM NIC?

  21. Thanks for maintaining this discussion.
    Your tips about downloading the driver for the Intel Pro/1000 Adapter and downloading the installer for Firefox v 43 resolved the problem I was having.
    Now I can use my VirtualBox installation of WinXP to get software updates for my old Win XP software programs. (Running on my iMac OSX Yosemite).

    Best Wishes

  22. Hi, also a fix. Even with all of that information, Internet explorer can still work. At the moment, only websites with http can work…
    websites such as google won’t (bing will).
    To fix this,
    open internet explorer on the VM.
    Go into tools, and then internet options.
    Press advanced and scroll down and tick ‘Use http 1.1 through proxy connections’,
    then scroll until you see ‘use TLS 1.0’… make sure this is ticked.

    Using your method, and doing this too made internet explorer work for me 🙂

    • Thank you for the clever suggestion. Still, however, given its outdated updates, I highly recommend switching to a ‘modern’ web browser that keeps you updated for security reasons.

  23. Umm…

    Up to step 4….

    If I can access my network and it’s folder I wouldn’t have problems accessing the internet……DUH!

    Now I can’t access my home network and the internet at all.

    The ORACLE – XP pro sp2 VM is encapsulated and isolated all to itself ?

  24. The download link for the Intel Pro/1000 MT Ethernet adapter [https://downloadcenter.intel.com/download/18717/Network-Adapter-Drivers-for-Windows-XP-Final-Release] seems to be broken as of 2019-09-12 (the Intel site says “Page Not Found”), but this one [https://support.lenovo.com/de/en/downloads/ds036624] seems to be working.


Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: