Wednesday, February 8, 2012

Error re-running SCCM Advertisement

In SCCM for advertisement when you assign the particular advertisement to be mandatory, the advertisement will only run once and if you attempt to rerun the same advertisement on the same machine you will get the error as shown in the screenshot below.

To overcome this issue, do the following
  1. launch regedit.exe on the machine facing the issue
  2. Navigate to the following key
    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\SMS\Mobile Client\Software Distribution\Execution History\System]
  3. You will find various keys with the package name that has been previously executed on the machine (example HUB000016 etc)
  4. Determine the package name that you are attempting to re-run and delete the key.
    Example if you are attempting to re-run HUB000016 then you should delete the key Hub000016
Once the above is done, you may re-run the advertisement and to expedite the process you may like to refresh the machine policy on the target machine.

No comments:

Post a Comment