Wednesday, January 2, 2013

SCCM Program rerun behavior

In my lab i have started testing an application. It has run successfully before so it won’t running again.
The advertisement set to “Rerun if failed previous attempt”. and the client reported to MP that it has been successful. so it is not running again. And I don’t want to change the program rerun behavior “Always rerun program.”.
so how can i rerun this program without changing the program re-run behavior.
The program run behavior is controlled by the client. Once the client ran a program it records in the registry. If we remove the registry, then the client thinks that the program never ran before and it executes.
Go to
HKLM\SOFTWARE\Wow6432Node\Microsoft\SMS\Mobile Client\Software Distribution\Execution History\System
Then identify the package then delete the key.
Update the machine policy and wait for the police to be updated. Soon the application will re-run on the targer machine.

3 comments:

  1. Nice find! For Cm12 on a 64 bit systems it is at HKLM\SOFTWARE\Microsoft\SMS\Mobile Client\Software Distribution\Execution History\System

    ReplyDelete
  2. Thanks for the information I was looking for this. :)

    ReplyDelete
  3. I deleted the registry key and ran Machine Policy Retrieval. But still the program did not re-run. Am I missing anything.

    ReplyDelete