Upgrading Windows XP SP1 to SP2 gone bad
January 28th, 2007I had to reinstall my laptop the other day and since the only Windows XP CD I could find at work was one with SP1, I just installed that thinking it would be a smooth ride upgrading to SP2 once I had it up and running.
As you have probably guessed it didn’t go as planed. Every time I started the SP2 installation, it would get stuck when it reached “Checking Product Key”. After some googling I stumbled across the following solution mailed to another unlucky guy by Microsoft Support, which thankfully worked for me as well.
Fix for Service Pack 2 installation stuck at “Checking Product Key”
- Please go into the CMD prompt (Start/Run –>
cmd.exe) - Then type
cd /d %windir%\infand make sure we are in that directory. - Then type
ren oem*.inf oem*.old, it will go back to the prompt after giving you some error (do not worry about it). - Then type
ren oem*.pnf oem*.old1, it will go back to the prompt after giving you some error (Do not worry about it). - Then goto Start/Run and type
"%windir%\inf"and you will see the files in the folder. - Then find the file by name
INFCACHE.1and move it to the desktop (or another place outside the Windows folder) from c:\windows\inf. - Close all windows and reboot the computer to safe mode and start the installation of SP2 and it should go fine.
Microsoft, you owe me three hours…
Update: I originally forgot to mention why this happens. When SP2 tries to validate your Windows key using the infamous Windows Genuine Advantage, it can fail if OEM drivers have been installed. So to avoid this problem completely, simply upgrade to SP2 right away after the initial installation of Windows.