Regedit shows keys that are not listed using GetSubKeyNames()
I've checked some other replies on SO but as far I can see, this is a different issue than the hits I got. When I open RegEdit, I can see a set of keys but when I list them from my program using e.g.: Registry.LocalMachine.OpenSubKey(@"SOFTWARE").GetSubKeyNames() some of them are missing. I thought it might to do with the access rights so I checked .CurrentUser too. The same behavior can be experienced there. A few of the subkeys are just not listed. What am I missing? Ganesh R. Is your OS x64? If that is the case, for "LocalMachine\Software" there are two different nodes: Normal for x64 apps