How to change the WindowsXP operating system serial number

  

This article applies to:

Microsoft Windows XP Professional
Microsoft Windows XP Professional SP1

herein is used to describe how changes in Windows XP Serial number, you have 2 ways to modify the serial number on the already installed Windows XP, one is to use the activation wizard in the GUI interface, one is to use WMI (Windows Management Instrumentation) to achieve.

use the Activation Wizard to modify

Microsoft strongly recommends that you do a system restore point before the modification, so as not to suffer any eventuality.

1. Click [start], then click [run]; press Enter to open the Registry Editor after
2. Enter regedit;
3. Navigate to HKEY_LOCAL_MACHINESoftwareMicrosoftWindowsNTCurrent VersionWPAEvents, right-click on the right OOBETimer, then choose to modify;
4. Modify at least one byte to determine the save.
5. Click [Start], then click [Run];
6. Enter %systemroot%system32oobemsoobe.exe /a
7. Select Activate by phone and click Next;
8. Click modifying sequence number;
9. after selecting input new update sequence number;

if the return to the previous screen, then later choose to activate, and restart;

10. repeatedly 5---8 steps until the modification is successful;
11. Reactivate.
12. Click OK.
13. Install SP1.

install SP1 later if you can not restart, then start when the press F8, choose [Last Known Good Configuration], and then repeat the process.

using a script

Here are two scripts, one for WinXP SP1 is not installed, one for the WinXP SP1 is already installed.

following are the WinXP SP1 script (ChangeVLKeySp1.vbs) has been installed, using the same method without the WinXP SP1 installation script, put together inside the last paragraph of this article (example).

'
' WMI Script - ChangeVLKeySp1.vbs
'
' Windows XP With SP1
'
' 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 = impersonate}") InstancesOf ( "win32_WindowsProductActivation")

result = Obj.SetProductKey (VOL_PROD_KEY)

if err & lt; > 0 then
WScript.E cho Err.Description, "0x" & Hex (Err.Number)
Err.Clear
end if

Next

Copyright © Windows knowledge All Rights Reserved