Ways to Activate Windows XP

Contents

Introduction
How to Tell if WinXP Is Activated
The WPA.DBL Activation Method
The Registry Edit Method
The OEM Key Method
The xp_activate32.exe Method
When You Can’t Get into Windows XP
Other Methods

.

Introduction

I had just installed Windows XP x32 SP3 in a VirtualBox virtual machine (VM), so as to run WinXP on Linux. Now I had to activate it. This turned out to be more complicated than I had expected.

It took me a couple of tries to develop a WinXP VM that worked the way I wanted. The first time, WinXP became activated by magic. Not really, but I was not quite sure what I had done to activate it. It could have been just the official method; it may have been something else. I was not entirely sure. But after that first time, no magic came to my assistance. At some point, the activation window informed me that I had used this key too many times. It seemed that was incorrect, but I didn’t want to argue; I just wanted a solution.

I intended to choose the phone activation alternative. In fact, I used Skype to dial that number. But this was my first time using Skype on Linux, so this was the time to discover that the headset I used for Skype was not being recognized by Linux. That was going to be a whole separate issue to troubleshoot. I could have used another phone to activate, of course, but then I realized that I might find myself having to activate again, one or more times, until I got this WinXP VM configured the way I liked. In addition, I wanted to avoid going online if possible. I was using this WinXP VM to virtualize Windows applications; that called for a system with a bare minimum of processes running; therefore I didn’t have antivirus software installed.

So: was there another way of activating, other than the usual approach of letting the activator go online, or calling a number for Microsoft’s permission to install? A search led, in fact, to several alternate methods. I decided to explore those, and this post was born.

How to Tell if WinXP Is Activated

The first question was whether I even needed to activate. I had noticed that WinXP would put a keyring icon in the system tray (at the lower right corner of the screen) and also at various places in the Start Menu, such as at the top of the Start > All Programs list. But it seemed that that icon would disappear, sometimes, after even an unsuccessful activation effort.

Another approach was to go into Start > All Programs > Accessories > System Tools > System Information > System Summary > look for Activation Status. This would supposedly notify the user to activate the system if needed; but someone said this indication might not always be there, even if the system was not yet activated. One time, I noticed that Start > Control Panel > System > General tab said that Windows was registered to me, and yet Start > All Programs still included an Activate Windows icon — but when I clicked on it, it said Windows was already activated. (Confusing!) Another possibility was to notice whether the system tray (at the lower right corner of the screen) still dispayed the activation keys icon.

[Note: WordPress keeps deleting backslashes in my posts. This problem has been going on for years. It is baffling. I keep adding them back. If, as in the following paragraph, you encounter a long string of characters that seems like it should be split up with backslashes, you’re right: it should. You and I know that. WordPress is still trying to understand.]

A different approach called for Start > Run > %systemroot%\system32\oobe/msoobe.exe /a. If you were already in %systemroot%\system32 (which would usually be the same as C:\Windows\system32), that command could be simply oobe/msoobe /a). That command would usually trigger the activation window. WikiHow said that, if I had followed the foregoing steps correctly, I would now see this message:

Activate Windows

Windows Product Activation

Windows is already activated. Click OK to exit.

I saw that sometimes; I didn’t see it at other times. It that didn’t appear, hopefully one of the other methods just described would verify activation.

The WPA.DBL Activation Method

The alternate activation method I tried first was mentioned by Lifehacker and detailed by Online Tech Tips. The latter explained that I could activate WinXP simply by copying C:\Windows\System32\wpa.dbl from the previous installation of Windows XP on this same computer. They warned that it would not work on a different machine. I had already activated WinXP on a previous VirtualBox VM, identical in all regards except that, this time, I set the virtual hard disk drive (HDD) to be 20GB rather than 10GB. I was not sure whether that difference would make this appear to be a different machine.

In this method, I needed to boot into Safe Mode. Normally, I would do that by hitting F8 as the computer started to boot. But in the case of this VM, the advice was rather to boot into Normal Mode and then go into Start > Run > msconfig > BOOT.INI tab > check /SAFEBOOT > OK > Restart. Once I was in Safe Mode, Online Tech Tips said, I needed to use Windows Explorer to go into C:\Windows\System32 > rename wpa.dbl to be wpa.old > copy in the wpa.dbl from my previous installation. Then I had to go back to the BOOT.INI tab and uncheck /SAFEBOOT > OK > Restart. That put me back in Normal Mode. That method did not work. Upon reboot, I got a message:

Windows Product Activation

This copy of Windows must be activated with Microsoft before you can log on. Do you want to activate Windows now?

Normally, I would have 30 days after installing WinXP before activation would be compelled. In this case, it seemed that I had triggered this message by trying to activate in the normal way and getting that message (above) that I had used this product key too many times. When I clicked No at this point, I expected to be locked out of the system. But instead, I was allowed to proceed into WinXP as usual.

I guessed that this method had not worked, for me, because of that change from a 10GB to 20GB system drive in the VM. It was also possible that my previous activation efforts had somehow muddied the waters.

Incidentally, use of msconfig had now resulted in a System Configuration Utility message, each time I rebooted, informing me that I had to go back into msconfig > General tab > select Normal Startup > OK > Restart.

The Registry Edit Method

Next on the list, we had a method explained by WikiHow, which offered these remarks:

You can bypass the activation process by editing the Windows registry and using an OEM key, though this technically violates your license agreement with Microsoft. Only use the following if you are unable to activate and you have a legally-purchased copy of Windows XP.

Although WikiHow described the process differently, I interpreted their advice as encouraging me to begin with this registry edit file:

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\WPAEvents]
"OOBETimer"=hex:ff,d5,71,d6,8b,6a,8d,6f,d5,33,93,fd
; Original setting:
; "OOBETimer"=hex:eb,54,8c,c6,0e,45,17,59,55,5b,f4,30

I pasted those lines into Notepad, named the file WinXPActivation.reg, and ran it in WinXP. It indicated that the registry had been modified successfully, and when I ran Start > Run > regedit, I could see those new values at the registry location stated in that file. Now, WikiHow said, at that same registry address, I had to right-click on the WPAEvents folder > Permissions > select SYSTEM > check the Deny Full Control box > OK > Yes > exit regedit. Next, I had to enter the oobe command and then verify, as indicated above.

The OEM Key Method

That same WikiHow article said that, if the Registry Key Method did not work for me, I could proceed with another approach that might. This method started where the previous one left off. If the oobe\msoobe /a command didn’t give me “Windows is already activated,” then it would presumably give me the usual activation options: activate over the Internet now, activate by telephone now, or remind me to activate every few days.

The advice here was to choose “Yes, I want to telephone a customer service representative to activate Windows.” Next, apparently there would be an option to Change Product Key. At that point, the user would enter this product key: THMPV 77D6F 94376 8HGKG VRDRQ. A search indicated that a lot of people were familiar with that key as an alternative for activating Windows XP. After entering that key, WikiHow said the user should click the Update button and then select Remind Me Later. Then restart the computer and go to Start > Run > %system. I had no idea how that sequence worked, and I did not test it, but that was the end of the WikiHow advice. (Note: this advice does not appear in the updated version of the WikiHow page, but it does appear in an archived version.)

The xp_activate32.exe Method

This section is a 2023 update to this 2016 post. In April 2023, multiple sites (e.g., Ars Technica, The Verge) reported on a post at TinyApps (2023) that, in turn, reported on a post (June 2, 2023 archive) in the Windows XP subreddit.

The gist of the story was that, according to Tom’s Hardware (Tyson, 2023), someone developed an offline (i.e., relatively safe) activation tool that did not require any contact with Microsoft (which turned off its WinXP activation servers years ago). Apparently the source code for the tool was originally posted at MyDigitalLife, but had reportedly since been deleted. The Internet Archive seemed to offer downloadable source code for this xp_activate32.exe tool, but the sources just cited did not seem to provide a direct link to a user-friendly download. A Github thread discussed security and other issues. 

The Tom’s Hardware article noted, incidentally, that users could now ask ChatGPT for activation keys for older versions (e.g., Win98). For WinXP, it presently appeared that the registry method of activation (above) might still be the most reliable solution.

When You Can’t Get into Windows XP

The other methods discussed in this post required the user to use tools available inside a working WinXP installation. Later, however, I encountered a situation where I was not able to get past the login screen. This happened with Windows XP installed in a VirtualBox virtual machine (VM). The first thing I got, after booting the VM, was this:

Windows Product Activation

This copy of Windows must be activated with Microsoft before you can log on. Do you want to activate Windows now?

I clicked Yes. I got a window titled “Windows Product Activation” and a statement, “Windows is already activated. Click OK to exit.” But when I clicked OK, it logged me off and put me back at the login screen; and if I tried to log in, it presented me with the same question again: “Do you want to activate Windows now?”

A search for solutions to this infinite product activation loop led to recommendations that started with going into Safe Mode. To get into Safe Mode, the advice was familiar: hit F8 as soon as Windows starts to boot. For a VirtualBox VM, that was trickier than on a native Windows installation. First, I had to click on the correct icon — there were two, and at first I chose the wrong one — to tell VirtualBox to stop showing messages about the mouse and keyboard when the VM started. Also, I had to make sure the VM was capturing my keystrokes (i.e., that I was not sending keystrokes into the host machine when I hit the keyboard). It seemed, in addition, that I had to start hitting F8 before the VM booted, and keep hitting it, not holding it down.

It took multiple tries, but eventually I got past those hindrances. At that point, I was looking at the Windows Advanced Options Menu — the one in black and white, offering a dozen options, starting with Safe Mode. I selected Safe Mode and hit Enter. It showed me only one installation: Microsoft Windows XP Professional. I hit Enter. After a few moments of loading files, I was now looking at the Safe Mode screen.

From that point, the advice offered by WikiHow was, in effect, to go to Start > Run or WinKey-R. Either way, that gave me a Run box. There, I typed rundll32.exe syssetup,SetupOobeBnk and clicked OK. Nothing seemed to happen. I hoped it had done something. I went to Start > Turn Off Computer > Restart. This time, Windows XP started up normally, without an activation barrier. The methods described above confirmed that Windows was now activated, and I had no further problems after rebooting.

Other Methods

I did not explore further, except that I did develop a search to help me find methods other than those described above. It tentatively appeared that there might be a number of alternate activation methods. There may also be something useful for this purpose in my separate post on Windows 7 activation in a virtual machine.

41 thoughts on “Ways to Activate Windows XP

  1. kpkilburn

    Great post. I’m having a similar problem now. I have a valid product key, so how can I enter it via the Registry? Is the hex value simply the 33-digit number? Yes, that’s another problem. My key is 33 digits, not 25 or 20 as usual. When I installed, it came up with 5 blanks to enter the key into (25 digits). Any idea why it would do that? I’m running VirtualBox on a Mac if that matters.

    Reply
  2. Cody Kolbinskie

    The Reg edit method worked like a charm. thank you so much! now I can finally do my Windows XP videos

    Reply
  3. Eduardo Olea

    The Regedit method worked for me too, but …
    I have a genuine XP professional CD that I want to run on the Virtual Machine as the old computer where I used to run it is almost gone.

    I have installed it in the VM and after the registry modification I am able to start the XP machine without any message requesting it’s activation for several days, but … when the countdown for activation comes to about 7 days, i.e. about more or less 20 some days after installation, y start getting messages telling me that there are 7 days left for activation. But it´s impossible to activate it online because Microsoft servers for this task cannot be reached. I suspect they are all out of service. Finally when the countdown comes to zero days left, that’s it. XP cannot be activated, it stops running and I need to re-install it again and begin from square one, again.
    I have done this twice, now.
    FYI –
    1) No problems to access the internet from the web browser, That’s why I suspect Microsoft servers must be out.for online activation.
    2) When I run the “oobe/msoobe /a” from Start / Run command line, I get a window telling me that XP is already active and asks for confirmation with an OK button.

    Any new ideas/tips to extend the life of an XP installation on the virtual machine beyond those 30 days of grace.
    Sorry for this lengthy post and thank you all for these tips.

    Reply
    1. Ray Woodcock Post author

      Eduardo — can you perhaps make an image of an XP installation elsewhere and restore it inside the VM? I don’t remember how picky XP is, regarding dissimilar hardware. I was never too good at taking advantage of Acronis’s ability to restore to different hardware, but possibly that would help too. Or, I wonder if a VM on a different computer would have the same problem. If you could get a VM working one place, you could just copy it over to the other.

      Reply
    2. Zach Clayton

      Eduardo – Do you still have an issue with activation? We are experiencing the same issue inside our VM after an XP install. Thanks.

      Reply
  4. Chris

    Registry edit method worked for me! I now have a virtual machine on which I can maintain XP software. Thanks Ray.

    Reply
  5. Gernot66

    It worked for me with the regedit like for you first time i missed it or whatever, i had the info from a different site. now it’s fine, recently i own only a old machine, the graphiccard i use is outdated and a win7 i.e. needs DX11 while the card only understands up to 9. erm yes i own a different graphic card but it won’t work on this board. however i still own XP and one can be still creative o a old machine.

    Reply
  6. Bob

    Hi Ray, thanks for your thread. I had to re image my PC as my HDD failed and I need to activate Win XP SP3. I followed the steps described in the regedit method and although I get the screen that XP is already activated I still get the message that I only have 2 days to activate my software. The most frustrating part is that I have a legitimate serial key that should be working. I also tried the OEM method but the key is not accepted once I enter it.
    Do you have anything else to recommend for my specific case? This is really blocking me.

    Reply
  7. Craig Richard

    Hi – is anyone having an issue with the RegEdit method, where upon reboot, it reverts back to the old registry value? Seems to be happening to me on the Virtualbox VM platform using an old key I had from a retail purchase. Nice information – thank you for getting us this far!

    Reply
  8. Rick Wonders

    Same problem activating XP in Windows 7 so I could still play AGE of Empires. Regedit hack worked great. Thanks

    Reply
  9. Sam

    Regedit method doesn’t work for my XP Pro Sp3, after, changing Windows date to simulate 30 days passed. The Activation window is still displayed !!!!!!

    Reply
  10. Steve H

    fresh install of xp sp3 with no product key
    internet connection
    ran windows product key updater tool
    type in Keys
    Updates and activates at same time

    Reply
  11. MilesR

    Regedit worked for me, XP running under Hyper-V for required software we needed that has not been updated since 1997.

    Reply
  12. Dustin Tourkee

    Awesome. Regedit method, strange though it seems, worked first time! Can’t thank you and WikiHow enough.

    Reply
  13. Dmitri Fetisov

    Add another vote for the regedit method. I converted a standalone machine to VMware format for use on an ESXi box. Originally, I also encountered the ‘you can’t log in until you activate’ scenario. Fortunately I had a second XP key, which, although I was able to log in using that one, I still got nastygrams from Windows about ‘incomplete activation’. After the registry hack, everything works perfectly. Thanks for the info!

    Reply
  14. Jiri Tichy

    WinXP Pro SP3 on VB-VM: Registry edit work for 1 day.Then, after restart next day, the old numbers in oobe timer were back to original and the activation icon appeared again….several times same result… I have original CD with product key…..not sure if that needs to be put in, as I have asked for”remind me later” option when activation window came up…

    Reply
  15. TonyW

    A few comments…

    The OOBETimer registry hack only stops the “you have X days to activate” messages and resets the activation timer for another 28 days, this can be done a few times but eventually it won’t let you log in. This is only good for systems where a legit key has been used and XP is activated but you still get false activation messages.

    The login screen can be bypassed to get to the Windows desktop by using the Narrator exploit – on login screen hold down the Windows key and press U key… use Google to find more info.

    If you have a legit CD key then internet activation still works on a clean install but only with Internet Explorer 8 installed and all “Check for certificate revocations” internet options disabled.

    If you can’t get a legit CD key then easiest option is to use a pirated Volume Licence Key, a Chinese cracked version of XP etc.

    Reply
  16. Anonymous

    THANK YOU RAY !
    I had installed WinXP into a dual-boot with Win7. Windows accepted my license key and said everything was okay, and it would work, but kept asking me to active it. I tried the registry edit hack, but got into the Please Activate, Already Activated, loop. So I used the When You Can’t Get into Windows XP hack and it worked fine. Big 🙂

    Reply
  17. Fraz

    Ended up in the activation loop. Finally came across your tips and tricks, where Safe mode > rundll32.exe syssetup,SetupOobeBnk worked a treat! Many thanks!

    Reply
  18. Derek

    I have win xp sp3 installed from legal MS CD software with code and the regedit did remove the key symbol in the taskbar but still asked for registration. I started in safe mode and did the Rundll32……………….etc. and so far it’s stopped asking for registration when I start it up. I only use my old laptop for my DAW recording so it is not connected to the internet nor have antivirus software so runs nicely without all the bloatware you normally would have on an internet PC.
    XP FOREVER ,!!!

    Reply
  19. Chris Ardy

    Thanks for this Ray. I recently changed, I won’t say upgraded, from Win 7 Pro to 10 and Microsoft has helpfully got rid of the easy way to run XP in a virtual machine! I couldn’t get the Hyper V method to work in a usable manner so I went to VMware which works relatively easily and well. I then installed a legal copy of XP but couldn’t activate it through Microsoft. I eventually found how to activate via regedit and everything looked well until suddenly the activation needed window reappeared and started counting down despite windows already being activated . However I am very pleased that your last suggestion seems to have worked and the countdown has disappeared. Lets hope it doesn’t come back.
    It is very annoying that Microsoft hasn’t come good on it’s promise to remove the activation requirement for XP so that people can run old programs that are still useful without all this aggravation.

    Reply
    1. Kyle Hill

      MS is phone people. I am not sure how it passed over people’s heads but under WIN 8 all the PC people were fired and Nokia people were brought in in a massive buy out.

      Meaning all MS has now is phone programmers and they never grew up with computer stuff. They only know simplified phone language and apps.

      Reply
  20. Olito

    I have “inherited” an XP OEM system on an old PC – and the PC broke down. The programs can only run on XP (and no installation disks). I have installed an image of the disk in VBOX and the system runs – for 30 days. I have not succeeded in making the licence permanent, after the 30 days the activation is needed. During the 30 days I have tried the mentioned methods a lot of times with no luck. I have a non-OEM XP installation CD. Is it possible to change the type of XP without a new installation?

    Reply
  21. Chris Ardy

    Since my earlier reply I have run into the 3 times limit and haven’t been able to overcome it and have reinstall XP and am now on my second reinstall.

    Reply
  22. Olito

    I installed another copy of XP on top of the old one. And it has run from October. But – knock on wood – I’m a bit nervous every time I start the system.

    Reply
  23. Anonymous

    I have now managed to get XP working in VM for just over 3 months with no problem, hopefully it will last. Instead of keep reinstalling XP from an old CD I decided to use an ISO image of XP Pro (I have windows 10 Pro) downloaded from the USA Microsoft site. When the installation asked for a key I used the first one from a Google search and it worked ok and has been good ever since.

    Reply

Leave a reply to Olito Cancel reply

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