Command to start a File sync like you do for scripts

I have used the command "RunKBot.exe 4 0" for years to force an inventory. I have also used this line but changed out the 4 with the script number (e.g. runkbot.exe 544 0).

Is there any way to do the same thing for the "File Synchronizations"?
I would like to have the file sync run as a task in a script and then run the powershell script for the install.

This comes as we are looking to support larger installs without having staff be on the VPN.

0 Comments   [ + ] Show comments

Answers (1)

Posted by: torstenspitz 1 year ago
Yellow Belt

FileSynchronisation is done after Inventory.

To achieve what you want to do just add the file for synchronisation to the script that runs the powershell in KACE. 

It will be available at $(KACE_DEPENDENCY_DIR)


Then you can run the script with its id with runkbot.

  • The problem is that I have installs that have 6+ GB zip file. That is just too large for the dependencies to work.
    Now if I could just use the SMB share to upload the larger files and attach them to a script like you do for software. That would take out this extra step. - DLCurtis 1 year ago
    • runkbot 6 0 will do FS - but you only can have one KDeploy process running. - torstenspitz 1 year ago
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