JSI Tip 9836. How can I backup / restore Windows XP product activation?

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



Hide comments

Comments

  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
Publish