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,
Answers (1)
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"