Share via

how can fix windows update database corruption

Anonymous
2018-06-22T11:52:59+00:00

how can fix windows update database corruption

Windows for home | Windows 10 | Windows update

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

5 answers

Sort by: Most helpful
  1. DaveM121 872.1K Reputation points Independent Advisor
    2018-06-22T12:47:18+00:00

    Hi Natesh,

    Click your Start Button type services and hit Enter

    For each of the following services, find them in the list of services, then double click them, if they are not already Started, start them and set their Startup type to Automatic

    Windows Update

    Background Intelligent Transfer Service

    Cryptographic Service

    Close the Services App

    Click your Start Button type cmd, then right click Command Prompt and choose 'Run as Administrator'

    Copy all the following commands and paste them into the command window in one go:

    net stop wuauserv

    net stop cryptSvc

    net stop bits

    net stop msiserver

    ren C:\Windows\SoftwareDistribution SoftwareDistribution.old

    ren C:\Windows\System32\catroot2 catroot2.old

    net start wuauserv

    net start cryptSvc

    net start bits

    net start msiserver

    Wait for the all commands to complete.

    Close the Command Prompt

    Source: Ramesh.Kumar

    20+ people found this answer helpful.
    0 comments No comments
  2. Anonymous
    2018-06-23T03:59:57+00:00

    Note: This is a non-Microsoft website. The page appears to be providing accurate, safe information. Watch out for ads on the site that may advertise products frequently classified as a PUP (Potentially Unwanted Products). Thoroughly research any product advertised on the site before you decide to download and install it.

    5 people found this answer helpful.
    0 comments No comments
  3. Anonymous
    2018-06-23T03:59:49+00:00

    Open Start > Settings > Update & security > Troubleshoot

    Scroll down

    Click Windows Update

    Click Run the Troubleshooter

    Run it at least three times.

    When complete, restart to see if the problem is resolved.

    Before carrying out this procedure, disconnect from the Internet. That means turning off Wi-Fi and disconnecting from a wired connection. If you don't, Windows 10 will indicate some files are in use and cannot be modified or the command will be non-responsive. Also, you should restart your computer after disconnecting from the Internet. The easiest way to do it is to enable Airplane mode from the Action Center - Windows key + A.

    Open Start, type: CMD

    Right click CMD

    Click Run as administrator

    Type each of the following then hit Enter

    taskkill /f /fi "SERVICES eq wuauserv" (Do this multiple times)

    net stop cryptSvc

    net stop bits

    net stop msiserver

    ren C:\Windows\SoftwareDistribution SoftwareDistribution.old

    rmdir C:\Windows\SoftwareDistribution\DataStore

    rmdir C:\Windows\SoftwareDistribution\Download

    When complete, hit Enter, then restart, then try updating again.

    If that does not work..

    1. Open Start, type: CMD

    Right click CMD

    Click Run as administrator

    Type each of the following then hit Enter

    Run these codes:

    Net Stop bits

    Net Stop wuauserv

    Net Stop appidsvc

    Net Stop cryptsvc

    Ren %systemroot%\SoftwareDistribution SoftwareDistribution.bak

    Ren %systemroot%\system32\catroot2 catroot2.bak

    Net Start bits

    Net Start wuauserv

    Net Start appidsvc

    Net Start cryptsvc

    After running these commands, check if your issue is fixed.

    Try this additional tips to see if they work:

    Troubleshoot Windows Update Problems in Windows 10 Using These Five Tips

    https://windows10.help/blogs/entry/23-troublesh...

    4 people found this answer helpful.
    0 comments No comments
  4. Sumit D - IA 167K Reputation points Independent Advisor
    2018-06-22T14:04:51+00:00

    The first step would be to try resetting Windows updates using an automatic script. See:

    http://www.yourwindowsguide.com/2015/12/windows...

    Make sure you run the script as an administrator.

    Please let us know if you need any assistance.

    Disclaimer: This is a non-Microsoft website. The page appears to be providing accurate, safe information. Watch out for ads on the site that may advertise products frequently classified as a PUP (Potentially Unwanted Products). Thoroughly research any product advertised on the site before you decide to download and install it.

    2 people found this answer helpful.
    0 comments No comments
  5. Anonymous
    2018-06-22T13:33:38+00:00

    Hello,

    See if this fix helps you:

    https://www.kapilarya.com/potential-windows-upd...

    Let us know if this helps!

    Note: This is a non-Microsoft website. The page appears to be providing accurate, safe information. Watch out for ads on the site that may advertise products frequently classified as a PUP (Potentially Unwanted Products). Thoroughly research any product advertised on the site before you decide to download and install it.

    0 comments No comments