Even there is registry hive HKEY_CLASSES_ROOT then what is the need of HKEY_LOCAL_MACHINE\SOFTWARE\Classes registry hive? What is the need of having duplicate entry?

0 Comments   [ - ] Hide Comments


Please log in to comment

Answer this question or Comment on this question for clarity



HKEY_CLASSES_ROOT combines both HKLM\Software\Classes and HKCU\Software\Classes

So on one hand it combines per-machine and per-user registrations, and also it's there to provide a merged view for older applications (16 bit)

Answered 01/08/2014 by: pjgeutjens
Red Belt

  • If HKEY_CLASSES_ROOT is having both HKCU and HKLM entries then what is the need of having the HKLM\Software\Classes and HKCU\Software\Classes hives? we can use only HKEY_CLASSES_ROOT rt?
    • yes, you can use HKCR
      But HKCR is in fact an ad-hoc combination of HKCU\SOFTWARE\Classes and HKLM\SOFTWARE\Classes. It does not exist without the 2 others. It gets populated when a user logs in but is not really something that exists in and of itself.

      (hope that makes sense)
  • http://msdn.microsoft.com/en-us/library/windows/desktop/ms724475%28v=vs.85%29.aspx
Please log in to comment