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.
Answers (1)
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