How to Deal with “Stop 0x80004005” Error?

What is "Stop 0x80004005” or Application failed to initialize Error?

Stop 0x80004005 is an error that pops up when Windows Product Activation tries to validate the Windows copy. The problem can not only occur during installation of the fresh copy, but also when an upgrade is performed from Windows 98 to Windows XP.

Operating Systems affected are:

  • Win XP Home
  • Win XP Professional

Error appearing on the screen

“A problem is preventing Windows from accurately checking the license for this computer.
Error Code: 0x80004005”

Causes of the 0x80004005 error:

As said earlier, the 0x80004005 error is mainly triggered by the Windows Product Activation module. This usually happens when the license that holds all the information about the product key and online activation gets corrupt. The following are the two main reasons that may corrupt the license information:

  • An antivirus program or a backup utility is obstructing the installation of Windows XP.
  • The Windows Product Activation key is modified by another installed program.

Resolving the Error

There are two ways to resolve the 0x80004005 error.

  • If the system has been upgraded from Windows 98, then you can execute an in-place upgrade repair.
  • Replace the corrupt files manually from the Windows XP CD.

Method 1: Upgrade from Windows 98

The issue with the upgrade is that there are software programs that are already installed on the system. When Windows XP installation completes, there is a chance of some files of the system being affected by the programs that are already on the system mostly backup and antivirus software.  This is when we can run the upgrade repair option, to accomplish this:

  • Put the Windows XP CD in the drive and boot from the CD.
  • On the Welcome to Setup screen, press Enter.
  • Follow the instructions on the screen.
  • Press F8 to accept the License agreement.
  • Choose to Repair the installation by pressing R.
  • Type Exit when the repair is done.

This will run an in-place repair on the Windows XP. If these steps do not solve the problem you can try the next method of extracting the files manually.

Method 2: Replace Files Manually

You can do this from the Recovery Console. Perform the following steps:

  • Put the Windows XP CD in the drive and boot from the CD.
  • On the Welcome to Setup screen, press R.

You will be asked for the administrator password

  • Press Enter (if you have not given any password) else type in the password and press enter.
  • Type cd %Systemroot%\System32 and press Enter (This will take you to the system32 folder).
  • Run the rename command to rename the system files. The syntax to run the command is

REN filename.extension filename.old  (For example:  REN Wpa.dbl Wpa.old)

The files to be renamed are listed below:

  • Wpa.dbl
  • Pidgen.dll
  • Actshell.html
  • Licdll.dll
  • Regwizc.dll
  • Licwmi.dll
  • Wpabaln.exe
  • Next, type the Drive letter for you CD drive and press Enter.
  • Type cd i386 and press enter.
  • Type the following commands and press enter after each one of them.
  • expand licwmi.dl_ %systemroot%\system32
  • expand regwizc.dl_ %systemroot%\system32
  • expand licdll.dl_ %systemroot%\system32
  • expand wpabaln.ex_ %systemroot%\system32
  • expand wpa.db_ %systemroot%\system32
  • expand actshell.ht_ %systemroot%\system32
  • copy pidgen.dll %systemroot%\system32

Expand command extracts the files to the specified folder and the Copy command copies them.

  • Type exit to restart

This should solve the problem with the 0x80004005 error. If it doesn’t then you can go for a clean Windows install after backing up your data.