How to fool client to rerun a package? (Full Version)

All Forums >> [Management Products] >> Microsoft Systems Management Server >> SMS 2003



Message


bmair -> How to fool client to rerun a package? (11/13/2006 5:28:15 PM)

Hello all!
  Is there a way to fool a client into re-running a package that it has already marked as having run.  That is, is there a way to get around the following message?
   "The program <%Programname%> will not run because it has been run before and it succeeded and policy indicates it should rerun only it it has previously failed. execmgr 11/13/2006 4:54:07 PM 4184 (0x1058)
CreateMandatoryRequestRecursively policy Install no need to re-run execmgr 11/13/2006 4:54:07 PM 4184 (0x1058)"

 
Thanks,




skissinger -> RE: How to fool client to rerun a package? (11/13/2006 6:03:54 PM)

If you don't have them yet, grab a copy of "Cory Becht's Right-click Tools", and/or the right-click tools available from Stuart Watret's site (which includes a sub-set of Cory's tools).  There's also sms Client Center, and SMSView.  Note the only ones you can reliably re-run are mandatory, machine-targetted ads.

All 4 of these tools have a "rerun" capability.

Edit: TimA's link below is for version 1.1 of Stuart Watret's addon's.  Go get the latest & greatest (version 1.3) from his web site.




TimA -> RE: How to fool client to rerun a package? (11/13/2006 6:09:10 PM)

You'll find a variety of console add-ons that are VERY useful to an SMS Administrator.  I believe this is a link to the one I'm using now.  It adds an SMS_Tools option to the standard right-click options.  You can do all kinds of things like initiate a software inventory, restart the SMS Agent Host, re-run an advertisement.  You can even create a few of your own, using the others as a guide.

http://www.myitforum.com/inc/upload/10773sms_console_additions.zip

Hope this is what you're after.  If not, and you're looking to target an entire collection to re-run an advertisement, you may be best off creating a new program and advertisement than using this "trick."




mreavis -> RE: How to fool client to rerun a package? (11/13/2006 6:43:37 PM)

basically the right click rereun advert just adds a new advertiment time to you existing advertisement, which you can do manually. if a program ran successfully, you can add a second mandatory time, or create a new program with the same command line, or delete the registry entry on the client you need it to run on.




carway -> RE: How to fool client to rerun a package? (11/15/2006 9:51:32 AM)

Here's a great tool for doing all kinds of things to an SMS client. I like having all the info it provides in one spot. I can do just about anything to a client that the various right-click tools can do plus more. The downside is that it works on only one PC at a time. Many of the right-click tools woirk on whole collections at a time.

http://sourceforge.net/projects/smsclictr




TimA -> RE: How to fool client to rerun a package? (11/15/2006 10:05:25 AM)

Wow, that looks like a pretty solid app.  Does it seem to work pretty well?  Anyone else tried it?




phaustein -> RE: How to fool client to rerun a package? (11/15/2006 11:21:44 PM)

Yes, all the time.  It works great.




jkovarik -> RE: How to fool client to rerun a package? (11/16/2006 12:28:07 AM)

If it is just on one machine, I usually hit the registry.

Remove the package ID from HKLM\Software\Microsoft\SMS\Mobile Client\Software Distribution\Execution History\System




Page: [1]

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
0.28125