In many cases the error results from software other than Windows; although Windows can also be guilty.
Have you tried scanning your Registry with something like Ccleaner click here to see if that helps? It may also get rid of a lot of other rubbish as well.
You could also backup your Registry (preferably to a different drive) using ERUNT click here and then run the `Issues` check in Ccleaner to resolve any other problems.
Let us know how you get on.