Hello All, 

I have a three AutoDesk programs I'm trying to get to run from a UNC path as it is a big program.  I also would like to run them in sequence.  Has anyone made this work using a batch file with UNC path in KACE managed Installation?   
0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Answers

0
By default, Kace - along with most other deployment systems - uses the local System account to do its stuff. As you know, this account has no access to network resources (unless you want to go through a bunch of hoops in AD). So you either need to:

- allow your users admin privileges and set the MI to run in a user context - which is obviously a spectacularly bad idea;
- copy the package locally and run it from there, or
- create a deployment account in AD, add it to the local Administrators group on all your machines (probably best to do that in your build process) and have all your installations run by that account.

Most people would probably choose option 2.
Answered 12/18/2017 by: VBScab
Red Belt

Please log in to comment
0
If your concern is storage space on the appliance, then you can use an alternate download location. That will allow you to store the download on another server and the appliance will get it from there. If you absolutely must run from a UNC location, then a script is the other option, but that will require that you mount the UNC path as part of the script (which leaves credentials in plain text somewhere).

Answered 12/18/2017 by: chucksteel
Red Belt

  • I'm not concerned about the space usually and I do have one of the three applications setup as a alternate download already to try it out. The thing is that it downloads that zip file to the users computer first than installs. All three Autodesk software by itself takes a little over an hour to install all three applications so download it first to the users computer then executing would take forever. I can run the batch file locally but with KACE it's like it doesn't see it. If there is another way to make it work in MI without the download that will be perfect. I see they have a "Run command only (do not download file)" don't know if that will work or not but seem to not been able to set that up correctly or just don't know what I'm doing with that piece.
    • If you can grant the computer accounts access to the network share, then you can have a batch script for the MI that mounts the share and executes the installation.
      • This is what I thought as well as all computers have access to this share. I even went so far as turning my batch file to and executable to see if that would work with no luck. Tried adding pushd and net use. Runs in a batch file locally but KACE won't launch the install with it. I have the batch zipped and in kace. If only I could mix MI and scripting together this will would work great. Scripting I can use the UNC path and it works great BUT I cant get my batch file for some reason to uninstall all the old 2017 Autodesk software. In MI I can get it to uninstall all the old software but can't get it to install the new from the UNC path haha.
      • Try using PSExec from the SysInternals suite to launch a command prompt as system. Then run the batch file from there. That will help you determine where the errors are occurring.
      • Quest is saying because of the file size AutoDesk Inventor (20GB) Autodesk Sim-Mec (14GB) and Vault (13GB) they said it would be hard to use MI and it doesn't work with UNC. They said it would be best if I used scripting but then they couldn't figure out why my uninstall batch task wouldn't wait for completion before going to Task 2 to install the new Autodesk software. Their recommendation is to use two scripts. One for uninstalling and one for installing haha. Don't really like this option but seems all I got.
Please log in to comment
Answer this question or Comment on this question for clarity