How to Fix Windows Update When It Fails to Check for Updates
Resolve Windows Update connectivity issues with these precise command-line and service-reset steps for Windows 10 and 11.
- 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.
- 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.
- 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.
- 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.
- 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.