Scripting Question

Command line in SCCM package does not run the .exe

10/23/2018 2087 views
I have an .exe located on the local PC's in c:\program Files (x86), this .exe starts a Service on the local PC's.  I can run the command on a local PC running with the Admin. cmd, and also with a batch file. The .exe starts, and starts the service, but when I use this command line with the SCCM package, it shows successful, but the exe won't start, and the services does not start. cmd line: "C:\Program Files (x86)\OptiBot\bin\desktopsearchenginehost.exe" /install /provider="optibot" /silent /start . This works fine running locally and from a batch file locally.
0 Comments   [ + ] Show comments


All Answers

Does it work when started via PSEXEC (psexec -s "<<command line>>"). I'm asking as I'm supposing it may be related with the execution context. It worked tested manually as Administrator but SCCM executes the commands in SYSTEM context with user interactions disabled by default.
Answered 10/23/2018 by: rad33k
Fourth Degree Brown Belt

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