This tutorial will show you how to clear Update History in Windows 10. From time to time, Windows 10 brings quality updates, driver updates, and other updates, and the list of all the installed or failed updates is visible in the update history page.
You can easily look for your Windows 10 Update History to get information about all those updates present on that list. If you want to remove the entire update history in Windows 10, then you can use any of the methods that have covered in this post.
In the image above, you can see before and after comparison. Earlier, the list of all updates is visible in the update history page, and later the list is cleared.
Clear Windows Update History in Windows 10
This post talks of three ways to remove Windows 10 update history:
- Using Command Prompt
- DataStore folder
- BAT file.
1] Using Command Prompt
Open Command Prompt as administrator and run this command first to stop Windows 10 Update Service from running:
net stop wuauserv
Execute the second command:
It deletes a log file containing the Update history of Windows 10.
Use this command to restart Windows 10 update service again:
net start wuauserv
If this option doesn’t clear the entire update history, then you can try the next two options.
2] Using DataStore folder
The DataStore folder contains log files related to update history. Access that folder and delete those files to clear the entire update history. Before that, you need to stop Windows Update service. You can do that using the first command mentioned in the above option.
After that, use this path:
C: > Windows > SoftwareDistribution > DataStore
Under DataStore folder, select DataStore.edb file and Logs folder, and delete them.
It will remove all update history.
Now you need to run the same Windows 10 Update service again. For that, use the last command mentioned in the above Command Prompt option.
3] Using BAT file
Open Notepad and then paste the following script content in Notepad:
powershell -windowstyle hidden -command "Start-Process cmd -ArgumentList '/s,/c,net stop usosvc & net stop wuauserv & del %systemroot%\SoftwareDistribution\DataStore\Logs\edb.log & del /f /q C:\ProgramData\USOPrivate\UpdateStore\* & net start usosvc & net start wuauserv & UsoClient.exe RefreshSettings' -Verb runAs"
Use Save as option in the File menu of Notepad.
The Save as window will open. Now you can select the output folder and save that file as clearupdatehistory.bat file. You can set any name but the file extension must be *.bat.
Double-click that BAT file. If UAC prompt appears, press Yes button.
This will execute the BAT script, stop running Update Orchestrator service and Windows Service, clear log and other files, and restart the stopped services.
Now you will see that the Windows Update History has been cleared.
Hope these options will help you remove Update History in your Windows 10 PC.