Type the following commands and press Enter after each.Make sure to replace C:
with the letter of the drive where your Windows Vista or Windows 7 is installed on.The commands are:
del C:\Windows\WinSxS\cleanup.xml
and
del C:\Windows\WinSxS\pending.xml