/build/static/layout/Breadcrumb_cap_w.png

Updating the InventoryData.Software on a single machine

I am cleaning up some software on computers individually and need the InventoryData.software to update so it will show as compliant. Is there a way to update this manually, running the kbot 4 0  doesn't update this file just the inventory.xml. 

2 Comments   [ + ] Show comments
  • I believe InventoryData.Software is the result of the Inventory.exe process, which is run as part of the Software Inventory (not Software Catalog). That should be executed during a regular inventory. Have you tried forcing an Inventory from the Device's Inventory page? - ondrar 6 years ago
    • Yes, when I do a force inventory it updates the inventory.xml but only sometimes will it update the inventorydata.software file. When I do a runkbot 4 0 it takes less attempts but still does not update every time. - jrunkles1221 6 years ago
  • If you go to Settings > Provisioning > Communication Settings, what do you have set for the Agent Inventory and Catalog Inventory? - ondrar 6 years ago
    • Agent Inventory is 2 hours and Catalog is 1 day. - jrunkles1221 6 years ago

Answers (3)

Posted by: chucksteel 6 years ago
Red Belt
3
The Inventory.exe process is part of the Software Catalog and it updates the InventoryData.software file. You can force it to update by running the *** Upload SAM Catalog Data *** script. This is a hidden script, so you can only see it by showing all scripts, e.g. https://kace/adminui/kbot_list.php?SHOWALL=1

That will give you the ID of this script on your KBox.


Comments:
  • Thanks, I knew there had to be a way to force the Software Catalog inventory, but I didn't know how to see all scripts!
    Thanks for the correction on the inventories, too! I had them backwards. - ondrar 6 years ago
Posted by: BNewland 3 weeks ago
Senior Yellow Belt
0

Just wanted to add my notes in here, as I needed to manually update the software catalog on a machine so I could attach an installer for a managed install.


The "kbot_list.php?SHOWALL=1" no longer shows hidden KACE scripts.


If you have KACE 14.1, you can use runkbot 8 0 per https://support.quest.com/kb/4347637/sma-agent-runkbot-exe-command-switches

I am only on SMA 14.0. I went to C:\ProgramData\Quest\KACE\kbots_cache\ and opened each file with notepad one by one until I found one that mentioned "Upload SAM Catalog Data". The first part of the file name is the script ID. runkbot (id) 0 (in my case, "runkbot 362 0).On the computer I found it on, this file was generated very recently. On another computer, it didn't have this file, but I was able to use that ID I found to run it. You can probably find it by browsing the KACE MySQL (I use HeidiSQL), but at some point I think Quest changed the default password, and I don't want to reset our MySQL password in case someone else changed the password and is using it for automated stuff.

I am only on SMA 14.0. Go to the page for a device, go to the Logs and Diagnostics tab, expand Agent Logs, and look for "*** Upload SAM Catalog Data ***". The ID in the url for that log is the script ID. In my case, kbot_log.php?ID=362&MACHINE_ID=1576 - Catalog inventory script ID is 362, so "runkbot 362 0".

I should note that even after doing this, it still hasn't updated the software catalog page with the program I installed. Might take time to process on the server. However, you can verify it uploaded the data by looking at the log I just pointed you to.

Posted by: AbhayR 6 years ago
Red Belt
0
Software Catalog inventory runs after the regular inventory when you do the force inventory from server. There could be a delay of few minutes between them.
 
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