Last week when I installed CCleaner on my system, it also installed Avast antivirus software stealthily, in the background. After I uninstalled Avast, a registry key named AVAST Software still remained in the registry, but it couldn’t be opened. When the AVAST Software branch was selected, it threw the following error:
Error Opening Key
AVAST Software cannot be opened.
An error is preventing this key from being opened.
Details: The system cannot find the file specified.
When I opened the Properties of the AVAST Software key, the Security tab was blank, showing the message: The requested security information is either unavailable or can’t be displayed.
I tried running Sysinternals RegDelNull to nuke the keys, but that didn’t help.
The same error can occur for AVG antivirus users.
Error Opening Key
AVG cannot be opened.
An error is preventing this key from being opened.
Details: The system cannot find the file specified.
Registry Reparse Point
Later I realized that the HKEY_LOCAL_MACHINE\Software\AVAST Software
is a reparse point or registry link that links to the following key on Windows 64-bit systems:
HKEY_LOCAL_MACHINE\Software\WOW6432Node\AVAST Software
But, since the Avast uninstaller had wiped out the above key, the reparse point still remains but is orphaned.
On Windows 32-bit systems, the reparse point and the target key paths are reversed.
However, once I knew it’s only a reparse point, the fix turned out to be very simple; you don’t need to tinker with the registry key permissions or ownership.Read more