Re-advertise program to SMS client
Hi is there a way to re-advertise a program to an SMS advanced client once it has receieved it? I have read an article explaining the way to do this is to remove the registry key pertaining to the SMS package id. I've tried that and the program does not get readvertised to the client (the advertisement is set to run on a schedule everyday at 10am). I'm starting to believe this isn't even possible.
-Dan
-Dan
0 Comments
[ + ] Show comments
Answers (14)
Please log in to answer
Posted by:
Bladerun
17 years ago
You have several options:
1. Remove the appropriate key from 'HKLM\Software\Microsoft\SMS\Mobile Client\Software Distribution\Execution History\System.' and do a machine policy retrieval and the advertisement will re-run.
2. Right click on advertisement and Re-run it (Note: affects entire collection)
3. Add a second mandatory assignment time to the advertisement, though this will only re-run it on machines that it it failed on the first time.
There are tools available to point option #2 at a single machine as well.
1. Remove the appropriate key from 'HKLM\Software\Microsoft\SMS\Mobile Client\Software Distribution\Execution History\System.' and do a machine policy retrieval and the advertisement will re-run.
2. Right click on advertisement and Re-run it (Note: affects entire collection)
3. Add a second mandatory assignment time to the advertisement, though this will only re-run it on machines that it it failed on the first time.
There are tools available to point option #2 at a single machine as well.
Posted by:
omniwolf
17 years ago
Posted by:
Bladerun
17 years ago
Not group policy, rather 'Machine policy initiation and retrieval' from the Systems Management icon in the control panel. It basically forces the client to check in with the server.
And yes, your second assumption is correct, you could also just give it time and it will eventually reinstall (it's dependent on your client polling interval.)
And yes, your second assumption is correct, you could also just give it time and it will eventually reinstall (it's dependent on your client polling interval.)
Posted by:
Kedderz
17 years ago
try this tool http://www.myitforum.com/articles/8/view.asp?id=7099
allows you to re-run advertisements on any PC regardless of the state it is in. saved my bacon many a time!
allows you to re-run advertisements on any PC regardless of the state it is in. saved my bacon many a time!
Posted by:
MSIPackager
14 years ago
ORIGINAL: Bladerun
1. Remove the appropriate key from 'HKLM\Software\Microsoft\SMS\Mobile Client\Software Distribution\Execution History\System.' and do a machine policy retrieval and the advertisement will re-run.
Sorry to dig up an old thread but does anyone know how to force an advert to rerun from a client? I've tried the suggestion above but it didn't work - unless I'm missing something...
Scenario:
SMS has sucesfully run an advertisment on a machine - package is installed
Package is then uninstalled manually via add or remove programs
I want the advertisent to run again from SMS without doing anything in the SMS console
If I rollback the test machine to the baseline snapshot the advert runs again automatically so there is obviously data stored locally which can be removed to get the advert to run again... anyone?
Maybe it's just not that straighforward...
Thanks,
Rob.
Posted by:
AngelD
14 years ago
Posted by:
MSIPackager
14 years ago
Thanks for the reply Kim.
The "Presented Programs" key just contains a user SID (nothing else) so I assume it's the "Execution History" key - which contains adveristment ID keys - e.g. PPH0011B - each with a unique GUID subkey - e.g. cf7f3bbd-76de-11de-b438-00248191c017 with a reference to the program name within it.
I've tried deleting the advertisment key (and subkeys) but still nothing happening. I wonder if there is also something stored in the C:\Windows\System32\CCM folder structure?
It's annoying me now [:@]
The "Presented Programs" key just contains a user SID (nothing else) so I assume it's the "Execution History" key - which contains adveristment ID keys - e.g. PPH0011B - each with a unique GUID subkey - e.g. cf7f3bbd-76de-11de-b438-00248191c017 with a reference to the program name within it.
I've tried deleting the advertisment key (and subkeys) but still nothing happening. I wonder if there is also something stored in the C:\Windows\System32\CCM folder structure?
It's annoying me now [:@]
Posted by:
anonymous_9363
14 years ago
Posted by:
Jsaylor
14 years ago
Removing the associated programs from the execution history combined with a machine policy refresh should do what you're looking for. Here's a few things I can think of off the top of my head that might be preventing a program rerun:
1) Is the program chained to anything else? I believe you have to remove all chained programs from the execution history key before an advertisement will rerun
2) Are you allowing users to initiate the advertisement? I have no idea if this would affect a rerun or not, but it might!
3) Does this happen on more than one client? I sometimes have this issue if WMI is broken on one or two systems.
Provided you're using a right click toolkit of some variety, you might try forcing a program to rerun through that UI, and see if the behavior is the same.
1) Is the program chained to anything else? I believe you have to remove all chained programs from the execution history key before an advertisement will rerun
2) Are you allowing users to initiate the advertisement? I have no idea if this would affect a rerun or not, but it might!
3) Does this happen on more than one client? I sometimes have this issue if WMI is broken on one or two systems.
Provided you're using a right click toolkit of some variety, you might try forcing a program to rerun through that UI, and see if the behavior is the same.
Posted by:
MSIPackager
14 years ago
Thanks guys..
1) No there are no prerequisites
2) The advertistment is mandatory so users don't initiate it via control panel
3) I've only been testing on 1 client - I guess it could be a WMI issues, but if I rollback the snapshot and login with the same test account the advert runs again no problem.
There is literally no activity in the execmgr.log file (unless I logoff and on again!)
Can you ellaborate on a decent "right click toolkit" ? I've seen this but haven't tried it...
Cheers,
Rob.
1) No there are no prerequisites
2) The advertistment is mandatory so users don't initiate it via control panel
3) I've only been testing on 1 client - I guess it could be a WMI issues, but if I rollback the snapshot and login with the same test account the advert runs again no problem.
There is literally no activity in the execmgr.log file (unless I logoff and on again!)
Can you ellaborate on a decent "right click toolkit" ? I've seen this but haven't tried it...
Cheers,
Rob.
Posted by:
Jsaylor
14 years ago
fwahh? How is it that you live with SCCM's limitations? Anyway, I'm using this one at the moment, but that was more the luck of the google draw rather than any conscious choice, I'm sure the other toolkits out there are just as good. The function you're looking for on this one is right click on an asset --> SCCM Client Tools --> Rerun Advertisement.
Posted by:
anonymous_9363
14 years ago
Posted by:
langa100
14 years ago
Posted by:
Jsaylor
14 years ago
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
so that the conversation will remain readable.