Windows IT Pro is the authoritative and independent resource for windows nt, windows 2000, windows 2003, windows xp. Features a collection of resources and magazines for windows IT professionals.
  
  
  Advanced Search 



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

RSS
Subscribe to Windows IT Pro | See More Backup and Recovery Articles Here | Reprints | Or get the Monthly Online Pass—only $5.95 a month!


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



Reader Comments

You must log on before posting a comment.

If you don't have a username & password, please register now.




Top Viewed ArticlesView all articles
Command Prompt Tricks

One reader shares his tip for setting up the command prompt to reflect a remote path. ...

How can I stop and start services from the command line?

...

Where is Microsoft NetMeeting in Windows XP?

...


Related Events Virtualization, Automation and Databases

Optimize your VMware Infrastructure with the New Releases from the Symantec Backup Exec Family

Virtualization Management

Check out our list of Free Email Newsletters!

Related Resources Become a VIP member of the Windows IT Pro community!
Get it all with the VIP CD and VIP access. A $500+ value for only $279!

Subscribe to Windows IT Pro!
Solve your toughest technical problems with our experts and access 10,000 + articles online. 30% off

Monthly Online Pass - Only $5.95!
Get instant access to 10,000+ articles from Windows IT Pro Magazine!

TechNet Virtual Labs
Evaluate and test Microsoft's newest products.


Windows IT Pro Home Register FAQ for Windows WinInfo News
Europe Edition About Us Contact Us/Customer Service Media Kit Affiliates / Licensing  
SQL Server Magazine Office & SharePoint Pro Windows Dev Pro IT Job Hound ITTV
IT Library Technology Resource Directory Connected Home Windows Excavator Windows SuperSite 
 
 Windows IT Pro is a Division of Penton Media Inc.
 Copyright © 2008 Penton Media, Inc., All rights reserved. Terms and Use | Privacy Statement | Reprints and Licensing