Practical procedure and troubleshooting notes for Windows Update Issues.
Windows Updates are managed by your organization
Never use this step to circumvent polices put in place by your organization. This is a trouble shooting step for IT administrators that are troubleshooting Windows Updates on the local machine.
- Browse to the registery Path shown below
Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate
- There is a DWORD Value "SetDisableUXWUAccess" If this is set to 1 set to 0 this will allow you access to the windows update service on the local machine.
Windows Update not installing
- Run These commands to stop these services
net stop wuauserv
net stop cryptSvc
net stop bits
net stop msiserver
- Run these Commands to clear the previous windows update data
ren C:\Windows\SoftwareDistribution SoftwareDistribution.old
ren C:\Windows\System32\catroot2 catroot2.old
- Run these Commands to start these services
net start wuauserv
net start cryptSvc
net start bits
net start msiserver
- Restart the computer
- Repair File Integrity Issues with these commands
sfc /scannow
DISM /Online /Cleanup-Image /RestoreHealth
- You can also obtain an image of the build that you are currently on from this Website and run a DISM scan from that image with
Ensure to change the drive letter to the one that correspondes to your image mount and check to see if it is install.wim or install.esd to run the right command
sfc /scannow
DISM /Online /Cleanup-Image /RestoreHealth /Source:WIM:D:\sources\install.wim:INDEX /LimitAccess
OR
sfc /scannow
DISM /Online /Cleanup-Image /RestoreHealth /Source:ESD:D:\sources\install.esd:INDEX /LimitAccess