New
#60
this solve windows update corrupted after upgrading windows version via windows update. many thanks. now i can check update manually.![]()
this solve windows update corrupted after upgrading windows version via windows update. many thanks. now i can check update manually.![]()
but.. now i have new problem after using batch.
window defender cant run. ....help pls??
edit. solve it with sfc.
hmm..i wonder why![]()
Not sure why that would happen for you, but glad to know that a SFC /SCANNOW command sorted it.
https://www.tenforums.com/tutorials/2...dows-10-a.html
I'd like to give a comment on the Reset_Reregister_Windows_Update_Components.bat script: renaming "%SYSTEMROOT%\WindowsUpdate.log" to WindowsUpdate.log.bak is pointless because on Windows 10 that file contains only the following and it is never changed:
-- rpr.Windows Update logs are now generated using ETW (Event Tracing for Windows).
Please run the Get-WindowsUpdateLog PowerShell command to convert ETW traces into a readable WindowsUpdate.log.
For more information, please visit http://go.microsoft.com/fwlink/?LinkId=518345
Hello rpr, and welcome to Ten Forums. :)
I'll leave the old location in the .bat file for those that may still have older builds that still use it.
I have now added this below to the .bat for the new location . Thank you.
del /s /q /f "%SYSTEMROOT%\Logs\WindowsUpdate\*"
Has anyone tried this Script Reset Windows Update Agent?
Shawn / Brink,
1 In the batch file, the path to the qmgr files does not exist [KB971058 has not been changed, it still points to this path]
"%ALLUSERSPROFILE%\Application Data\Microsoft\Network\Downloader\qmgr*.dat"
but this one does
"%ALLUSERSPROFILE%\Microsoft\Network\Downloader\qmgr*.dat"
2 Similarly, I cannot find this file anywhere [I included checking on a computer that had items listed in its download queue at Settings, Update]
"%SYSTEMROOT%\winsxs\pending.xml
Any ideas?
Denis
Hello Denis, :)
Q1) I actually have the files at both locations in build 14946.
Q2) Here's some more info below about the pending.xml file to help understand it better, but it's basically there to help when a restart is required for an update.
Why you don The Windows Servicing Guy