Repair Application from Software Center using SCCM 1810+

Benoit LecoursSCCM6 Comments

SCCM Repair Application

Beginning with SCCM 1810, you can now repair an application directly from software center on an SCCM client. A small but useful new feature! Before 1810, you would have to go through Control Panel (not useful if a user didn’t have admin rights) or by uninstalling and reinstalling the application using 2 distinct software center actions.

Now, you can directly initiate a Repair action in Software Center. The good news, is that’s really simple to do ! The only thing that you need to do is :

  • Upgrade to SCCM 1810
  • Add a repair command line to your application
  • Check the Repair option in your application deployments

If you haven’t upgrade to SCCM 1810 yet, we have a complete post for it. As the time of this writing SCCM 1810 is in slow ring, so you may see it in your console in a couple of days. If you don’t have it yet, follow our post to see how to switch your SCCM server in the Fast Ring.

Add SCCM repair command line

The first thing you need to do to have the SCCM application repair option is to add your repair command line in your application.

  • In the SCCM Console
  • Select the desired application, select the deployment type and go to the Properties
  • In the Program tab, specify the command to repair the application in the new box
SCCM Repair Application

You’ll have to find the silent switch for repairing your application as for the installation switches.

If you have an MSI, it will look like this :

https://www.advancedinstaller.com/user-guide/msiexec.html

SCCM Repair Application

Add the repair option in the SCCM Deployment

Once the application has a repair command line, we can add the option in the deployment

  • In the SCCM Console
  • Create a new deployment for your application
  • In the General tab, select your software and collection
SCCM Repair Application
  • In the content tab, ensure that your application is distributed, click Next
SCCM Repair Application
  • In the Deployment Settings tab, select Allow end users to attempt to repair this application
SCCM Repair Application
  • In the Scheduling tab, select the desired schedule
SCCM Repair Application
  • In the User Experience tab, select the desired options
SCCM Repair Application
  • In the Alerts tab, select the Alerts options
SCCM Repair Application

In the Completion tab, you can see the repair option has been enabled

SCCM Repair Application

Test SCCM Repair Application on Client

Let’s see the results on an SCCM client

  • Launch the Software Center
  • On our test client, 7zip has already been installed
  • Click on the application, a new Repair button is available
  • Once initiated, the repair command line is launched.
SCCM Repair Application
  • You can see the repair results in the AppEnforce log file.
SCCM Repair Application

A small but awesome new feature !

1 Star2 Stars3 Stars4 Stars5 Stars (3 votes, average: 5.00 out of 5)
Loading...

Share this Post

6 Comments on “Repair Application from Software Center using SCCM 1810+”

  1. I don ‘t seem to be able to create new deployments with powershell to include this feature. Anyone knows how to create/modify an app deployment that includes this parameter?
    Start-CMApplicationDeployment or Set-CMApplicationDeployment or New-CMApplicationDeployment don’t seem to have this parameter…

  2. Discovered a bit of a bug with the repair. If you run a batch file script, then the end user (non-admin) has the ability to Ctrl+C out of it and end up with an elevated command prompt. Surely MS could have included the option to run REPAIR as hidden as well as the installation/uninstall?

  3. Pingback: Blog: Repair Application from Software Center using SCCM 1810+ | SCCM Tips

Leave a Reply

Your email address will not be published. Required fields are marked *