Structure of Registry: HKCR vs. HKLM; Wow6432Node branch

pstein

New member
Member
VIP
Local time
11:39 AM
Messages
244
I have some questions about the structure and dependencies of Registry branches.

When I inspect (on 64bit Win 7) all entries of a certain program then I found two identical branches of it in

HKEY_CLASSES_ROOT\

and

HKEY_LOCAL_MACHINE\SOFTWARE\Classes\

Is the second a replication of the first?
In other words: If the second is not existing: Does it automatically acces the first as a kind of fallback information?

Similarly I found identical branches in

HKEY_LOCAL_MACHINE\SOFTWARE\Clients\Mail\

and

HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Clients\Mail\

Here the same question arises:
Is the second a mirror of the first?

What if they contradict each other: Which one has priority?

Peter
 

My Computer My Computer

At a glance

win7pro 64bit
Computer type
PC/Desktop
OS
win7pro 64bit

My Computer My Computer

At a glance

Windows 10 Pro 64 bitAMD FX 9590 8 Core Black EditionCorsair Vengeance 16GB DDR3AMD Radeon (TM) R9 380 Gaming Series
Computer type
PC/Desktop
Computer Manufacturer/Model Number
Custom Built By Me.
OS
Windows 10 Pro 64 bit
CPU
AMD FX 9590 8 Core Black Edition
Motherboard
MSI 990FXA GAMING (MS-7893)
Memory
Corsair Vengeance 16GB DDR3
Graphics Card(s)
AMD Radeon (TM) R9 380 Gaming Series
Sound Card
AMD High Definition
Monitor(s) Displays
Samsung 32" 60Hz 4ms Curved PLS LED
Screen Resolution
1920 X 1080
Hard Drives
C: 223 GB SSD = E: 465 GB HDD = F: 931 GB HDD = G: 149 GB HDD = H: 931 GB HDD
PSU
EVGA Supernova NEX750B 750W ATX EPS12V 80PLUS Bronze
Case
Cool Master
Cooling
Noctua NH-D15 Premium Cooler with 2x NF-A15 PWM 140mm Fan
Internet Speed
Fiber Optic: Download 332.7 Mbps / Upload 331.5 Mbps
Antivirus
Windows Defender
Browser
Slimjet (64bit)
The HKEY_CLASSES_ROOT key is just a link to HKEY_LOCAL_MACHINE\SOFTWARE\Classes. It is a different way to look at the same data. There are other examples of this in the registry.

The HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node subkey exists only in a 64 bit OS. It is used by 32 bit processes and when they attempt to access HKEY_LOCAL_MACHINE\SOFTWARE they will be redirected to HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node. While the contents may appear identical, and some subkeys may be, they are not the same. This is necessary when both 32 and 64 bit versions of the same application are installed. It is really a lot more complicated but that is the basic idea.

The file system and registry structure in a 64 bit OS has been criticized as being overly complicated and at first examination appears to make no sense. Even experienced developers who should know better have done this. But there are good and valid reasons for things being as they are, even if they are difficult to understand. I will not attempt to explain them here.
 

My Computer My Computer

At a glance

Windows 7 Pro 64 bitXeon W35208 GBNvidia Geforce 210
Computer type
PC/Desktop
Computer Manufacturer/Model Number
HP
OS
Windows 7 Pro 64 bit
CPU
Xeon W3520
Memory
8 GB
Graphics Card(s)
Nvidia Geforce 210
Back
Top