Optimize Windows 10 & Windows 8 (8.1)

We show you how to Optimize Windows 8 (8.1) & Windows 10 for Best performance on your aging desktop or laptop PC.

How to Fix Error 0x80070004 While Installing Windows 8.1

Leave a comment

With such great hype and buildup created by Microsoft for the release of Windows 8.1, it was only inevitable for the users to install this latest version and be a part of the newest Windows phenomena. And who can blame them; the return of the Start button, improvements in the App store, upgrades in the Start Screen UI are all just too exciting to let go. With such great features available for free from the Windows store, one can only imagine the frustration and defeat when the download process is denied by some unexpected error. One such error that is increasingly threatening the upgrade process and flooding the Microsoft support threads is the error:0x80070004.

How do i Fix Fix Error 0x80070004  for installing windows 8.1Recommended download : Free Registry Software to Make PC Faster

If you too are receiving this error when trying to install Windows 8.1, follow through this article and get equipped with the best methods to solve this problem.

What is error 0x80070004

“An error had occurred and the installation was unsuccessful. Try again. Error code: 0x80070004”

0x80070004 is an error code that is commonly encountered when installing Windows 8.1 on any device. It can be attributed to the following reasons:

  1. There are issues in Windows store cache
  2. Third-party Anti-virus or other security software is interfering with the installation
  3. Users and/or Program Files folder directory is relocated to some other partition

Methods to solve Error 0x80070004

This section lists the methods that are most likely to fix your error 0x80070004 and ensure a smooth installation process of Windows 8.1.

Method 1: Clear the Windows Store Cache

It is a good practice to reset Windows store cache and free up space for the next updates and installations from the Windows app store.

Follow the steps below to perform a successful reset of Windows store cache:

  1. Open the “Run” box by pressing Windows + R key
  2. On the Run box that opens, type WSReset.exe and press Enter
  3. Wait for the system to clear the cache. In Windows 8 and Windows RT, the following message will be displayed upon completion:

“The cache for store was cleared. You can now browse the store for apps.”

Now, perform the Windows 8.1 installation again and check if the above method solved the problem. If not, proceed to the other methods described below.

 Method 2: Uninstall any Third-Party Security Software Installed in Your System:

Security software is there to help protect your system against viruses and other such security threats. However, they can often label certain installations and upgrades as security threats and thus hinder the process. Before you go on installing your Windows 8.1, try uninstalling your anti-virus software first.

Listed below are the general steps for uninstalling a program or software using Control Panel:

  1. Open the Run box by hitting Windows + R.
  2. Launch the Control Panel by typing Control Panel and hitting Enter.
  3. Locate and click on “Uninstall a program” under the Programs section
  4. Browse and locate the program you wish to uninstall. Right-click the program and click “Uninstall”.
  5. Click “Yes” to confirm your decision.

Try installing Windows 8.1 again and see if the error gets resolved. If not, continue with the next step.

Note: make sure you reinstall the security software once the Windows is safely loaded.

Method 3: Redirect “Users”, “ProgramData” or “Program Files” to the Default System Drive

One of the most common causes of error 0x80070004 is the relocation of the “Users”, “ProgramData” or the “Program Files” folder from the default system drive (usually Drive C) to some other Drive using the mklink command. Mklink command creates a symbolic link between two paths, and is natively available in the Command Prompt in Windows. While this command may have its advantages, it is not helpful when trying to install Windows 8.1, or performing other such operating system upgrades. If you used the mklink command to redirect your important folders, it is important you relocate your folders to the default system drive and then perform the Windows 8.1 upgrade.

If you are using a Windows 8 system, follow the steps below to relocate the “Users” folder to the system drive and install Windows 8 successfully:

Step 1: Start your system from Windows Recovery Environment (WinRe):

  1. Open the Charms by pressing Windows + c and then click Settings
  2. Click on the Power option and while holding down the Shift key, tap on the Restart option.
  3. This will reboot your system and navigate you to the WinRe screen

Step 2: delete the Junction point and relocate Users folder back to the system drive:

In the elevated Command Prompt that opened upon restart, perform the following steps to relocate Users folder back to the system drive:

  1. Navigate and return to the root directory of the system drive, e.g. C:
  2. Type dir and press Enter. Notice the Users folder being labeled as <Junction>.
  3. Type rmdir Users to delete this junction point.
  4. Enter the following robocopy command to copy all data from location to the other:

    robocopy /copyall /mir /xj /r:3 /w:10 X:\Users %systemdrive%:\Users 

    Note: Replace the “X:” with the drive name to which you wish to redirect your Users folder.

  5. Once copying has finished, Exit the Command Prompt and Restart your computer
  6. Notice the Users directory to be relocated in the default system drive

Perform the above steps carefully to the “Program Files” or the “ProgramData” folders and attempt to install Windows 8.1 again. Hopefully error 0x80070004 will be resolved.

Related Article:

How to Fix “BOOTMGR Not Found” In Windows 8.1

How to Fix Error 0x8007005 – 0x4000D while upgrading to Windows 8.1


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s