/build/static/layout/Breadcrumb_cap_w.png

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

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

Answers (1)

Posted by: SMal.tmcc 8 years ago
Red Belt
0
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

Comments:
  • 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 - jknox 8 years ago
  • This is the batch that I use:

    {Echo

    net use x: /delete

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

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

    pause}

    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? - A.C. Jenkins 8 years ago
 
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