myITforum.com Community Forum myITforum.com Community Forum

Home  Forums  Blogs  Live Support chat  Search Articles  Wiki  FAQ  Email Lists  Register  Login  My Profile  Inbox  Address Book  My Subscription  My Forums 

Photo Gallery  Member List  Search  Calendars  FAQ  Ticket List  Log Out

All Forums RSS Feed Subscription:


  


How to fool client to rerun a package?

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
  Printable Version
All Forums >> [Management Products] >> Microsoft Systems Management Server >> SMS 2003 >> How to fool client to rerun a package? Page: [1]
Login
Message << Older Topic   Newer Topic >>
How to fool client to rerun a package? - 11/13/2006 5:28:15 PM   
bmair


Posts: 227
Score: 0
Joined: 3/3/2003
From: Da Bronx
Status: offline
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,

_____________________________

Bancroft
Affiliated Computer Services, Inc.
Information Management Senior Analyst
New York, New York
Post #: 1
RE: How to fool client to rerun a package? - 11/13/2006 6:03:54 PM   
skissinger


Posts: 1833
Score: 117
Joined: 9/13/2001
From: Sherry Kissinger
Status: offline
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.

< Message edited by skissinger -- 11/13/2006 6:12:02 PM >

(in reply to bmair)
Post #: 2
RE: How to fool client to rerun a package? - 11/13/2006 6:09:10 PM   
TimA

 

Posts: 32
Score: 0
Joined: 11/3/2006
Status: offline
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."

(in reply to bmair)
Post #: 3
RE: How to fool client to rerun a package? - 11/13/2006 6:43:37 PM   
mreavis


Posts: 761
Score: 77
Joined: 9/10/2002
From: Olathe, Kansas
Status: offline
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.

_____________________________

Michael Reavis
SMS Admin
MCSE, MCDBA, MCDST
Johnson County Goverment

(in reply to TimA)
Post #: 4
RE: How to fool client to rerun a package? - 11/15/2006 9:51:32 AM   
carway

 

Posts: 176
Score: 4
Joined: 12/11/2003
From: Warrenville, IL
Status: offline
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

(in reply to mreavis)
Post #: 5
RE: How to fool client to rerun a package? - 11/15/2006 10:05:25 AM   
TimA

 

Posts: 32
Score: 0
Joined: 11/3/2006
Status: offline
Wow, that looks like a pretty solid app.  Does it seem to work pretty well?  Anyone else tried it?

(in reply to carway)
Post #: 6
RE: How to fool client to rerun a package? - 11/15/2006 11:21:44 PM   
phaustein


Posts: 859
Score: 32
Joined: 3/21/2005
From: Washington, DC
Status: offline
Yes, all the time.  It works great.

_____________________________

Hope this helps.
Paul

(in reply to TimA)
Post #: 7
RE: How to fool client to rerun a package? - 11/16/2006 12:28:07 AM   
jkovarik

 

Posts: 30
Score: 0
Joined: 6/6/2001
From: jarrod_kovarik@hotmail.com
Status: offline
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

(in reply to phaustein)
Post #: 8
Page:   [1]
All Forums >> [Management Products] >> Microsoft Systems Management Server >> SMS 2003 >> How to fool client to rerun a package? Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts



  
Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI

0.297