/bundles/itninjaweb/img/Breadcrumb_cap_w.png

I'm trying to set up breadcrumbs, as shown in the Kontinuing Education videos (https://kace.webex.com/kace/lsr.php?AT=pb&SP=TC&rID=62320672&act=pb&rKey=abe79192e76cfdd3), for automatically kicking off managed installations from the k1000 on a newly imaged (from a scripted installation) machine.  I’ve got the custom inventory rule, smart label etc..  The registry key is created by a post install task and the computer shows up in inventory right away, but it never detects the registry key.  Settings are as follows:

Target machine OS is Windows 7 Pro x64 SP1, and that is a selected OS for the custom software item.

Custom Inventory rule:

RegistryValueEquals(HKEY_LOCAL_MACHINE\SOFTWARE\COM, Standard, 1) OR
RegistryValueEquals(HKEY_LOCAL_MACHINE64\SOFTWARE\COM, Standard, 1)

I've read somewhere on ITninja that to connect to a 64-bit registry hive you must have HKLM64

Postinstallation Task:

 REG ADD "HKLM\SOFTWARE\COM" /V Standard /t REG_SZ /d 1

I've exported the registry key that the Postinstallation Task creates:

 Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\COM]
"Standard"="1"

 I've put this key on a couple computers and forced inventory on all of them just to check, and none of them show up.

 

 

Answer Summary:
Created two separate softwares. One for 64-bit and one for 32, and separated accordingly. I believe spaces after each statement were an issue as well. RegistryValueEquals(HKEY_LOCAL_MACHINE\SOFTWARE\COM,Standard,1) RegistryValueEquals(HKEY_LOCAL_MACHINE64\SOFTWARE\COM,Standard,1)
Cancel
0 Comments   [ - ] Hide Comments

Comments

Please log in to comment

Community Chosen Answer


Answers

3

Try taking out the OR x64 line. See if it will work on just your x86 machines first. Then add in the x64. 

Answered 04/25/2013 by: dugullett
Red Belt

  • Excellent call. It does pick up 32-bit machines, thanks for your help. I created a new 64-bit one and just put the hklm64 bit query for it and it worked as well..
Please log in to comment
Answer this question or Comment on this question for clarity

Answers

0

try removing the spaces after the commas

Answered 04/25/2013 by: SMal.tmcc
Red Belt

  • Thanks for your answer. Tried, no change

    RegistryValueEquals(HKEY_LOCAL_MACHINE\SOFTWARE\COM,Standard,1) OR
    RegistryValueEquals(HKEY_LOCAL_MACHINE64\SOFTWARE\COM,Standard,1)
  • Make sure the Windows 7 Pro x64 SP1 selection is highlighted as a supported operating system. Under the computer make sure the OS name and service pack are correct.
    • Yes, I have made sure of that
Please log in to comment
This content is currently hidden from public view.
Reason: Removed by member request
For more information, visit our FAQ's.

0
Answered 12/01/2015 by: cblake
Red Belt

Please log in to comment
This content is currently hidden from public view.
Reason: Removed by member request
For more information, visit our FAQ's.