I unable to open programmatically registry subkey on windows 10 PC.
I am getting exception by using below code.
using (RegistryKey keys = Registry.LocalMachine.OpenSubKey(a_Path, RegistryKeyPermissionCheck.ReadWriteSubTree, RegistryRights.FullControl))
{
// Doing some operation like reading some value
}
Exception:
Requested registry access is not allowed.
Can any body help me to come out.

Amit GuptaPosted Jul 13, 2017, 6:43 AM
Sujeet SumanPosted Jul 13, 2017, 6:21 AM
SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall
Amit GuptaPosted Jul 13, 2017, 6:08 AM
Sujeet SumanPosted Jul 13, 2017, 5:45 AM
Amit GuptaPosted Jul 13, 2017, 5:20 AM
Sujeet SumanPosted Jul 13, 2017, 5:03 AM
Amit GuptaPosted Jul 13, 2017, 4:53 AM