Run the Windows Update Troubleshooter.
https://support.microsoft.com/en-us/windows/win...
If it persists, rename the software distribution folders as instructed below:
1. Open Start and type cmd, right-click on "Command Prompt", and select "Run as administrator".
2. Run the following commands at the Command Prompt one at a time:
net stop bits
net stop wuauserv
net stop cryptsvc
ren %systemroot%\softwaredistribution softwaredistribution.bak
ren %systemroot%\system32\catroot2 catroot2.bak
net start bits
net start wuauserv
net start cryptsvc
3. After all these commands are completed, close the Command Prompt window, restart your computer, and then try to update Windows.
If it persists, use the system file checker to repair possible corrupted or missing system files.
1. Open Start and type cmd, right-click on "Command Prompt", and select "Run as administrator".
2. Run the following commands at the Command Prompt one at a time:
dism.exe /online /cleanup-image /scanhealth
dism.exe /online /cleanup-image /restorehealth
dism.exe /online /cleanup-image /startcomponentcleanup
sfc /scannow
3. Then restart your PC and see if you can update.