Windows IT Pro is the leading independent community for IT professionals deploying Microsoft Windows server and client applications and technologies.
  
  
  Advanced Search 


June 11, 2003

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

RSS
Subscribe to Windows IT Pro | See More Licensing Articles Here | Reprints | Or get the Monthly Online Pass—only $5.95 a month!

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

End of Article



Reader Comments
when i turn my microsoft word on it doesn't let me and tells me to put the CD Key on but i don't have it so what sould i do?

patrick November 13, 2003


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.

ukiamdaukuk April 20, 2004


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

victor May 06, 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?

Ande May 26, 2004


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

Anonymous User February 25, 2005


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

fulviusfay March 14, 2006 (Article Rating: )


You must be a registered user or online subscriber to comment on this article. Please log on before posting a comment. Are you a new visitor? Register now




Top Viewed ArticlesView all articles
Command Prompt Tricks

One reader shares his tip for setting up the command prompt to reflect a remote path. ...

WinInfo Short Takes: Week of November 9, 2009

An often irreverent look at some of the week's other news, including some more Windows 7 sales momentum, some Sophos stupidity, Microsoft's cloud computing self-loathing, more whining from the browser makers, Zoho's "Fake Office," and much, much more ...

Understanding File-Size Limits on NTFS and FAT

A general confusion about files sizes on FAT seems to stem from FAT32's file-size limit of 4GB and partition-size limit of 2TB. ...


Related Events WinConnections and Microsoft® Exchange Connections

Check out our list of Free Email Newsletters!

Windows OSs eBooks Understanding and Leveraging Code Signing Technologies

A Guide to Windows Certification and Public Keys

SQL Server Administration for Oracle DBAs

Related Windows OSs Resources Introducing Left-Brain.com, the online IT bookstore
Looking for books, CDs, toolkits, eBooks? Prime your mind at Left-Brain.com

Discover Windows IT Pro eLearning Series!
Clear & detailed technical information and helpful how-to's, all in our trademark no-nonsense format


Windows IT Pro Home Register FAQ for Windows WinInfo News
Europe Edition About Us Contact Us/Customer Service Media Kit Affiliates / Licensing  
SQL Server Magazine Office & SharePoint Pro DevProConnections IT Job Hound
Left-Brain.com Technology Resource Directory asp.netPRO ITTV Windows SuperSite 
 
 Windows IT Pro is a Division of Penton Media Inc.
 © 2009 Penton Media, Inc. Terms of Use | Privacy Statement