I'm assuming you want to suck all these registry keys into LANDesk under Custom Data? Can't be done without scripting. Here is little bit of Autoitscrip code that reads the first 5 keys under HKEY_LOCAL_MACHINE\SOFTWARE and places them in the Custom Fields reg key that LANDesk Automagically enters into the DB. You could even mod the code to stick all the keys in one key like DOMAIN1;DOMAIN2;DOMAIN3 so you don't have multiple keys. Too tired right now and it is sleeting and I have to jet. But this should give you an idea.
For $i= 1 to 5 ; change to something higher to grab more keys. $var = RegEnumKey("HKEY_LOCAL_MACHINE\SOFTWARE", $i) If @error <> 0 then ExitLoop MsgBox(4096, "SubKey #" & $i & " under HKLM\Software: ", $var) Regwrite("HKLM\Software\Intel\Landesk\Inventory\Custom Fields", $var, "REG_SZ", $var) Next
Where does this Autoscript go - in the LDAPPLE3.template file or somewhere else ?? I'd like to try it. Thanks.
1 of 1 people found this helpful
You would not use this in ldappl, you would run it as a scheduled task, or if you want it to run everytime the inventory scanner runs you would modify the ldschlp.ini.