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.
Recommended 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:
- There are issues in Windows store cache
- Third-party Anti-virus or other security software is interfering with the installation
- 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:
- Open the “Run” box by pressing Windows + R key
- On the Run box that opens, type WSReset.exe and press Enter
- 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:
- Open the Run box by hitting Windows + R.
- Launch the Control Panel by typing Control Panel and hitting Enter.
- Locate and click on “Uninstall a program” under the Programs section
- Browse and locate the program you wish to uninstall. Right-click the program and click “Uninstall”.
- 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):
- Open the Charms by pressing Windows + c and then click Settings
- Click on the Power option and while holding down the Shift key, tap on the Restart option.
- 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:
- Navigate and return to the root directory of the system drive, e.g. C:
- Type dir and press Enter. Notice the Users folder being labeled as <Junction>.
- Type rmdir Users to delete this junction point.
- 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.
- Once copying has finished, Exit the Command Prompt and Restart your computer
- 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.