Subscribe to Windows IT Pro

 

Get Newsletters

  • Get the Latest News
  • Product Updates
  • Helpful Tricks
  • Productivity Tips

Subscribe Now!

June 11, 2003 12:00 AM

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

Windows IT Pro
InstantDoc ID #39255
Rating: (2)

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).

Related Content:

ARTICLE TOOLS

Comments
  • kevin
    6 years ago
    Mar 14, 2006

    yes speaking as a coloradan i thank you guys for not treating this hack as illegal

  • Anonymous User
    7 years ago
    Feb 25, 2005

    Try using the script - worked for me, I got to change my key...

  • dsafdsafdsafds
    8 years ago
    May 26, 2004

    I tried installing the WIN XP Proffesional on my PC but i was told to put the CD key, but i misplaced it. What should i do?

  • Victor
    8 years ago
    May 06, 2004

    i've tried this and it doesn't work. It keeps saying that it is already activated.

  • ukiamdaukuk
    8 years ago
    Apr 20, 2004

    Head over to http://www.uksolid.com and navigate to the downloads section. There is a sweet pack of tools and a nice read me file so even novices can change their windows xp key. This isnt a crack simply a key finder updater and viewer.

You must log on before posting a comment.

Are you a new visitor? Register Here

advertisement

advertisement

White Papers

Get your Windows 7 deployment off to the right start by implementing PC lockdown. A locked-down environment is easier and cheaper to support since users are less likely to make unnecessary changes to the core system configuration - read more here!

Essential Guides

Is your iSCSI "lossy"? The reality is that most off-the-shelf Ethernet hardware deployed for iSCSI can lose packets, resulting in slow performance or application downtime. Learn how to assess your current iSCSI infrastructure and engineer an advanced iSCSI SAN infrastructure.

Web Seminars

What's the best way to keep your network safe from malware? In this web seminar, security expert Greg Shields suggests an alternative method to the traditional blacklisting approach that is common with anti-virus and anti-malware solutions.

eLearning Series

We bring the experts direct to you to share their real-world perspective and expertise. During each event, three sessions stream in real time, so you can learn, ask questions, and get solutions.
Upcoming event: Getting the Most with Exchange 2010 with Paul Robichaux

Subscribe to Windows IT Pro!

Windows is a trademark of the Microsoft group of companies. Windows IT Pro is used by Penton Media Inc. under license from owner.