how do i change my cd key with xp? - Techist - Tech Forum

Go Back   Techist - Tech Forum > Computer Software > Microsoft Windows and Software
Click Here to Login
Closed Thread
 
Thread Tools Display Modes
 
Old 07-21-2006, 09:57 PM   #1 (permalink)
Banned
 
Join Date: Mar 2006
Posts: 1,829
Default how do i change my cd key with xp?

I am using a cd key twice and it just kicked me out of windows and its about 1-2 months later.. And somehow i just activated it with the same number again...

I just bought another $200 copy of windows xp home edition sp2 so i was wondering how to change the cd key?

I tried editing the registry like the internet says too but that didn't work...

I don't want to do anything that is illegal anymore...

I got caught too many times...
__________________

Norcent is offline  
Old 07-21-2006, 10:35 PM   #2 (permalink)
Techie Beyond Description
 
Osiris's Avatar
 
Join Date: Jan 2005
Location: Kentucky
Posts: 36,817
Send a message via ICQ to Osiris Send a message via AIM to Osiris Send a message via MSN to Osiris Send a message via Yahoo to Osiris
Default

ROCKXP

or

Method #1: Use the Activation Wizard
If you have only a few volume licensing product keys to change, you can use the Activation Wizard.



Warning!
This document contains instructions for editing the registry. If you make any error while editing the registry, you can potentially cause Windows to fail or be unable to boot, requiring you to reinstall Windows. Edit the registry at your own risk. Always back up the registry before making any changes. If you do not feel comfortable editing the registry, do not attempt these instructions. Instead, seek the help of a trained computer specialist.

Note: Microsoft recommends that you run System Restore to create a new restore point before you complete the following steps:

Click Start, and then click Run.

In the Open box, type Regedit, and then click OK.

In the left pane, locate and then click the following registry key:

HKEY_LOCAL_MACHINE\Software\Microsoft\WindowsNT\Cu rrent Version\WPAEvents

In the right pane, right-click OOBETimer, and then click Modify.

Change at least one digit of this value to deactivate Windows.

Click Start, and then click Run.

In the Open box, type the following command, and then click OK.

%systemroot%\system32\oobe\msoobe.exe /a

Click Yes, I want to telephone a customer service representative to activate Windows, and then click Next.

Click Change Product key.

Type the new product key in the New key boxes, and then click Update. If you are returned to the previous window, click Remind me later, and then restart the computer.

Repeat steps 6 and 7 to verify that Windows is activated. You receive the following message:

Windows is already activated. Click OK to exit.

Click OK.

Install SP1 for Windows XP.

If you cannot restart Windows after you install SP1, press F8 when you restart the computer, select Last Known Good Configuration, and then repeat this procedure.



or


Method #2: Use a Script
You can create a WMI script that changes the volume licensing product key, and then deploy this script in a startup script. The sample ChangeVLKey2600.vbs script and the sample ChangeVLKeySP1 script that are described in this section use the new volume licensing key that you want to enter, in its five-part alphanumeric form, as a single argument. Microsoft recommends that you use the ChangeVLKey2600.vbs script on Windows XP-based computers that are not running SP1 and that you use the ChangeVLKeySP1.vbs script on Windows XP-based computers that are running SP1. These scripts perform the following functions:

They remove the hyphen characters (-) from the five-part alphanumeric product key.

They create an instance of the win32_WindowsProductActivation class.
They call the SetProductKey method with the new volume licensing product key.

You can create a batch file or a CMD file that uses either of the following sample scripts, together with the new product key as an argument, and either deploy it as part of a startup script or run it from the command line to change the product key on a single computer.

'
' WMI Script - ChangeVLKey.vbs
'
' This script changes the product key on the computer
'
'************************************************* **************************

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=impersonat e}").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

ChangeVLKey2600.vbs

'
' WMI Script - ChangeVLKey.vbs
'
' This script changes the product key on the computer
'
'************************************************* **************************

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
Dim WshShell
Set WshShell = WScript.CreateObject("WScript.Shell")
WshShell.RegDelete "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\WPAEvents\OOBETimer" 'delete OOBETimer registry value
for each Obj in GetObject("winmgmts:{impersonationLevel=impersonat e}").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

Example
The following example describes how to use the ChangeVLKeySP1.vbs script from a command line:

Click Start, and then click Run.

In the Open box, type the following command, where AB123-123AB-AB123-123AB-AB123 is the new product key that you want to use, and then click OK:

c:\changevlkeysp1.vbs ab123-123ab-ab123-123ab-ab123
__________________

__________________
Osiris is offline  
Old 07-22-2006, 09:22 PM   #3 (permalink)
Banned
 
Join Date: Mar 2006
Posts: 1,829
Default

none of that worked and method 2 i don't get how to...
Norcent is offline  
Old 07-22-2006, 09:46 PM   #4 (permalink)
Banned
 
Join Date: Mar 2006
Posts: 1,829
Default

ok so i went to the registry editor and did that oobetimer thing and then quick deleted wpa.dbl and that worked yeah
Norcent is offline  
Old 07-22-2006, 11:18 PM   #5 (permalink)
Techie Beyond Description
 
Osiris's Avatar
 
Join Date: Jan 2005
Location: Kentucky
Posts: 36,817
Send a message via ICQ to Osiris Send a message via AIM to Osiris Send a message via MSN to Osiris Send a message via Yahoo to Osiris
Default

cool..so now you are using the new key?
__________________
Osiris is offline  
Closed Thread

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off




Copyright 2002- Social Knowledge, LLC All Rights Reserved.

All times are GMT -5. The time now is 04:13 PM.


Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2017, vBulletin Solutions, Inc.