Repair Windows Update Agent

Windows-Update

Every now and then, you may discover a computer system that is unable to detect or install available software updates from Microsoft or from your internal Windows Server Update Services (WSUS) repository. You’ll find an error such as 8007000E generated and often times running the Windows Update Troubleshooter FixIt tool is sufficient to fix Windows Update errors, but sometimes a manual approach that requires the deletion of the SoftwareDistribution content and re-registering the Windows Update components is needed, and this can be a tedious task. By using a script, this repair task can be automated.

Here are some batch scripts to help  fix a broken Windows Update Agent on a computer system. The scripts can also be run on a remote system using the ‘psexec‘ tool, which is part of the Sysinternals Suite from Microsoft. Copy and paste the content of your desired batch file below into Notepad and save the file with the “.bat” file extension, for example: repair_wua.bat .

Version 1:

Version 2:

Here’s another Windows Update Agent Reset script available on Technet.
The Windows Update Troubleshooter is available here.

Follow me on Twitter (@Hoorge) and join Tech Konnect on Facebook to stay current on technology related matters.

Please like & share:

Cisco AnyConnect VPN Error – “The file ‘Manifest Tool.exe’ is not marked for installation”

anyconnectwin_reconnect2

Problem:
Error: “The file ‘Manifest Tool.exe’ is not marked for installation” occurs during installation of Cisco AnyConnect client. This generally happens due to a failed upgrade installation of the client..

Solution:
Uninstall any version of the Cisco AnyConnect VPN client if it exist on the system.
Then, edit the registry by following these steps:

  • Launch the Registry Editor by typing “regedit” in the search window or box.
  • If a dialogue box pops up displaying the following: “Do you want to allow the following program to make changes to this computer?”, Click Yes.
  • Browse to the following location: HKEY_CLASSES_ROOT\Installer\Products\
  • Within the Products folder, locate and delete the registry key which contains the product information for Cisco AnyConnect.
    1. Go through each key in the Products folder until you find the one for Cisco AnyConnect. For example, the registry key for Cisco AnyConnect is named {D5BA4DB6420F33A4BAA83AD8BF69D037}
    2. Please note that the version of Cisco AnyConnect that you have may display a different registry key name.
  • Close the registry editor.
  • Install the Cisco AnyConnect client.

** Please make a backup of the registry before deleting or modifying any keys.

Please like & share: