Scripting Question

Can you use a batch file to install a program through KACE?

12/23/2015 1650 views
I am having issues trying to install MicroStation using a batch file script. I have accessed the network share where the deployment of the program exists and the installation begins, but eventually I receive error 1603 stating that "a fatal error has occurred during installation". Does anyone have any insight as to why I would be able to run my batch file successfully by running it on the PC itself but not through KACE?

0 Comments   [ + ] Show comments


All Answers

the install runs as system

To use the network share in an install batch

create a user with r/o rights to the share
then in your batch file on the first line do a "net use X: \\server\installshare /user:domain\rouser password
then go to the x drive in your install batch to run the apps on the share. 
for the last line do a net use x: /delete
Answered 12/23/2015 by: SMal.tmcc
Red Belt

  • Like SMal said, the agent runs as LocalSystem, which does not have admin rights and typically doesn't have access to the network.

    You can test batch files and other installs by using this method. If it works, then it will work as LocalSystem: https://support.software.dell.com/k1000-systems-management-appliance/kb/111788
  • This is the batch that I use:


    net use x: /delete

    net use x: \\servername\KACE_test\Micro /user:domain\KACETEST Kt12345678 /p:yes

    "x:\MicroStation V8i (SELECTseries 3)\setup.exe"


    KACETEST is the user that I created that has read only rights. Kt12345678 is the password. I am still receiving the same error. Am I missing something?
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