How to Fix Windows Update When It Fails to Check for Updates

Difficulty
Intermediate
Tested on
Windows 11 Build 22631
You will need
Administrator access

Step by step

  1. 1 min

    Stop the Windows Update services

    Press the Windows key, type cmd, right-click Command Prompt, and select Run as administrator. Execute the following commands sequentially, pressing Enter after each: net stop wuauserv, net stop cryptSvc, net stop bits, and net stop msiserver. This ensures no background processes are locking the update database files.

    Note: If a service is already stopped, proceed to the next command.
  2. 1 min

    Rename the SoftwareDistribution folder

    In the same Command Prompt window, rename the folders where update data is stored to force Windows to rebuild them. Type ren C:\Windows\SoftwareDistribution SoftwareDistribution.old and press Enter, then type ren C:\Windows\System32\catroot2 catroot2.old and press Enter.

    Note: Renaming preserves the original files as a backup in case a rollback is required.
  3. 1 min

    Restart the Windows Update services

    Restart the services you previously halted to initialize the newly created folders. Execute these commands: net start wuauserv, net start cryptSvc, net start bits, and net start msiserver. Once completed, close the Command Prompt window.

  4. 1 min

    Flush the DNS cache

    Network resolution errors often prevent the update client from reaching Microsoft servers. Open a new Command Prompt as administrator and execute ipconfig /flushdns. This forces the system to re-resolve the update server addresses.

  5. 2 min

    Check for updates

    Navigate to Settings > Windows Update and click the Check for updates button. The system will now recreate the local database and verify your status against the Microsoft update servers. If the process was successful, the progress bar will initialize immediately.

    Note: A restart may be required if the service initialization is delayed.