Sometimes Windows Update freezes or fails to work properly.
To resolve this problem follow these steps:
1) open a shell DOS (use CMD as administrator).
2) run the following comamnds:
net stop wuauserv
attrib -r %systemroot%\SoftwareDistribution /S /D
rd /s /q %systemroot%\SoftwareDistribution
net start wuauserv
shutdown -r
I have used this solution to repair the problem when Windows Update run continuously the process svchost.exe and it use the 99% of your CPU.