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.

Thomas Kurth

Thomas Kurth

I’m a consultant, trainer and architect for modern workplace and enterprise mobility projects with Microsoft Technologies in the past eight years. I love to push and design the modern workplace based on Windows 10, EM&S and O365 for my customers which is the only answer for the current security threats, agile world and the fast-changing business requirements of my customers. Important for me is to simplify and automate the operational processes, because there are the highest costs.

0 Comments

Leave a Reply

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.

Subscribe
Hosting sponsored by:
Archive