/build/static/layout/Breadcrumb_cap_w.png

What's the best way to get K1000 to run UNC batch from MI

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

Answers (2)

Posted by: anonymous_9363 6 years ago
Red Belt
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.
Posted by: chucksteel 6 years ago
Red Belt
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).


Comments:
  • 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. - scrocafella 6 years ago
    • 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. - chucksteel 6 years ago
      • 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. - scrocafella 6 years ago
      • 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. - chucksteel 6 years ago
      • 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. - scrocafella 6 years ago

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