Lately, I've noticed some very subtle things wrong with my computer. For example, whenever I tried to check for HP Updates, I'd select the button and it would INSTANTLY say no updates were available. I did not get the bouncing ball back and forth for a few seconds while it searches.
I thought that was quite odd, since it didn't occur on an identical (software wise) laptop.
Being a bit computer saavy, I looked in the HKEY ROOT hive of the registry and found SEVERAL keys that had no assigned permissions, and a lot of them were related to the HP Update software. Whenever I selected a key it would say "Access is Denied". After selecting permissions, it told me I couldn't change permissions but I could view them. When I did that, I saw that the permissions window was blank.
Not all keys are like this, most of them have the Users listed and their permissions assigned.
Now, I wrote a script using the subinacl tool from Microsoft to assign permissions to all the affected Regedit keys in HKEY_CLASSES_ROOT that were linked to HP Update. After doing this, HP Update worked as usual again!
However, I still have several keys blank. I've attached 3 screenshots that explains it clearly.
How the hell did this happen? I do not use registry cleaners or optimizing software and is there an easy way to change all registry permissions to their proper?
Note, the subinacl utility from Microsoft is very flaky with Windows 7. It works great on XP, and Vista, but not 7.
Also, I had problems BEFORE I even tried the Subinacl, so that did not cause my troubles.