/build/static/layout/Breadcrumb_cap_w.png

Best Practices Question


HKEY_LOCAL_MACHINE\SOFTWARE\Classes and HKEY_CLASSES_ROOT

01/08/2014 9299 views

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   [ + ] Show comments

Comments


All Answers

1

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
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ