Asked by:
Windows Update fails with Error 0x800f0830
Question
-
I have two laptops that were formerly running Windows 7 Professional Edition x64 on a Server 2008 domain. Because of unsolvable networking issues, both were restored to factory settings using the Toshiba Recovery Wizard. The option selected was to recover to factory defaults NOT preserving user data. Everything appeared to run, but both laptops booted into Windows 7 Home Premium x64. That's OK, as we have a use for them off the domain. My problem now is that I can't run Windows Update on either machine.
Before running Windows Update, the following files are in the Download folder of the Software Distribution folder:
KB958559 (Windows Virtual PC) and KB958488 (Microsoft .NET Framework 3.5 Service Pack 1).
On launching Windows Update, and checking for updates, I get a message that I need to download an update to Windows Update. I click Update, it starts to check for the update, and errors out with Error 800F0830. Extensive Googling has barely turned up anything about this error. It doesn't even appear in the troubleshooter list of errors. The Software Distribution folder log shows "Download failed" and error code 800f0830 for KB958559 and KB958488.
I've tried the following steps to troubleshoot:
Run the Windows Update Troubleshooter, errors fixed except 0x80070003.
Stopped Windows Update Services, renamed Software Distribution folder. Tried updates again-same failure 800f0830.
Stopped Windows Update service, deleted the files in Software Distribution Data and Download folders
Run the System Update Readiness Tool, no errors found
Downloaded KB958559 manually and tried to install manually. Installation failed with same error code 0x800f0830.
Installed the latest Windows Update Agent.
I am out of ideas, but need to get this fixed if we are going to use these computers on our guest network. Any thoughts would be appreciated.
- Edited by Peg2011 Tuesday, May 3, 2016 6:40 PM
Tuesday, May 3, 2016 6:39 PM
All replies
-
Step 1: Stop the Windows Update service
You must be logged on as an administrator to perform these steps.- Open Administrative Tools from Control Panel. Open Control Panel, type administrative tools in the search box, and then click Administrative Tools.
- Double-click Services.
Note If you're prompted for an administrator password or confirmation, type the password or provide confirmation. - Click the Name column heading to sort the names in reverse order.
- Find the Windows Update service, right-click it, and then click Stop. If you are running Windows XP, find the Automatic Updates service, right-click it, and then click Stop.
Step 2: Delete temporary update files in the SoftwareDistribution folder
- Open File Explorer (in Windows 8.1 and Windows 8) or Windows Explorer (in Windows 7, Windows Vista and Windows XP).
- Double-click the local hard disk where Windows is installed, typically drive C.
- Double-click the Windows folder, and then double-click the SoftwareDistribution folder.
- Double-click the DataStore folder to open it, and then delete all files and folders in the folder.
Note If you're prompted for an administrator password or confirmation, type the password or provide confirmation. - Click the Back button. In the SoftwareDistribution folder, double-click the Download folder
to open it, and then delete all files in the folder.
Note If you're prompted for an administrator password or confirmation, type the password or provide confirmation.
Step 3: Restart the Windows Update service
You must be logged on as an administrator to perform these steps.- Open Administrative Tools from Control Panel. Open Control Panel, type administrative tools in the search box, and then click Administrative Tools.
- Double-click Services.
Note If you're prompted for an administrator password or confirmation, type the password or provide confirmation. - Click the Name column heading to sort the names in reverse order.
- Find the Windows Update service, right-click it, and then click Start. If you are running Windows XP, find the Automatic Updates service, right-click it, and then click Start.
- Close the Services window and the Administrative Tools window.
Step 4: See which updates are installed on the computer
Deleting temporary update files will help solve the problem, but it will also delete the history in Windows Update. You can still see which updates are installed on your computer by going to Installed Updates.
To do this, open Installed Updates by opening Control Panel in Category view, clicking Programs, and then, under Programs and Features, clicking View installed updates. If you are running Windows XP, click Start, click Control Panel, and then double-click Add or Remove Programs. On the top right, select the Show updates check box.Step 5: Use the DISM or System Update Readiness tool
If the problem continues after you have followed the steps above, use the Deployment Image Servicing and Management (DISM) tool or the System Update Readiness tool to fix Windows Update corruption errors. To learn more about this, go to Fix Windows corruption errors by using the DISM or System Update Readiness tool .
Arnav Sharma | http://arnavsharma.net/ Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
Wednesday, May 4, 2016 3:09 AM -
Hi Peg2011,
According to your description, I suggest that we could better close the Windows Firewall and other anti-virus software because they are likely to block the updates. Then try reset Windows Update components. Please check in the link below
https://support.microsoft.com/en-us/kb/971058
After that reboot and try to update again. If these steps don’t work, please upload the WindowsUpdate log and CBS.log for further troubleshooting.
Hope it will be helpful to you.
Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact tnmff@microsoft.com.
Wednesday, May 4, 2016 9:31 AM -
Arnav Sharma, I tried all of these steps, but unfortunately, I am getting the same error when I try to run Windows Update.
- Edited by Peg2011 Friday, May 6, 2016 5:04 PM Attribute reply
Friday, May 6, 2016 4:57 PM -
Hi Peg2011,
According to your description, I suggest that we could better close the Windows Firewall and other anti-virus software because they are likely to block the updates. Then try reset Windows Update components. Please check in the link below
https://support.microsoft.com/en-us/kb/971058
After that reboot and try to update again. If these steps don’t work, please upload the WindowsUpdate log and CBS.log for further troubleshooting.
Hope it will be helpful to you.
Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact tnmff@microsoft.com.
Sad to say these steps did not resolve the problem. Is there a certain way I am supposed to upload the Windows Update and CBS logs? WU log is short, CBS log is long.
Edited to add links to logs:
CBS Log
Windows Update Log:
https://onedrive.live.com/redir?resid=E4E39C869E48114C!124&authkey=!ACTMjcitCD_BwBk&ithint=folder%2c
- Edited by Peg2011 Friday, May 6, 2016 9:54 PM
Friday, May 6, 2016 6:40 PM -
Hi Peg2011,
The WindowsUpdate log is in C:/Windows/WindowsUpdate.log. You have provided Windows Update Log is Event log.
Please upload the log again, thank you.
Best regards,
Carl Fan
Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact tnmff@microsoft.com.
Wednesday, May 11, 2016 8:31 AM -
Hi Peg2011,
The WindowsUpdate log is in C:/Windows/WindowsUpdate.log. You have provided Windows Update Log is Event log.
Please upload the log again, thank you.
Best regards,
Carl Fan
Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact tnmff@microsoft.com.
Sorry, here is a link to the Windows Update log:
Thursday, May 12, 2016 1:13 PM -
Hi Peg2011,
Thank you for your reply. Please check the CBS folder permission, we couldn’t find the information about Windows Update in CBS log. According to your Windows Update log, I find the error “Agent WARNING: WU client failed Searching for update with error 0x800f0830” and “Setup WARNING: SelfUpdate is in an error state”. If you have updated the agent, I suspect that some files are damage. I suggest that we could try running the DISM commands and ensure the command prompt is opened in elevated mode:
a) Press Windows key + X, click Command Prompt (Admin).
b) Type the following commands and hit Enter after each command:
DISM.exe /Online /Cleanup-image /Scanhealth
DISM.exe /Online /Cleanup-image /Restorehealth
Then, try running StartComponentCleanup /ResetBase as given below:
Dism.exe /online /Cleanup-Image /StartComponentCleanup /ResetBase
Then I suggest that we could restart in Clean Boot to check.
Hope it will be helpful to you.
Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact tnmff@microsoft.com.
- Edited by Carl FanMicrosoft contingent staff Monday, May 16, 2016 12:53 PM
Monday, May 16, 2016 12:46 PM -
Hi Peg2011,
Thank you for your reply. Please check the CBS folder permission, we couldn’t find the information about Windows Update in CBS log. According to your Windows Update log, I find the error “Agent WARNING: WU client failed Searching for update with error 0x800f0830” and “Setup WARNING: SelfUpdate is in an error state”. If you have updated the agent, I suspect that some files are damage. I suggest that we could try running the DISM commands and ensure the command prompt is opened in elevated mode:
a) Press Windows key + X, click Command Prompt (Admin).
b) Type the following commands and hit Enter after each command:
DISM.exe /Online /Cleanup-image /Scanhealth
DISM.exe /Online /Cleanup-image /Restorehealth
Then, try running StartComponentCleanup /ResetBase as given below:
Dism.exe /online /Cleanup-Image /StartComponentCleanup /ResetBase
Then I suggest that we could restart in Clean Boot to check.
Hope it will be helpful to you.
Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact tnmff@microsoft.com.
Hi Carl,
The permissions on the CBS folder are Full Control for administrators, Read & Execute, List, and Read for standard users. My account is an administrator account.
I ran the first two commands and got the same response:
Error 87: The Scanhealth option is not recognized in this context.
I did not run the StartComponentCleanup, not knowing what this error meant.
Here's the DISM log:
- Edited by Peg2011 Tuesday, May 17, 2016 3:08 PM Added information
Tuesday, May 17, 2016 3:03 PM -
Hi Peg2011,
Thank you for your reply. If it doesn’t work, I suspect that some files are damage and I suggest that we could import the original install.wim from the Windows 7 installation CD to repair.
This post is about offline servicing failing (InstallUpdate returned code 0x800f0830) in the below.
Hope it will be helpful to you.
Please mark the reply as an answer if you find it is helpful.
If you have feedback for TechNet Support, contact tnmff@microsoft.com- Proposed as answer by Kate LiMicrosoft employee Friday, May 20, 2016 4:33 AM
Thursday, May 19, 2016 8:38 AM -
Hi Peg2011,
Thank you for your reply. If it doesn’t work, I suspect that some files are damage and I suggest that we could import the original install.wim from the Windows 7 installation CD to repair.
This post is about offline servicing failing (InstallUpdate returned code 0x800f0830) in the below.
Hope it will be helpful to you.
Please mark the reply as an answer if you find it is helpful.
If you have feedback for TechNet Support, contact tnmff@microsoft.comUnfortunately this is a laptop that came with an OEM operating system. In fact I think the vendor performed a Windows 7 Professional Edition upgrade because the recovery partition wass for Windows 7 Home Premium. Therefore I don't have a Win 7 disc from which to copy anything.
The exact issue happened on 2 laptops, same make and model, both of which were restored to factory settings from the recovery options. Does that suggest any other possible cause or fix?
Friday, May 20, 2016 1:15 PM -
Hi Peg2011,
In the last reply of your, I check the Dism log, it prompts that fail to load the provider and fail to initialize the PE. We’d better to import the original install.wim from the Windows 7 installation CD to repair. I think it is suit for you.
Best regards,
Carl Fan
Please mark the reply as an answer if you find it is helpful.
If you have feedback for TechNet Support, contact tnmff@microsoft.comTuesday, May 24, 2016 9:30 AM