/build/static/layout/Breadcrumb_cap_w.png

Help Needed - K2000 - Deploy folder to image - Post Deployment Task

I have written a script that automatically updates the BIOS settings on new laptops as part of the new deployment workflow.  The challenge is that when I try to run an xcopy from an "Everyone" network share, it doesn't work.  I'd like to be able to push the folder and files to a specific directory then execute against those files.  There will be multiple files needing to be extracted under a subdirectory of the root of C:\.  Is there a way currently within the K2000 that I could zip the files and folders up, upload to the system, and have it get extracted to the directory of my choosing?

This would need to be set up as a post-deployment task so that way I can dynamically update the contents of the folder without having to build an entirely new image each time I change something.


0 Comments   [ + ] Show comments

Answers (1)

Posted by: Hobbsy 3 months ago
Red Belt
0

If you think how you might achieve this using a managed installation in the SMA, you would create a zip file with all the files required and then run a batch file or similar to do whatever you need.

So create the zip file, remember use a proprietary zip product, not a windows compressed directory, include your batch file in the top directory, name the zip file with a .zip extension and then in the managed installation run your batch file as the command line.

When KACE runs this it will download the zip file, unpack it into a temp directory, then run the command line (batch file).

You can either export as a resource from the SMA and import as a post installation task into the SDA, or set this up as a post install task in you SDA from scratch

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

Share

 
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