/build/static/layout/Breadcrumb_cap_w.png

Run Script as a system account

I have a batch file which work on local machine on command prompt as administrator. when I execute to KACE SMA 1000 script as a system account. it does not work.


here is the command


Setup.exe /s /v"/l*v \"c:\doorslog\install.txt\" /qn INSTALLDIR=\"C:\Program Files\IBM\Rational\DOORS\9.6\" CLIENTDATA=\"36677@servername\" LAPAGREE=\"Yes\" TLLICENSESERVER=\"19353@servername\""


Please help.


Regards,


0 Comments   [ + ] Show comments

Answers (1)

Posted by: Kiyolaka 2 years ago
Third Degree Green Belt
0

What are you trying to install? 


What is the exact syntax you are using in kace and are you using the relative path and or including the kace script die variable for the executable?


While very rare, there are some installers that won't work right in system context.  Use psexec on a system to get a command prompt as system and try installing then with the comment print session running as system.


Based on the /qn switch this does also appear to be a MSI wrapped into an exe so assuming that the installer is being called, there should be some logging in the event viewer. You also can probably pass it the log file argument which is something like /L*v "log path"

 
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