/build/static/layout/Breadcrumb_cap_w.png

Run inventory through script

Morning all,

I am deploying out a particular software package through a K1 script and whilst this is working fine, I'd like to force a run inventory as part of the script. After the script has run across anumber of machines, I need to manually go into each machine and run the inventory process before they will show up on my report of "completed" machines". (a PITA when running it aginst the best part of 300 machines)

Any idea how I can do this?

Many thanks. Dave

0 Comments   [ + ] Show comments

Answers (2)

Answer Summary:
Answered by chucksteel: The following command runs an inventory update on Windows: "c:\program files\dell\kace\runkbot.exe" 4 0
Posted by: chucksteel 12 years ago
Red Belt
3
The following command runs an inventory update on Windows:
"c:\program files\dell\kace\runkbot.exe" 4 0

Comments:
  • Thanks! - I'll give it a go. - dpyett 12 years ago
  • as a FYI "c:\program files\dell\kace\runkbot.exe" 6 0 will refresh just Manage installs. So when testing a MI its quicker than waiting for the inventory to run. 4 0 will run inventory and refresh MI. - hmoore 12 years ago
Posted by: nshah 12 years ago
Red Belt
0
Just a little expansion on the command if anyone needs them

Link - http://www.itninja.com/blog/view/k1000-5-3-agent-commands-runkbot-exe


K1000 - 5.3 Agent Commands (runkbot.exe)


This is a list of agent commands given to me by support recently for 5.3:


Trigger inventory: KInventory.exe -machine -out "%ALLUSERSPROFILE%\Dell\KACE\inventory.xml"


Verify the inventory being submitted. There should be an inventory.yaml file in the same directory


Repairs kinventory: c:\program files\dell\kace\kinventory.exe -autorepair


Enables debugging: amptools.exe debug=true


runkbot 1 0 does bootstrap


runkbot 2 0 is called K1000 client run and runs Kupdater


runkbot 3 0 does scripting updates


runkbot 4 0 does check in/inventory


runkbot 5 0 does agent upgrades


runkbot 6 0 does managed installs and file syncs


Cache Directories:


For Win 7 - c:\programdata\dell\kace


For XP - c:\documents and settings\all users\dell\kace


Resets the hostname in the amp.conf: c:\program files\dell\kace\amptools.exe -resetconf host=hostname


To Access the log files with 5.3 Agent installed:


For Windows 7 - C:\ProgramData\Dell\Kace


For Windows XP - C:\Documents and Settings\All Users\Dell\Kace
 
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