Windows Update Fails

KB ID 0000359

Problem

There are a LOT of different reasons for Windows Updates to fail, I can’t cover every eventuality, but there a a few common steps to try.

Solution

1. As soon as the updates fail you should get an Error Message, that should point you in the right direction.


Update Error Code 80200011

2. If you error code matches one of these…

Code Error Description
0x80070002
ERROR_FILE_NOT_FOUND
The system cannot find the file specified.
0x8007000D
ERROR_INVALID_DATA
The data is invalid.
0x800F081F
CBS_E_SOURCE_MISSING
The source for the package or file not found.
0x80073712
ERROR_SXS_COMPONENT_STORE_CORRUPT
The component store is in an inconsistent state.
0x800736CC
ERROR_SXS_FILE_HASH_MISMATCH
A component’s file does not match the verification information present in the component manifest.
0x800705B9
ERROR_XML_PARSE_ERROR
Unable to parse the requested XML data.
0x80070246
ERROR_ILLEGAL_CHARACTER
An invalid character was encountered.
0x8007370D
ERROR_SXS_IDENTITY_PARSE_ERROR
An identity string is malformed.
0x8007370B
ERROR_SXS_INVALID_IDENTITY_ATTRIBUTE_NAME
The name of an attribute in an identity is not within the valid range.
0x8007370A
ERROR_SXS_INVALID_IDENTITY_ATTRIBUTE_VALUE
The value of an attribute in an identity is not within the valid range.
0x80070057
ERROR_INVALID_PARAMETER
The parameter is incorrect.
0x800B0100
TRUST_E_NOSIGNATURE
No signature was present in the subject.
0x80092003
CRYPT_E_FILE_ERROR
An error occurred while Windows Update reads or writes to a file.
0x800B0101
CERT_E_EXPIRED
A required certificate is not within its validity period when verifying against the current system clock or the time stamp in the signed file.
0x8007371B
ERROR_SXS_TRANSACTION_CLOSURE_INCOMPLETE
One or more required members of the transaction are not present.
0x80070490
ERROR_NOT_FOUND
Windows could not search for new updates.

Then run the System Update Readiness Tool and then retry Windows Update.

Operating system Download
All supported x86-based versions of Windows Vista Download
All supported x64-based versions of Windows Vista Download
All supported x86-based versions of Windows Server 2008 Download
All supported x64-based versions of Windows Server 2008 Download
All supported IA-64-based versions of Windows Server 2008 Download
All supported x86-based versions of Windows 7 Download
All supported x64-based versions of Windows 7 Download
All supported x64-based versions of Windows Server 2008 R2 Download
All supported IA-64-based versions of Windows Server 2008 R2 Download

3. Otherwise Start > Run (or for Vista/Windows 7 or 2008 Type in the search box) > services msc {enter}.

4. First make sure the following three services are present and have started,

Windows Update
Background Intelligent Transfer Service
Cryptographic Services

If any are not running right click > Start. If they are all present and running then > Locate the “Windows Update” service> Right click it > Stop.

5. Open Windows Explorer and navigate to C:Windows > Locate the SoftwareDistribution folder> Rename it to UpdateOLD.

6. Go back to the service “Windows Update” service you stopped in step 4 and restart it > Then retry Windows Update.

7. If your still not working, then manually reset the Windows Update components using the BITS repair tool, or doing it manually, for instructions CLCK HERE.

8. You can also try using the Fix WU Utility (Written by Ramesh Kumar from TheWindowsClub ).

Note: If all else fails try using the Firegen Windows update Log Analyzer.

 

Related Articles, References, Credits, or External Links

NA

VMware ESXi 5 – Applying Patches and Updates

(ESXi 5 Update 1 and Patches)

KB ID 0000623

Problem

When VMware released ESX 4.1, they took away the “Host update utility”, (which was a mistake!). For people without VMware Update Manager, you now have to either put in the CD/DVD and do an ‘in place upgrade’, or grow a ginger pony tail and put some socks/sandals on and do some Linux.

Below I’ve got a build of ESX with no updates on it, I’m going to apply the ‘Update 1″ then the most recent patch to bring the host up to date (at time of writing).

Solution

1. Whilst connected to your host with the VI client > Select the host > Configuration > Security Profile > Services Section > Properties > SSH > Options >Start > OK > OK > Exit the VI client.

2. Connect to the host via an SSH command window (PuTTy shown). Log on as the root user, to check your current ‘build’ version issue the following command;

[box]vmware -v[/box]

3. You should have a fair idea what piece of storage has the most free space already, this host only has one datastore (datastore1). That’s the one I’m going to download the updates into. To view the Datastores issue the following command;

[box]ls -l /vmfs/volumes/[/box]

4. Change directory, so that you are ‘in’ that datastore and create a directory called ‘UPDATE’.

[box]cd /vmfs/volumes/datastore1<br /> mkdir UPDATE[/box]

5. Then change into that directory;

[box]cd UPDATE[/box]

6. From a browser visit the VMware patch portal, locate the update you want to download and install, (here it’s VMware 5.0.0 Update1). Right click the download link and copy the URL.

Note: Patches after major updates are cumulative, I also downloaded the ‘latest’ patch.

7. You need to remove the ‘s’ from the URL, I just paste the link into notepad, edit it then copy it again.

8. Back at your command window download the update with the following command;

[box]wget http://hostupdate.vmware.com/software/VUM/OFFLINE/release-328-20120312-212851/update-from-esxi5.0-5.0_update01.zip[/box]

9. When completed, download any other required patches;

[box]wget http://hostupdate.vmware.com/software/VUM/OFFLINE/release-341-20120605-165537/ESXi500-201206001.zip[/box]

10. Before applying the update/patches, the host needs to be in maintenance mode;

[box]vim-cmd hostsvc/maintenance_mode_enter[/box]

11. Then apply the update with the ‘esxcli’ command as follows;

[box]esxcli software vib install -d /vmfs/volumes/datastore1/UPDATE/update-from-esxi5.0-5.0_update01.zip[/box]

12. When complete, you will need to ‘scroll up’ and make sure it says, “Message: The update completed successfully, but the system needs to be rebooted for the changes to be effective.”

13. After the update, I am applying the latest patch with the same esxcli syntax, like so;

[box]esxcli software vib install -d /vmfs/volumes/datastore1/UPDATE/ESXi500-201206001.zip[/box]

14. Once again you will need to ‘scroll up’ and locate, “Message: The update completed successfully, but the system needs to be rebooted for the changes to be effective.”

15. Now reboot the host;

[box]reboot[/box]

16. Once the host is back online, connect and take it out of maintenance mode.

17. Then locate the folder containing the update software and patches.

18. And delete it.

19. Finally power your guest machines back on again.

Related Articles, References, Credits, or External Links

Enable SSH Access to vSphere ESXi

Upgrade vSphere 4 Environment to vSphere 5

Update VMware ESXi from 4.0 to 4.1

Upgrade ESX 3 to version 4.1.0