10/18/2018 578 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