New
#1
Registry permission issue HKEY_CLASSES_ROOT Access denied
Hi everyone,
I have a nasty permissions issue when writing the the Windows Registry.
1. How did I noticed it?
When installing Adobe products, they end in Error 160: Access denied writing to the registry to a specific key (HKEY_CLASSES_ROOT aka. HKEY_LOCAL_MACHINE/SOFTWARE/Classes)
2. How do I reproduce?Code:WARN: Error Setting Registry - Start 64-bit:1 root:0 key:.icap name:Default type:REG_SZ data:InCopy.Markup.Assignment Package. Check for Registry permissions. (Error: Error 5 Access is denied.)
I have Windows 10 20H2. I tried to use the command prompt reg command to simulate what Adobe is doing based on the log above and have the same outcome. Which means this is really a permission issue here.
On other PCs running Windows 7 or Windows 10 2004 The operation succeedes. No issues.Code:C:\WINDOWS\system32>reg add hklm\software\classes\.icap The operation completed successfully. C:\WINDOWS\system32>reg delete hklm\software\classes\.icap Permanently delete the registry key HKEY_LOCAL_MACHINE\software\classes\.icap (Yes/No)? y ERROR: Access is denied.
Interestingly enough, if I use regedit.exe to perform the SAME operation, it succeedes in both creating, deleting, or changing the default value. Both are ran as Administrator.
3. What did I try to fix?
I tried setting permissions manually for all users on the HKEY_LOCAL_MACHINE/SOFTWARE/Classes key and/or HKEY_CLASSES_ROOT but the same issue occurs.
I tried using tweaking.com Windows Repair to reset all permissions, but it doesn't seem to help either.
Any suggestions are very welcome.
Thanks,
Mihai