9836 » How can I backup / restore Windows XP product activation? 21-Oct-05
When Windows XP is activated, the %SystemRoot%\System32\Wpa.dbl file is created. If you backup this file,
you can use it if activation is triggered when you don't have a connection to the internet.
I have scripted WpaBK.bat to backup your previous product activation and WpaRS.bat
to restore it
from safe mode.
WpaBK.bat contains:
@echo off
if exist %SystemRoot%\System32\Wpa.jsidbl del /f /q %SystemRoot%\System32\Wpa.jsidbl
copy %SystemRoot%\System32\Wpa.dbl %SystemRoot%\System32\Wpa.jsidbl
WpaRS.bat contains:
@echo off
if not exist %SystemRoot%\System32\Wpa.jsidbl @echo %SystemRoot%\System32\Wpa.jsidbl does NOT exist.&goto :EOF
if exist %SystemRoot%\System32\Wpa.prevdbl del /q /f %SystemRoot%\System32\Wpa.prevdbl
if exist %SystemRoot%\System32\Wpa.dbl copy %SystemRoot%\System32\Wpa.dbl %SystemRoot%\System32\Wpa.prevdbl&&del /f /q %SystemRoot%\System32\Wpa.dbl
copy %SystemRoot%\System32\Wpa.jsidbl %SystemRoot%\System32\Wpa.dbl
End of Article

