Skip navigation

How can I change my Windows XP CD-ROM key?

A. To change your XP CD-ROM key, perform the following steps:

  1. Create a system restore checkpoint, in case you encounter a problem.
  2. Start a registry editor (e.g., regedit.exe).
  3. Navigate to the HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\WPAEvents registry subkey.
  4. Edit the OOBETimer value, modify any one character, then click OK.
  5. Start the CD-ROM key Activation Wizard--click Start, Run and type
    \%systemroot%\system32\oobe\msoobe.exe /a
  6. Select the "Activate by Phone" option.
  7. At the product key screen, enter your new key, then click Update.
  8. If the wizard returns you to the previous window, click "Remind me later," then restart the machine.
  9. Repeat Step 5. XP will display the message "Windows is already activated. Click OK to exit."

You can also use the following script that Microsoft provides to change the CD-ROM key:

  ' 
  ' Windows Management Instrumentation (WMI) Script - ChangeVLKey.vbs
  '
  ' This script changes the product key on the computer. Service Pack 1
  ' must be installed.
  '
  '********************************************************************

  ON ERROR RESUME NEXT

  if Wscript.arguments.count<1 then
  Wscript.echo "Script can't run without VolumeProductKey argument"
  Wscript.echo "Correct usage: Cscript ChangeVLKey.vbs ABCDE-FGHIJ-
  KLMNO-PRSTU-WYQZX"
  Wscript.quit
  end if

  Dim VOL_PROD_KEY
  VOL_PROD_KEY = Wscript.arguments.Item(0)
  VOL_PROD_KEY = Replace(VOL_PROD_KEY,"-","") 'remove hyphens if any

  for each Obj in
  GetObject("winmgmts:\{impersonationLevel=impersonate\}").InstancesOf
  ("win32_WindowsProductActivation")

  result = Obj.SetProductKey (VOL_PROD_KEY)

  if err <> 0 then
  WScript.Echo Err.Description, "0x" & Hex(Err.Number)
  Err.Clear
  end if

  Next

To use this script, go to the command prompt and run

changevlkey.vbs <new key>

where <new key> is the name of the new key that you want to activate (e.g., ab123-ab123-ab123-ab123-ab123).

Hide comments

Comments

  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
Publish