Friday, February 14, 2025

How to Force Windows 10 Update via Command Line

 

Key Highlights: Force Windows 10 Update via Command Line

✅ Open Command Prompt as Administrator: Press Win + S, type cmd, and select Run as administrator.

✅ Stop Windows Update Services: Run the following commands:

net stop wuauserv  
net stop bits  
net stop cryptsvc  
net stop msiserver  

✅ Clear Update Cache: Delete old update files with:

del /s /q %SystemRoot%\SoftwareDistribution\*  

✅ Restart Windows Update Services: Run:

net start wuauserv  
net start bits  
net start cryptsvc  
net start msiserver  

✅ Force Update Check: Execute the command:

wuauclt /detectnow /updatenow  

✅ Alternative via PowerShell: Open PowerShell as Admin and run:

Install-Module PSWindowsUpdate  
Get-WindowsUpdate -Install -AcceptAll  

✅ Restart PC: Reboot to apply updates.

No comments:

Post a Comment