OK next is to verify the repository before we actually reset it

Click start > all programs > accessories > right click cmd in the top and select run as administrator

Type the following commands and press after each command:

winmgmt/verifyrepository
winmgmt/salvagerepository

Restart the computer