Trouble detecting breadcrumb registry key for imaging
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
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
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.
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)