How to restore XP activation status after a reformat

The machines we love to hate

Moderator: Wiz Feinberg

User avatar
Jack Stoner
Posts: 22147
Joined: 3 Dec 1999 1:01 am
Location: Kansas City, MO
State/Province: Kansas
Country: United States

How to restore XP activation status after a reformat

Post by Jack Stoner »

Just got this from the Windows XP newsletter. This can be used if you do a "clean" reinstall (reformat the hard drive and reinstall everything) on an XP or Vista machine.

How to restore XP activation status information after a reformat

1.Double-click My Computer, then double-click on the "C" drive.

2.Navigate to the C:\Windows\System32 folder.

3.Locate the files named "wpa.dbl" and "wpa.bak" and copy them to a safe location such as a USB key or CD.

4.Reformat your disk and reinstall Windows XP on your reformatted hard drive, click "No" when asked if you want to activate Windows.

5.Reboot your computer into SafeMode (press F8 as Windows is booting up to see the Windows Advanced Options menu and select SAFEBOOT_OPTION=Minimal)

6.Double-click My Computer, then double-click on the "C" drive again.

7.Navigate to the C:\Windows\System32 folder again.

8.Locate the files named "wpa.dbl" and "wpa.bak" (if it exists) and rename them to "wpadbl.new" and "wpabak.new"

9.Copy your original "wpa.dbl" and "wpa.bak" files from your USB key, CD or DVD or other location into the C:\Windows\System32 folder

10.Restart your system
User avatar
Wiz Feinberg
Posts: 6116
Joined: 8 Jan 1999 1:01 am
Location: Mid-Michigan, USA
State/Province: Michigan
Country: United States

Post by Wiz Feinberg »

I always make a backup of the wpa.dbl file after activating Windows XP on my, or a client's computer and save it to either a cd, floppy, or thumbdrive. This is best done right after a clean install, or when you first take your new computer home. You never know when you'll need to reinstall because of file corruption, or more likely, because of rootkit infections (except for people running with reduced user privileges.
"Wiz" Feinberg, Moderator SGF Computers Forum
Security Consultant
Twitter: @Wizcrafts
Main web pages: Wiztunes Steel Guitar website | Wiz's Security Blog | My Webmaster Services | Wiz's Security Blog
User avatar
Gary Shepherd
Posts: 2490
Joined: 3 May 2004 12:01 am
Location: Fox, Oklahoma, USA
State/Province: Oklahoma
Country: United States

Post by Gary Shepherd »

What does wpa.dbl do for me? Is that the file that Windows looks at for registration info? If I back up this file, reinstall Windows, and replace the new wpa.dbl with the one I backed up will I avoid having to activate Windows for the new installation?
Gary Shepherd

Carter D-10 & Peavey Nashville 1000

www.16tracks.com
User avatar
Jack Stoner
Posts: 22147
Joined: 3 Dec 1999 1:01 am
Location: Kansas City, MO
State/Province: Kansas
Country: United States

Post by Jack Stoner »

According to the article that's what the procedure I listed will do. When you reinstall XP, you copy those files to the location noted and supposedly you won't have to reactivate.

I haven't tried it. Just posted the procedure from the WinXP newsletter.
User avatar
Gary Shepherd
Posts: 2490
Joined: 3 May 2004 12:01 am
Location: Fox, Oklahoma, USA
State/Province: Oklahoma
Country: United States

Post by Gary Shepherd »

I guess I should have read the first post in this thread, eh?
Gary Shepherd

Carter D-10 & Peavey Nashville 1000

www.16tracks.com
User avatar
Jim Peters
Posts: 1481
Joined: 29 Dec 2003 1:01 am
Location: St. Louis, Missouri, USA, R.I.P.
State/Province: -
Country: United States

Post by Jim Peters »

Why not just reactivate? Only takes a minute. JP
Carter,PV,Fender
User avatar
Gary Shepherd
Posts: 2490
Joined: 3 May 2004 12:01 am
Location: Fox, Oklahoma, USA
State/Province: Oklahoma
Country: United States

Post by Gary Shepherd »

Windows will only let you reactivate so many times. Around 5 depending on which version you have. Of course, you can usually call Microsoft and they'll help you past the 5 activations. But why have to bother with all that?

Some of use reinstall Windows quite often. Having to call MS and beg for another activation is irritating. Of course, I have a corporate edition now that requires no activation so it's not really an issue for me anymore. I just never knew about that one file so that point was interesting.

Rather than reinstall from the Windows CD, I normally reinstall from a backup that I made of a fresh Windows installation.
Gary Shepherd

Carter D-10 & Peavey Nashville 1000

www.16tracks.com
User avatar
Jim Peters
Posts: 1481
Joined: 29 Dec 2003 1:01 am
Location: St. Louis, Missouri, USA, R.I.P.
State/Province: -
Country: United States

Post by Jim Peters »

That makes sense, I've reinstalled mine at least 4 times, no problem with activation, not yet anyway. JP
Carter,PV,Fender