Rolling out a .bat, ps1 and some other files through kace 1000 - I usually do managed software installs but this is different - help?

I have a few files to get the microsoft telemetry and advanced windows analytics working in office365. To prep the machine, there is a RUNCONFIG.BAT which must run under system. It calls a PS1 file.

Normally, if this resulted in a software being installed, i would just zip everything up and put it under managed software installations.

This doesn't result in software being deployed, so I don't know what to do here. I want it to copy these files to the machines, and run the runconfig.bat


any guidance is appreciated!

0 Comments   [ + ] Show comments

Answers (2)

Posted by: akmagnum 3 years ago
Red Belt

Why not use a script.

Zip the files up and upload it as a dependency. (Files...NOT the folder).

Then use the "Launch a program " option  in the tasks.

I believe the "dependencies" get downloaded to the kace

folder on the machine before they get run as system. So no need to copy.

The folder in windows is........"C:\ProgramData\Dell\KACE\kbots_cache\packages".

You can check it.

Posted by: AndyH 3 years ago
Senior White Belt

How are you calling the powershell script? The below line works for me from a .bat fileĀ in various deployments:

%SystemRoot%\system32\WindowsPowerShell\v1.0\powershell -nologo -executionpolicy bypass -noprofile -file script.ps1

You may want to put in the full path to the script.

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