Monday, April 4, 2016

Windows updates failed, Want to delete all failed update files in history location

Method 1: Check the Windows Update log file for the errors
a.    Click on start; in the start search type %Windir%\WindowsUpdate.log and hit Enter.
b.    Open the log file.
c.    Scroll down almost towards the bottom of the page and you’ll find the error of those updates that failed to install.

Method 2: Steps to erase Windows Update history
Note:Erasing the windows update history will just remove the entries of the updates and not really the updates itself.
a.    Go to menu Start> All Programs> Accessories. Right click on the "command prompt" and select "Run as Administrator".
b.    Copy/paste the below command:
c.    net stop wuauserv
d.    And select OK.
e.    Wait until confirmation that the service is stopped.
f.     To delete the file, copy the following command in the command prompt:
g.    del %systemroot%\SoftwareDistribution\DataStore\Logs\edb.log
h.    You can also delete it manually by going to the location in windows explorer.
i.     you can restart the service with this command:
j.     net start wuauserv 

Method 3: Install the updates by putting the computer into a clean boot
A clean boot helps in eliminating software conflicts. Once the update history is erased, try to install the updates by putting the computer into a clean boot state.

No comments:

Post a Comment