Forum Discussion
Tim Hunter
Jan 08, 2020Steel Contributor
Windows Update Failing
I have 8 Virtual Machines all running Windows Server 2016 Standard and all are setup with a Windows Update Group Policy to run on a specific night and time. However, I have one server that continues ...
Dave Patrick
Jan 09, 2020MVP
You said earlier that https://www.catalog.update.microsoft.com/Search.aspx?q=KB4530689 was successful? I don't see any trace of it.
May need to check the \windowsudate.log file for details.
https://docs.microsoft.com/en-us/windows/deployment/update/windows-update-logs
(please don't post debug logs in forums)
Tim Hunter
Jan 09, 2020Steel Contributor
Windows showed the installation was successful and then asked for a restart. After restarting, it showed the update as failed.
I opened the Log folder but all I see are .etl files that are "garbled" when I open them in Notepad.
- Tim HunterJan 09, 2020Steel Contributor
PS C:\Users\administrator.WYNNETR> DISM /Online /Cleanup-Image /CheckHealth
Deployment Image Servicing and Managemen
Version: 10.0.14393.0Image Version: 10.0.14393.2457
No component store corruption detected.
The operation completed successfully. - Dave PatrickJan 09, 2020MVP
Well here's what should have happened.
Windows PowerShell Copyright (C) 2016 Microsoft Corporation. All rights reserved. PS C:\Users\Administrator.DSPATRICK> Get-WindowsUpdateLog Converting C:\Windows\logs\WindowsUpdate into C:\Users\Administrator.DSPATRICK\Desktop\WindowsUpdate.log ... Input ---------------- File(s): C:\Windows\logs\WindowsUpdate\WindowsUpdate.20191225.113356.292.6.etl C:\Windows\logs\WindowsUpdate\WindowsUpdate.20191225.113356.292.7.etl C:\Windows\logs\WindowsUpdate\WindowsUpdate.20191225.113356.292.8.etl C:\Windows\logs\WindowsUpdate\WindowsUpdate.20191225.113356.292.9.etl C:\Windows\logs\WindowsUpdate\WindowsUpdate.20191225.113356.292.10.etl C:\Windows\logs\WindowsUpdate\WindowsUpdate.20191225.113356.292.11.etl C:\Windows\logs\WindowsUpdate\WindowsUpdate.20191225.113356.292.12.etl C:\Windows\logs\WindowsUpdate\WindowsUpdate.20191225.113356.292.13.etl C:\Windows\logs\WindowsUpdate\WindowsUpdate.20191225.113356.292.14.etl C:\Windows\logs\WindowsUpdate\WindowsUpdate.20191225.113356.292.15.etl 0.00%4.68%9.36%14.04%18.71%23.39%28.07%32.75%37.43%42.11%46.78%51.46%56.14%60.82%65.50%70.18%74.85%79.53%84.21%88.89%93. 57%98.25%100.00% Output ---------------- DumpFile: C:\Users\ADMINI~1.DSP\AppData\Local\Temp\WindowsUpdateLog\wuetl.CSV.tmp.00000 The command completed successfully. Input ---------------- File(s): C:\Windows\logs\WindowsUpdate\WindowsUpdate.20191225.113356.292.16.etl C:\Windows\logs\WindowsUpdate\WindowsUpdate.20191225.113356.292.17.etl C:\Windows\logs\WindowsUpdate\WindowsUpdate.20191225.113356.292.18.etl C:\Windows\logs\WindowsUpdate\WindowsUpdate.20191225.113356.292.19.etl C:\Windows\logs\WindowsUpdate\WindowsUpdate.20191225.113356.292.20.etl 0.00%11.35%22.70%34.04%45.39%56.74%68.09%79.43%90.78%100.00% Output ---------------- DumpFile: C:\Users\ADMINI~1.DSP\AppData\Local\Temp\WindowsUpdateLog\wuetl.CSV.tmp.00001 The command completed successfully.
Some things to try;
sfc /scannow
dism /online /cleanup-image /restorehealth
or possibly a repair install by running setup.exe from the root of the install media. I'm not a big fan of doing this and in my opinion time would be better spent standing up a new one, patch fully, migrate roles or applications over to it.
- Tim HunterJan 09, 2020Steel Contributor
Appreciate all your help and guidance on this, as I know very little and am trying to learn as I go.
Do I need to do another process first, in order for the Get-WindowsUpdateLog to work?
Get this error:
Get-Process : A positional parameter cannot be found that accepts argument 'Get-WindowsUpdateLog'.
At line:1 char:1
+ PS C:\WINDOWS\system32> Get-WindowsUpdateLog
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidArgument: (:) [Get-Process], ParameterBindingException
+ FullyQualifiedErrorId : PositionalParameterNotFound,Microsoft.PowerShell.Commands.GetProcessCommand - Dave PatrickJan 09, 2020MVP
You'll need to use PowerShell to generate the readable log file.