This issue can be caused by the transactions logs for windows update were left in an un-consistent state. Take the following steps to resolve the issue.

1. Log on as an administrator.
2. Click Start, type cmd in the Start Search box, right-click cmd.exe in the Programs list, click Run as administrator, and then click Continue.
3. At the command prompt, type the following commands. Press ENTER after each command.

cd /d %SystemRoot%\System32\SMI\Store\Machine
attrib -s -h *
del *.blf
del *.regtrans-ms

4. Restart the computer.