Problem reading HKLM on windows Server 2008

(imported topic written by SATO91)

Hi all,

I’ve noticed problems reading registry values in the HKLM hive on Windows Server 2008.

For example:

+Q: exist key “HKLM\Software\Symantec” of registry

E: False

Q: exist key “HKLM\Software\RegisteredApplications” of registry

E: True+

Both keys exist on my system and I can’t identify any permission differences between them. The first one was created during the installation of an application and the other one comes with the OS.

I can read everything under “HKCU\Software”, even the keys I create manually so it seems to be specific to the HKLM branch.

Finally, these questions work just fine on my win2000 and win2003 systems. Also, a simple +reg query “HKLM\SOFTWARE\Symantec” /s + from a command prompt works just fine.

BES version 7.2.4.6

(imported comment written by Lee Wei)

Is the Windows Server 2008 computer a 64bit OS?

You can try accessing both the 32 and 64 bit registries:

exist key “HKLM\Software\Symantec” of x32 registry

exist key “HKLM\Software\Symantec” of x64 registry

“exist key “HKLM\Software\Symantec” of native registry” gives you the native registry. Meaning on the 64bit system, it will access the 64bit registry.

This could be the reason for the difference.

(imported comment written by SATO91)

This solved the problem.

Many thanks!