/build/static/layout/Breadcrumb_cap_w.png

HKEY_LOCAL_MACHINE64

From the "Inventory and Asset Management" presentation at the 2011 Konference, I pulled this new information (that I can't find in the K1000 manual):

"Support was added for appending a 32 or 64 to the HKEY name as a clear way to know which hives is being used by the registry call. For example we can look for the status of automatic updates on each machine:
Native: RegistryValueReturn(HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows
\CurrentVersion\WindowsUpdate\Auto Update,AUOptions, TEXT)
32 bit: RegistryValueReturn(HKEY_LOCAL_MACHINE32\SOFTWARE\Microsoft
\Windows\CurrentVersion\WindowsUpdate\Auto Update,AUOptions, TEXT)
64 bit: RegistryValueReturn(HKEY_LOCAL_MACHINE64\SOFTWARE\Microsoft
\Windows\CurrentVersion\WindowsUpdate\Auto Update,AUOptions, TEXT)"

So I have some questions:

  1. Do these new terms, HKEY_LOCAL_MACHINE64 and HKEY_LOCAL_MACHINE32, work with the 5.1.38724 agent as well as the new 5.3 agents?
  2. The example shows HKEY_LOCAL_MACHINE64 and HKEY_LOCAL_MACHINE32 being used with the custom inventory field RegistryValueReturn function. Can they also be used in scripting? If so, logically they should work in the Verify section with all "Verify a registry..." steps, and in the other sections with all 5 of the "...registry..." steps. Is this true?
  3. In scripting, HKLM can be typed in place of HKEY_LOCAL_MACHINE, and the script editor expands it to the longer form. So can HKLM64 be used in place of HKEY_LOCAL_MACHINE64, and HKLM32 be used in place of HKEY_LOCAL_MACHINE32?
  4. Are other analogous registry keys supported, like HKEY_CURRENT_USER64 and HKEY_CURRENT_USER32? Any others?

Yes, I could learn all this by trial and error, but that would take quite a bit of time. I'm hoping one of the KACE gurus already knows the answers, and will share them! Sande

 

Hey, Dell KACE: Sure would like to see an answer to this! Other postings have also asked about HKLM64. How about we get all the answers in one place?


2 Comments   [ + ] Show comments
  • It's a year and a half later, and this _still_ is not documented, and I still don't know exactly where the 64 suffix can be used! Can anyone from KACE answer my 4 questions?

    And now I have another:
    5. Are the registry keys HKEY_USERS64 and HKEY_USERS32 also supported? (I hope they are, because we use these to modify Default User).

    Sande - snissen 11 years ago
  • I have a question to add to this (has anyone answered your first 5?):

    6. If I want my custom inventory rule to collect information from 32 bit machines AND 64 bit machines (so I get a complete and accurate listing of, for example, last successful windows updates) is there a way to collect from both trees depending upon architecture? - wafflesmcduff 9 years ago
    • You should be able to use the OR operator in a custom inventory rule to do both 32 and 64 bit. Otherwise you would need 2 rules. https://support.software.dell.com/k1000-systems-management-appliance/kb/118892 - jknox 9 years ago

Answers (0)

Be the first to answer this question

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

Share

 
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