Its not very often I have to do this, but sometimes I do because I end up purchasing a bunch of matching machines, loading the software onto one, and ghosting to the rest.

So here’s a short guide on how to change your Windows XP serial number or product key.

Here’s the batch file I created to achieve the task. Simply create a new file called “changekey.bat”, and enter the following:

@echo off


echo Select “Yes I want to telephone a customer service representative to activate windows”,

echo click “Next”, then click “Change Product Key”, now enter your new key, then click “Update”.

@echo REGEDIT4 > %TEMP%\oobetimer.reg

@echo [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\WPAEvents] » %TEMP%\oobetimer.reg

@echo “OOBETimer”=hex:ff,ff,ff,ff,ff,ff,ff » %TEMP%\oobetimer.reg

@regedit /s %TEMP%\oobetimer.reg

@del %TEMP%\oobetimer.reg

%SYSTEMROOT%\system32\oobe\msoobe /a

That’s it!