Complete Reset for Windows Update

Occasionally Windows/Microsoft Updates will fail to update. We have found a code that will delete all temporary files and re-register all dll's related to Windows/Microsoft Updates! This works 99% of the time to get the updates working again!

The code shred is for a batch file. Copy the code to a text files and rename the file (whatever you want).bat
Then run the batch file!

net stop wuauserv
rmdir %windir%\softwaredistribution /s /q
rmdir %windir%\system32\softwaredistribution /s /q
regsvr32 /s wuaueng.dll
regsvr32 /s wuaueng1.dll
regsvr32 /s atl.dll
regsvr32 /s wups.dll
regsvr32 /s wups2.dll
regsvr32 /s wuweb.dll
regsvr32 /s wucltui.dll
net start wuauserv
pause

If the above solution doesn't work, try using official Microsoft tool : http://support.microsoft.com/kb/971058