Software Deployment Question

I'm trying to run a .exe which has the following command afterwards "test.exe /mode silent ".

10/18/2018 1301 views
How can use SCCM to run this .exe?
0 Comments   [ + ] Show comments


  • This content is currently hidden from public view.
    Reason: Removed by member request For more information, visit our FAQ's.

All Answers


Create a simple script/batch file that contains your command line install.

Thereafter two SCCM deployment options:

1) Create SCCM Application which targets and runs your script.

2) Create SCCM Package which target your script or contain the command line within the program settings.

- Applications give more options when setting up. They require detection methods set to determine if a particular file, folder, Windows Guid, or Registry key exists. If the condition is met the application either runs or doesn't depending on your settings. Reporting is decent within SCCM Monitoring, Deployment Node.

- Packages are easier and less time consuming to setup, however reporting is not great, you only see if install was a success or failed.

Personally, I prefer Applications for software deployments, mainly for reporting and tracking status. However there are some instances where packages are extremely beneficial as well.

There is plenty of material online with demos on how to create both and the benefits of such.

Good luck!

Answered 10/19/2018 by: Maidens
Third Degree Blue Belt

  • I've tried both the application and package deployment but with the /mode silent at the end SCCM is having a hard time processing it.

    Do I need to put "" around the entire command line?
    • What did the AppEnforce.log within C:\Windows\CCM\Logs on target device tell you about the executing command line for the Application deployment?

try with: 

"%~dp0test.exe" "/mode silent"

you can put it in .cmd or .bat file and package it as application or package.

Answered 07/19/2019 by: rexxxxx
White Belt

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login


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