WPNinjas HeaderWPNinjas Header

Repair Application on a Client when using the new Application Model of SCCM 2012

If you have deployed an application to clients and you get a call from the user that the application is not correctly installed. Or an installed application get corrupted during operation then you need to repair the application on the client.

With SCCM 2012 and mandatory advertisements you have the following possibilities to reach the goal:

  • Uninstall the application manually on the client.
  • Move the client to the uninstall collection and after the uninstall completed back to the install collection
  • The third option I explain in this blog post

First you have to create a package for every application you would like to allow repair. This should look like that:

CreatePackage

Then you have to create the REPAIR Program like this:

CreateProgram

This Program can contains always this command when you are using our launcher:

 

cmd /c RunLauncher.exe /uninstall && wmic /namespace:\\root\ccm path sms_client CALL TriggerSchedule "{00000000-0000-0000-0000-000000000121}"

This command starts first the uninstall of the application with the command “RunLauncher.exe /uninstall” and then executes the application evaluation cycle. This cycle starts the installation of the program immediately and the application should be repaired. You can change the uninstall command to every other command you like.

Follow me

0 Comments

Leave a Reply

Avatar placeholder

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.