• ×
    Information
    Need Windows 11 help?
    Check documents on compatibility, FAQs, upgrade information and available fixes.
    Windows 11 Support Center.
  • post a message
  • ×
    Information
    Need Windows 11 help?
    Check documents on compatibility, FAQs, upgrade information and available fixes.
    Windows 11 Support Center.
  • post a message
Guidelines
Are you having HotKey issues? Click here for tips and tricks.
Common problems for Battery
We would like to share some of the most frequently asked questions about: Battery Reports, Hold a charge, Test and Calibrating Battery . Check out this link: Is your notebook plugged in and not charging?
HP Recommended
HP 2000-299WM NOTEBOOK PC
Microsoft Windows 7 (64-bit)

There are 2 updates on my laptop that I tried installing. I received 2 error codes. Can someone explain these to me, and how to fix it?

CODE 80070005 Windows Update encountered an unknown error.

Get help with this error.

CODE 8024200D Windows Update encountered an unknown error.

Get help with this error.

7 REPLIES 7
HP Recommended

@BlueOvalFitter

 

Welcome to HP Community

 

I suggest you run the Windows Troubleshooter from this Link: http://aka.ms/diag_wu

 

If the issue persists try renaming the software distribution backup folders

  1. From Start, search for cmd
  2. Select Command Prompt from the results
  3. At the Command Prompt, type the following and then push Enter: Ren %systemroot%\SoftwareDistribution SoftwareDistribution.bak
  4. When that command completes, type the following and then push Enter: Ren %systemroot%\system32\catroot2 catroot2.bak
  5. Close the Command Prompt window, and reboot your computer.

Check for Windows Updates again.

 

You can refer to this Link: https://support.microsoft.com/en-us/help/10164/fix-windows-update-errors

 

Keep me posted how it goes 😊

 

 

If the information I've provided was helpful, give us some reinforcement by clicking the "Solution Accepted" on this Post and it will also help other community members with similar issue.

KrazyToad
I Am An HP Employee

HP Recommended
  1. Ren %systemroot%\SoftwareDistribution SoftwareDistribution.bak
  2. : Ren %systemroot%\system32\catroot2 catroot2.bak

I'm confused about the links above. First of all, before the word "Ren" are there supposed to be the 2 dots? :

Second, in the 1st link there is a space between the words "Distribution Software" Is that space supposed to be there?

In the 2nd link, Is there supposed to be a space between the words "catroot2 catroot2.bak" ?

Can you please type out the links as how I am supposed to type them?

Thank You!

HP Recommended

@BlueOvalFitter

 

There are no : before the Ren. You start typing from Ren onwards and there is a space between SoftwareDistribution and SoftwareDistribution. The same goes for catroot2 and catroot2.bak"

 

Ren %systemroot%\SoftwareDistribution SoftwareDistribution.bak

 

Ren %systemroot%\system32\catroot2 catroot2.bak

 

If the issue persists, follow the instructions in the Link I sent: https://support.microsoft.com/en-us/help/10164/fix-windows-update-errors

 

If the information I've provided was helpful, give us some reinforcement by clicking the "Solution Accepted" on this Post and it will also help other community members with similar issue.

KrazyToad
I Am An HP Employee

HP Recommended

I typed in the 1st link and pressed enter. It read;

THE FILENAME, DIRECTORY NAME, OR VOLUME SYNTAX IS INCORRECT.

Now what? I didn't go any further.

HP Recommended

@BlueOvalFitter

I appreciate your efforts to try and resolve the issue.

I am the Echo_Lake  looks like you were interacting with @KrazyToad, but he is out of the office today, so I'll take over from here.

 

Let's try this workaround: ( from Microsoft Community ) 

I suggest you try Synchronizing with an Internet time server and check if it helps.

1. Open Date and Time by clicking the Start button Picture of the Start button, clicking Control Panel,
2. Click on Clock, Language, and Region and then click on Date and Time. 
3. Click the Internet Time tab, and then click on Change settings. Administrator permission required If you're prompted for an administrator password or confirmation, type the password or provide confirmation.
4. Select the check box next to Synchronize with an Internet time server, select a time server, and then click on OK.

 

Keep me posted for further assistance.

ECHO_LAKE
I am an HP Employee

HP Recommended

What is this going to do to fix my laptop?

HP Recommended

@BlueOvalFitter I'm writing on behalf of @Echo_Lake and as far as I know, the suggested steps should help resolve the error codes, 

If you perform all the steps and yet, the issue persists, check the below steps:

 

Solution 1:  Try Installing the problematic update manually from the HP website or try the below steps:

There are a number of cases when the Windows Update utility fails to download or install a certain update, but if you try to download the same update from Microsoft support page and install it manually, installation finishes without any problems.

Luckily Microsoft has provided almost every Windows Update as a single installation package, available for download. Follow these steps:


1  Start your Windows Update utility and go to the update process until it stopped with an error.

2  Click on the Review important updates option.

3  These are the updates you’ll have to download and install manually. Select the first one and take a look at its ID number on the right side of the window, within the description area (starts with KB…)

4  Go to http://www.catalog.update.microsoft.com and search for update ID mentioned in the previous step. If there’s more then one result returned, compare the descriptions to find the right one.

5  Download package (sometimes there’s more than one for a single update) and install it like any other software. Repeat the procedure from step 3 for all listed updates.

 

Solution 2:  Check your system partition for errors

If your updates were downloaded successfully but an error occurred during installation, there’s a big chance that your system partition suffers from errors or bad sectors. This problem is usually caused by power outages and can easily be fixed by running Windows Check Disk utility.  

1  Right-click on C: disk and choose Properties. 

2  Select the Tools tab and click on the Check now button.

 

 

Solution 3:  Scan system files with System File Checker (SFC)

System File Checker (SFC) is the Windows built-in tool, designed to scan and check for integrity of Windows system files. If some system files or libraries become damaged, corrupted or replaced with the wrong version, the SFC tool will try to detect these and replace them with appropriate file version. 

There’s been a number of cases where SFC scan helped in solving various Windows Update errors
Follow these steps:

1  Go to the start menu, type “cmd” into the search box.

2  Right click on the first choice and select “Run as administrator“. 

3  Type SFC /scannow into the console window and press ENTER.

 

Solution 4:  Clear Windows Update temp files

Windows Update utility downloads and stores all data required for update process inside the folder located at C:\Windows\SoftwareDistribution\Download\. Sometimes, some of these files become corrupted while being downloaded, which may later interrupt the update installation process resulting in various errors. These files are safe to be removed since they will be re-downloaded again during the next update attempt.

But… There are two constantly running processes (Windows Update related) which are using those files. Since Windows forbids deleting files which are currently in use, these services have to be stopped in order to allow deleting temp files. Follow these steps:

1  Go to the start menu, type “services” into the search box and select the first result. 

2  Right-click on Background Intelligent Transfer Service and choose Stop. Do the same with Windows Update service. Leave the Services window open and minimize it.

3  Navigate to C:\Windows\SoftwareDistribution\Download\ and remove all files from there.

4  Head back to Services window, right-click on previously stopped services and choose Start

5  Run Windows Update utility and check for new updates.

 

Solution 5:  Clear Windows Update history

For storing information regarding previously installed updates, Windows Update utility uses files located at C:\Windows\SoftwareDistribution\DataStore\. Removing those files can sometimes help to solve Windows update errors but all information regarding previously installed updates will be lost. This means all previously installed updates will continue to exist, Windows Update utility will still function and check/obtain new updates, but if you select View update history option, you’ll get an empty list. 

This procedure is almost identical as described in the previous solution, except step 3. Instead of Download folder, you’ll remove all files from DataStore. You can back up these files to be able to restore them in case this solution doesn’t help you (and get back update history).

 

And don't worry, if this doesn't work out, we'll try something else, until its either identified or resolved, I'm here for you. Take care.

 

Riddle_Decipher
I am an HP Employee


Learning is a journey, not a destination.
Let's keep asking questions and growing together.
† The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the <a href="https://www8.hp.com/us/en/terms-of-use.html" class="udrlinesmall">Terms of Use</a> and <a href="/t5/custom/page/page-id/hp.rulespage" class="udrlinesmall"> Rules of Participation</a>.