This happens quite a lot and it's normally related to a failed or corrupt Windows Update.
What happens is there is a corrupt registry key that is over 259 characters long.
Because Windows doesn't have the permissions to the key it cannot remove/fix it.
The HKCRScan tool will provide you with the registry key that is over the 259 characters in length. Delete this key and restart the services and it should fix it.