Windows Updates service did not work on Windows 2008 server

Windows Updates service did not work on Windows 2008 server

We have a few Windows Server 2008 in our customer environment. Few months back, we have an issue with Windows Updates service did not work on Windows 2008 server. This has caused a concerns by our customer. We have decided to share this as we have faced this issue 2 or 3 times before.

Cause

After some investigation, we found out that the Windows Update Agent was an old version and the cache data in %Windir%\SoftwareDistribution was corrupted.

Solution

  1. Install the latest WUA.
    How to obtain the latest version of the Windows Update Agent to help manage updates on a computer
  2. Reset the cache folder of %Windir%\SoftwareDistribution:
    1. Stop WindowsUpdates service;
    2. Delete %Windir%\SoftwareDistribution;
    3. Start WindowsUpdates service.