Monday, 17 August 2015

Repair or reinstall Windows Update

Repair or reinstall Windows Update

By , www.winhelp.us. Last modified: 2015-08-07.

How to repair or reinstall Windows/Microsoft Update in Windows XP, Vista, 7, 8, 8.1 and 10
The "joys" of Windows Update not working in Windows XP, Vista, 7, 8/8.1 and 10 are numerous: not receiving or not being able to install updates, repeated installation of same updates, or in worse cases, endless reboot cycles in Windows Vista and later.
First, check if you have enough free disk space (at least 1 gigabyte) on your hard drive. If not, read the Remove temporary files article on how to get rid of unnecessary files with CCleaner.
Second, verify that time and date are correct on your PC - a date in the past or the future prevents both Windows Update and Genuine Windows Validation tool from working properly.
Third, run a disk check to verify that file system is not corrupt.
Fourth, have you tried restarting your computer? The simple move might fix problems with locked files and make everything right again.
There are options for quickly fixing Windows Update problems or completely reinstalling it in Windows. You can run the tools listed below in Safe Mode with Networking, although they might then tell you that problems were not fixed.
Common Windows Update problems
In case your computer crashes with error code 0xc000021a (and displays error "Your PC couldn't start properly" with code 0xc0000001 after several reboots) right after installing latest updates, you need to run disk check to fix file system corruption. Instructions are available for Windows XP, Windows Vista and 7, Windows 8 and 8.1 (also applies to Windows 10).
If the same error appears even after file system repairs, you must boot into Command Prompt of Windows RE (just like in the fixing disk errors tutorial linked above) and run DISM to revert pending actions. This command is available only in Windows 7 and later.
In Command Prompt, type dism.exe /image:D:\ /cleanup-image /revertpendingactions and press Enter to run the command. Replace D:\ with the correct letter of the drive where Windows is installed (use bcdedit | find /i "OSDEVICE" command to determine the drive letter). Ignore error messages about scratch directory size.
Close Command Prompt window and reboot your PC. Windows should start normally now.
Windows 7 RE, Command Prompt. Type 'dism /image:D:\ /cleanup-image /revertpendingactions' and press Enter to cancel the installation of latest updates upon Windows startup.
Windows XP users must have Service Pack 3 installed to use Windows Update or Microsoft Update. Without it, "Error number: 0x80190194" failure message appears while searching for updates.
If you experience serious and prolonged (several hours) slowdowns in Windows XP while Windows Update is searching for updates, and Task Manager shows that svchost.exe is constantly using 99-100% of CPU resources, see this tutorial at www.winhelp.info. This applies to brand new (aka clean) installs of Windows XP Service Pack 3, and to those who have long turned off automatic updates and now want to apply latest patches.
In case applying .NET Framework patches ends with errors 66A or 8007066A, you need to run Microsoft Fix It Tool 50123 that repairs MSI software update registration corruption issues.

Windows Store issues in Windows 8/8.1 and 10

If you experience trouble with Windows Store (updating apps, browsing or opening the Store, etc), open Start screen, type wsreset, right-click the result and choose Run as administrator.
Windows 8, Start screen. To repair Windows Store, type 'wsreset', right-click the result and choose 'Run as administrator'.
As usual, User Account Control pops up, click OK. After a while, Windows Store cache is cleared and you can probably use the app normally.
Windows 8, Windows Store, The cache for the Store was cleared. You can now use Windows Store normally.
But if you are still facing issues with Modern UI/Windows Store/Metro apps, please see how to fix Photos, PC Settings, or all apps.
In Windows 10, if you see error message "Try that again, see details" with error code 0x803F8001 while updating apps via Windows Store, see the link above and follow the last solution.

Windows Update troubleshooter in 8/8.1 and 10

Windows 8, 8.1 and 10 users can open Start screen, or on touch screens, swipe in from the right edge of screen and tap Search icon. Type troubleshoot and click or tap Troubleshooting.
Then click Fix problems with Windows Update in the System and Security section.
Windows 8, Control Panel, Troubleshooting. Click 'Fix problems with Windows Update'.
Click Advanced, verify that Apply repairs automatically is enabled and click the Run as administrator link.
Windows 8, Troubleshoot and prevent computer problems, Windows Update. Click 'Advanced' and then click 'Run as administrator'.
You might have to restart your computer for changes to take effect.
Windows 8, Troubleshoot and prevent computer problems, Windows Update, Restart your PC. Click Next.
If this does not resolve the problems, see Option 1 below, or use DISM to repair Windows Update.

Option 1: applying quick fixes to Windows Update

Automated troubleshooter works in all supported Windows versions (from XP to 8.1, support for Windows 10 will become available shortly).
Open Microsoft's How do I reset Windows Update components page.
Click the Run now button in the appropriate section: Windows 8.1, Windows 8, and Windows 7; or Windows Vista and Windows XP.
How do I reset Windows Update components page, click the 'Run now' button in appropriate section to start downloading the tool.
After downloading and launching WindowsUpdateDiagnostics.diagcab, click Next.
Microsoft Fix It tool for Windows Update, License Agreement. Click Accept.
The Find and fix problems with Windows Update tool will then run different problem detections and repairs. This usually takes several minutes. Click Close the troubleshooter after the process is complete.
Please note that in Safe Mode the Fix status column will always state "Not fixed" because Automatic Updates service cannot be started.
Microsoft Windows Update troubleshooting, Troubleshooting has completeed. Click Close.
If required, restart your PC. After this, you can test if Windows Update works correctly.

Option 2: downloading Fix It tool 50202 to reinstall Windows Update completely

Fix It 50202 works in Windows XP, Vista and 7 only.
If the first option did not help, Microsoft also has the very powerful Fix It Tool 50202 that completely reinstalls Windows Update components. This one is especially helpful in cases where Windows Update is not able to check for updates (for example, error 800700C1) or installs the same updates all over again (several cases with infinite loops of .NET Framework updates).
Because Microsoft just loves to move the tool randomly around (and its site search is not helpful either), I now provide direct download link to Fix It Tool 50202.
Please save the file, do not run it automatically!
After downloading is complete, run the program (named MicrosoftFixit50202.msi).
Click I Agree in the License Terms page and then click Next.
Microsoft Fix it 50202, License Terms. Click 'I Agree'. Then click Next.
As you can see, the Run aggressive options (not recommended) check box on Additional options screen is unchecked. I strongly suggest to execute the repairs without enabling aggressive options for the first time - this will retain all Windows Update and Microsoft Update settings.
Click Next.
Microsoft Fix it 50202, Additional options. If running the tool for the first time, leave the 'Run aggressive options (not recommended)' check box unticked. Click Next.
In Windows Vista and 7, User Account Control will appear. Click Continue or Yes.
The tool will then create a System Restore point and run the fixes. Some files might be downloaded during the process.
After the program has done its job, click Close.
Microsoft Fix it 50202, complete. Click Close.
A prompt to restart your computer appears. Save open documents and close all open programs. Then click Yes.
Microsoft Fix it 50202, You must restart your system. Click Yes.
Verify that Automatic Updates, Windows Update or Microsoft Update works. If not, re-run the Fix It Tool 50202, but tick the Run aggressive options (not recommended) check box this time.
After using aggressive options, you must configure Windows Update again.
Using the aggressive options also clears update history, but the list of applied updates can still be found in Control Panel.
In Windows XP, open Control Panel and click Add/Remove Programs. Then tick the Show updates check box and choose Date Last Used from the Sort by combo box. The latter sorts updates by their install date.
Windows XP, Add or Remove Programs. To reveal installed updates, put a check mark in the 'Show updates' box.
In Windows Vista and newer, open Control Panel and click Programs and Features (or Uninstall a program if using Category view). In Windows 8 and 8.1, you can also use keyboard shortcut Windows Key+X to reveal the Quick Links menu and click Programs and Features (the topmost item) there.
Then click View installed updates on the left.
Windows 8.1, Control Panel, Programs and Features. To see the list of applied updates, click the 'View installed updates' link on the left.
To sort the list by date, click Installed On column once. Clicking it again reverses the sort order.
Windows 8.1, Control Panel, Programs and Features, Uninstall an update, list of applied updates and patches.

Option 3: install System Update Readiness Tool in Windows Vista and 7

System Update Readiness Tool is available for Windows Vista and 7 only. It can resolve problems with broken update packages and damaged system files.
Windows 8, 8.1 and 10 alternative for SURT is DISM - scroll down to Option 4.
Windows Update error 80246002 (Windows could not search for updates) in Windows 7 is one example where other tools fail and System Update Readiness Tool works perfectly. The trouble often starts after automatic upgrade of Windows Update Agent to version 7.6.7600.320 in August, 2014.
Windows Update, View update history. If 'Windows Update Agent 7.6.7600.320' is installed and you encounter error 80246002 while searching for updates, it is time to install System Update Readiness Tool.
Go to Microsoft's What is the System Update Readiness Tool? page and download the package that applies to your computer. Please see Windows article for instructions on how to find out which version and architecture your device has.
System Update Readiness Tool page at Microsoft. Click 'Download' for the version and hardware architecture of Windows your device has.
Click Download again in Microsoft Download Center page. Please note that the file is over 200 megabytes in size for 32-bit Windows, and over 500 megabytes for 64-bit Windows.
After launching the downloaded package, click Yes to install it.
Windows Update Standalone Installer for System Update Readiness Tool. Click 'Yes' to install it.
System Update Readiness Tool installation takes easily 10 minutes or more to finish, even over an hour on slower computers is possible. It does not usually require a reboot.
Click Close after the installation is complete. Windows Update should be running fine now.
System Update Readiness Tool, installation complete. Click Close.

Option 4: run DISM in Windows 8, 8.1 and 10

DISM (Deployment Imaging and Servicing Management) is the System Update Readiness Tool alternative in Windows 8 and newer.
To run the tool, open elevated Command Prompt: either open Start screen, type cmd, right-click on Command Prompt and select Run as administrator; or if you've set to display Command Prompt in Taskbar Navigation settings, use keyboard shortcut Windows Key+X to bring up Quick Links menu (a list of commands for power users) and click Command Prompt (Admin).
Windows 8.1, Search everywhere. To open elevated Command Prompt, type 'cmd', right-click 'Command Prompt' and select 'Run as administrator'. Windows 8.1, Quick List with Command Prompt commands. Click 'Command Prompt (Admin)'.
In the black window, type Dism /Online /Cleanup-Image /RestoreHealth and press Enter key to fix the corruption. The process can last up to 15 minutes and positive result reads: "The restore operation completed successfully. The component store corruption was repaired."
Retry Windows Update after this.
Windows 8.1, Administrator Command Prompt. DISM result 'The component store is repairable'. Windows 8, Administrator Command Prompt. To fix Component Store, type 'Dism /Online /Cleanup-Image /RestoreHealth' and press Enter key.
In case the RestoreHealth command fails no matter what, it is best to perform a non-destructive reinstall of Windows 8 or 8.1. This seems to be the only solution to the infamous DISM error 0x800f081f.

Next steps if all options fail

In case neither of the recommended actions help you get Windows Update running, do not rush into formatting drives and performing clean install of Windows.
If the tools above did not resolve Windows Update error 80070003 (Windows Update ran into a problem) in Windows 7, 8, 8.1 and 10, your device might have a corrupted Sessions folder. See the Fix Windows Update error 80070003 like a boss tutorial at winhelp.info for the solution.
The same fix applies if Windows Update stalls at about 1-5% while downloading new updates.
With the sad exception of Windows Vista, you can do a non-destructive reinstallation of any version of latest Windows. This will keep your personal files and settings, installed programs and apps, and return Windows to a fully working state.
The guides for different versions are listed below:
 https://www.winhelp.us/reinstall-windows-update.html

No comments:

Post a Comment