Windows Update History is still visible in Settings>Update & Security>View update history even if you first stop the Windows Update service and then completely delete the SoftwareDistribution folder from %windir%. This was not the case in earlier Windows 10 builds. Any idea? I delete that history before making a full system backup after any update.
With 20H1/2004 something changed, it probably saves the data outside of the softwaredistribution folder. Iirc, It even survives a capture using the exclusion list ini file by @abbodi1406
Hopefully they have an idea. I've wasted some time looking into different folders but could not find something. Edit: @Enthousiast @abbodi1406 %ProgramData%\USOPrivate %ProgramData%\USOShared Done!
@armond These are the files and folders excluded by the ini, when capturing an install: Code: [ExclusionList] \hiberfil.sys \pagefile.sys \swapfile.sys \System Volume Information \$Recycle.Bin\* \Recycler \Recycled \Windows\CSC \winpepge.sys \$windows.~ls \$windows.~bt \TUPortable \Boot \Recovery \Recovery.txt \bootsect.bak \ProgramData\Microsoft\Diagnosis\ETLLogs\* \ProgramData\Microsoft\Diagnosis\ScenariosSqlStore\* \ProgramData\Microsoft\Diagnosis\EventStore.db \ProgramData\Microsoft\DiagnosticLogCSP\Collectors\* \ProgramData\Microsoft\Network\Downloader\* \ProgramData\Microsoft\Search\Data\Applications\Windows\edb* \ProgramData\Microsoft\Search\Data\Applications\Windows\Windows.* \ProgramData\Microsoft\SmsRouter\MessageStore\edb* \ProgramData\Microsoft\Windows\SQM \ProgramData\Microsoft\Windows\WER\ReportArchive\* \ProgramData\Microsoft\Windows\WER\ReportQueue\* \ProgramData\Microsoft\Windows Defender\Support\* \ProgramData\Microsoft\Windows Security Health\Logs\* \ProgramData\Microsoft\Windows\wfp\*.etl \ProgramData\USOPrivate\UpdateStore\* \ProgramData\USOShared\Logs\* \Users\Administrator \Users\*\NTUSER.DAT*.TM.blf \Users\*\NTUSER.DAT*.regtrans-ms \Users\*\NTUSER.DAT*.log* \Users\*\AppData\Local\Microsoft\CLR_v4.0_64\UsageLogs\* \Users\*\AppData\Local\Microsoft\CLR_v4.0_32\UsageLogs\* \Users\*\AppData\Local\Microsoft\Feeds\* \Users\*\AppData\Local\Microsoft\Feeds Cache\* \Users\*\AppData\Local\Microsoft\Internet Explorer\*.log \Users\*\AppData\Local\Microsoft\Internet Explorer\*.txt \Users\*\AppData\Local\Microsoft\Internet Explorer\brndlog* \Users\*\AppData\Local\Microsoft\Media Player\* \Users\*\AppData\Local\Microsoft\Terminal Server Client\Cache\* \Users\*\AppData\Local\Microsoft\Windows\Explorer\* \Users\*\AppData\Local\Microsoft\Windows\Explorer\*.etl \Users\*\AppData\Local\Microsoft\Windows\INetCache\IE\* \Users\*\AppData\Local\Microsoft\Windows\Media Player\* \Users\*\AppData\Local\Microsoft\Windows\WebCache\* \Users\*\AppData\Local\Microsoft\Windows\UsrClass.DAT*.TM.blf \Users\*\AppData\Local\Microsoft\Windows\UsrClass.DAT*.regtrans-ms \Users\*\AppData\Local\Microsoft\Windows\UsrClass.DAT*.log* \Users\*\AppData\Local\Microsoft\Windows Mail\edb* \Users\*\AppData\Local\Microsoft\Windows Mail\Backup\new\edb* \Users\*\AppData\Local\Temp\* \Users\*\AppData\Local\Icon* \Windows\AppCompat\Programs\Amcache.hve*.TM.blf \Windows\AppCompat\Programs\Amcache.hve*.regtrans-ms \Windows\AppCompat\Programs\Amcache.hve*.log* \Windows\CSC \Windows\Debug\* \Windows\inf\*.etl \Windows\inf\*.ev* \Windows\inf\*.log \Windows\Logs\CBS\* \Windows\Logs\DISM \Windows\Logs\DPX \Windows\Logs\dosvc\* \Windows\Logs\NetSetup \Windows\Logs\waasmedic\* \Windows\Logs\WindowsUpdate\* \Windows\Logs\PBR \Windows\Logs\*.log \Windows\Microsoft.NET\Framework\v2.0.50727\*.log \Windows\Microsoft.NET\Framework\v4.0.30319\*.log \Windows\Microsoft.NET\Framework64\v2.0.50727\*.log \Windows\Microsoft.NET\Framework64\v4.0.30319\*.log \Windows\Panther\*.etl \Windows\Panther\*.log \Windows\Panther\FastCleanup \Windows\Panther\img \Windows\Panther\Licenses \Windows\Panther\MigLog*.xml \Windows\Panther\Resources \Windows\Panther\Rollback \Windows\Panther\Setup* \Windows\Panther\UnattendGC \Windows\Panther\upgradematrix \Windows\Performance\WinSAT\*.log \Windows\Prefetch\* \Windows\security\database\*.chk \Windows\security\database\*.log \Windows\security\database\*.jrs \Windows\security\logs\* ;\Windows\ServiceProfiles\LocalService\AppData\Local\FontCache-FontFace.dat \Windows\ServiceProfiles\LocalService\AppData\Local\FontCache-S-1-5-21*.dat \Windows\ServiceProfiles\LocalService\AppData\Local\FontCache\* \Windows\ServiceProfiles\LocalService\NTUSER.DAT*.TM.blf \Windows\ServiceProfiles\LocalService\NTUSER.DAT*.regtrans-ms \Windows\ServiceProfiles\LocalService\NTUSER.DAT*.log* \Windows\ServiceProfiles\NetworkService\NTUSER.DAT*.TM.blf \Windows\ServiceProfiles\NetworkService\NTUSER.DAT*.regtrans-ms \Windows\ServiceProfiles\NetworkService\NTUSER.DAT*.log* \Windows\ServiceProfiles\NetworkService\msmqlog* \Windows\servicing\Packages\wuindex.xml \Windows\servicing\Sessions\*_*.xml \Windows\servicing\Sessions\Sessions.back.xml \Windows\SoftwareDistribution \Windows\System32\catroot2\*.txt \Windows\System32\catroot2\*.chk \Windows\System32\catroot2\*.log \Windows\System32\catroot2\*.jrs \Windows\System32\config\*.TM.blf \Windows\System32\config\*.regtrans-ms \Windows\System32\config\*.log* \Windows\System32\config\RegBack\* \Windows\System32\config\systemprofile\*.TM.blf \Windows\System32\config\systemprofile\*.regtrans-ms \Windows\System32\config\systemprofile\*.log* \Windows\System32\config\TxR\*.blf \Windows\System32\config\TxR\*.regtrans-ms \Windows\System32\CodeIntegrity\bootcat.cache \Windows\System32\LogFiles\AIT\* \Windows\System32\LogFiles\Scm\* \Windows\System32\LogFiles\SQM\* \Windows\System32\LogFiles\WMI\*.etl* \Windows\System32\LogFiles\WMI\RtBackup\*.etl \Windows\System32\SleepStudy\*.etl \Windows\System32\SleepStudy\ScreenOn\*.etl \Windows\System32\SMI\Store\Machine\SCHEMA.DAT*.TM.blf \Windows\System32\SMI\Store\Machine\SCHEMA.DAT*.regtrans-ms \Windows\System32\SMI\Store\Machine\SCHEMA.DAT*.log* \Windows\System32\sru\*.txt \Windows\System32\sru\*.chk \Windows\System32\sru\*.log \Windows\System32\sru\*.jrs \Windows\System32\Sysprep\Panther \Windows\System32\Sysprep\Sysprep_succeeded.tag \Windows\System32\wdi\LogFiles\* \Windows\System32\wfp\*.etl \Windows\System32\winevt\Logs\* \Windows\System32\winevt\TraceFormat\* \Windows\Temp\* \Windows\WinSxS\Backup \Windows\WinSxS\ManifestCache\* \Windows\WinSxS\Temp\* \Windows\comsetup.log \Windows\DtcInstall.log \Windows\lsasetup.log \Windows\PFRO.log \Windows\setupact.log \Windows\setuperr.log \Windows\TSSysprep.log \Windows\vmgcoinstall.log \Windows\WindowsUpdate.log \Windows\System32\temppf.sys [CompressionExclusionList] *.mp3 *.zip *.cab *.wmv *.wma *.wim *.esd *.swm *.dvr-ms \windows\inf\*.pnf *.rar *.7z snip: Code: \ProgramData\USOPrivate\UpdateStore\* \ProgramData\USOShared\Logs\* I am capturing an install now, to see if the update history still is present after installing the captured install.
@abbodi1406 did But this only applies to a captured install, as you said, it cripples WU in your scenario. New test is with 19041.153, will use WU to update to 19041.172 and test.
@TairikuoKamiHello, so is this stuff included in your cleaner batch file? Not bad if you could add it. I have to kill MoUsoCoreWorker.exe first if it's already running. BTW is this associated with a service?
Currently running 19042.172, but this morning these problem started happening 1. Search suddenly stopped working. Pressing win+S or clicking search icon on taskbar does nothing. Also tried typing something on start didn't working. File explorer search bar didnt working also (still working on safe mode but not start search). Just noticing that searchui.exe not running when I checked task manager (or am I missing something there?) 2. Also when I tried to scolling on start menu all apps section (I'm using full start screen), it crashes explorer process (mouse cursor lagging a lot after scrolling then explorer restarts) Any idea? Tried restarting explorer many times, running sfc /scannow but still nothing. Just tried running dism /online /cleanup-image /checkhealth, no corruption detected. Searched from google founded that someone having same problem with me, but only asked to do in place upgrade (the person who had same problem with me already tried sfc /scannow and dism option) Edit: deciding to doing inplace upgrade, everything worked again
I see. Thanks dude. Now this one. Wanted to get rid of all of these: Spoiler Previously I could empty the list completely by stopping the WpnService and WpnUserService_38244 services and deleting %localappdata%\Microsoft\Windows\Notifications. Now in this 2004, when I do the above, I still have these 2 remaining in the list. Spoiler So maybe it's just another *.db file sitting somewhere else? Let's find out. BTW how I'm doing with spoilers? How are my screenshots?
I have not seen this process running yet, but I do not have store and I have update tasks crippled (SYSTEM not allowed to run exe), the same could be applied to this process, but not sure about the consequences. Spoiler Code: rem Disable auto-checking for updates, non-English users have to remove selected users manually takeown /s %computername% /u %username% /f "%WINDIR%\System32\UsoClient.exe" icacls "%WINDIR%\System32\UsoClient.exe" /inheritance:r /grant:r %username%:F icacls "%WINDIR%\System32\UsoClient.exe" /remove "Administrators" "Authenticated Users" "Users" "System" rem Disable checking for updates via GUI, non-English users have to remove selected users manually takeown /s %computername% /u %username% /f "%WINDIR%\System32\usocoreworker.exe" icacls "%WINDIR%\System32\usocoreworker.exe" /inheritance:r /grant:r %username%:F icacls "%WINDIR%\System32\usocoreworker.exe" /remove "Administrators" "Authenticated Users" "Users" "System"
Well I just added Code: taskkill /im MoUsoCoreWorker.exe /f del "%ProgramData%\USOPrivate" /s /f /q del "%ProgramData%\USOShared" /s /f /q That's enough for me. BTW any idea about clearing the notifications history? So it seams deleting the notifications folder should be enough as I tested on a fresh install. Not sure why the history is not empty if I delete the notifications folder on an upgraded install. But for now I'm leaving it alone it's fine.
Does not clean the driver installation logs. Defender cleans updates, does not clean driver logs update.
Thanks for letting us know. Maybe For that one you probably still have to delete the content of the SoftwareDistribution folder as before. Something like this: (Thanks @TairikuoKami) Code: net stop bits /y net stop wuauserv /y del "%WINDIR%\SoftwareDistribution" /s /f /q So please try it and let us know the result. It's interesting. Edit: Confirmed. Deleting %WINDIR%\SoftwareDistribution removes the driver update history.