I'm going to play around with it, but I think you could create a restart application and insert it in the dependency chain wherever you want the restart. Here is what I'm thinking:
Restart application that has detection criteria of "C:\temp.temp" exists, user experience reboot behavior "Determine behavior based on return codes" and the application content is a batch file that runs: Echo 1 > C:\Temp.Temp Shutdown -r Exit /b 1641 In my testing, if a dependency returns 1641 everything stops and waits for a reboot, but ConfigMgr won't initiate a reboot. If you manually restart, the computer comes back up and the application chain continues error free. I haven't tested this yet. If this works, I have to figure out where in the chain I can remove the temp file without breaking it. So, do you all think this would work? On Sun, Jul 14, 2013 at 8:11 PM, Ryan <[email protected]> wrote: > I just tested in my lab. The first app ran correctly, but the status now > is "Waiting for restart before completing changes". It's been two hours > now with no reboots, even though my client settings are set to wait 90 > minutes for a reboot. > > After the computer restarts, the application finishes installing 5-10 > minutes later. The problem is I have to manually restart the computer to > continue with the install. > > I've got SP1 in the lab, no CUs installed. > > > On Sun, Jul 14, 2013 at 6:17 PM, Todd Hemsell <[email protected]> wrote: > >> extensive testing on apps. >> >> >> On Sun, Jul 14, 2013 at 5:54 PM, Jason Sandys <[email protected]> wrote: >> >>> I can’t say I’ve tried it lately so may not be remembering correctly, >>> but as long as the dependency has the reboot configured on it, it should >>> reboot (and does to the best of my memory). Definitely worth testing out >>> though (on both apps and programs).**** >>> >>> ** ** >>> >>> J**** >>> >>> ** ** >>> >>> *From:* [email protected] [mailto: >>> [email protected]] *On Behalf Of *Todd Hemsell >>> *Sent:* Sunday, July 14, 2013 5:43 PM >>> *To:* [email protected] >>> *Subject:* Re: [mssms] RE: OT: Johan Webinar for BDNA**** >>> >>> ** ** >>> >>> ConfigMgr does not reboot, even wen you tell It to. I waits until the >>> dependency chain is finished, then it reboots.**** >>> >>> I truly would love to be shown wrong on this as it is causing us issues. >>> **** >>> >>> On Sun, Jul 14, 2013 at 8:44 AM, Jason Sandys <[email protected]> wrote:** >>> ** >>> >>> Dependency chains should survive reboots no problem without the use of >>> a task sequence as long as it’s ConfigMgr that initiated the reboot because >>> the first app installed is not the one deployed so when the system starts >>> again it will see that a deployed app is not yet installed. Program >>> dependencies survived reboots in 2007 and 2003 so this should really be no >>> different.**** >>> >>> **** >>> >>> Also, when you say revoke approvals, I hope you’re not talking about >>> ConfigMgr approvals – they (unfortunately) cannot be revoked. The WMI >>> objects are marked as read-only. You may be able to elevate the account >>> used to local System and get it done that way, but for whatever reason, >>> they were coded to be permanent and immutable.**** >>> >>> **** >>> >>> Have fun figuring out intention, I don’t envy you there.**** >>> >>> **** >>> >>> Also remember that Application Installs take precedence over uninstalls >>> so you must make sure you remove the user/system from the deployment scope >>> of the install deployment also.**** >>> >>> **** >>> >>> J**** >>> >>> **** >>> >>> *From:* [email protected] [mailto: >>> [email protected]] *On Behalf Of *Nick Moseley >>> *Sent:* Sunday, July 14, 2013 8:33 AM >>> *To:* [email protected] >>> *Subject:* RE: [mssms] RE: OT: Johan Webinar for BDNA**** >>> >>> **** >>> >>> For what it’s worth, someone has developed a PS script to facilitate >>> this as such.**** >>> >>> **** >>> >>> >>> http://powersheller.wordpress.com/2012/05/24/sccm-2012-execute-task-sequence-with-powershell/ >>> **** >>> >>> **** >>> >>> Nick | http://t3chn1ck.wordpress.com**** >>> >>> **** >>> >>> *From:* [email protected] [ >>> mailto:[email protected] <[email protected]>] >>> *On Behalf Of *Johan Arwidmark >>> *Sent:* Friday, July 12, 2013 12:21 AM >>> *To:* [email protected] >>> *Subject:* RE: [mssms] RE: OT: Johan Webinar for BDNA**** >>> >>> **** >>> >>> You can deploy a script to a user that puts his/her machine into a >>> collection that deploys a task sequence… with or without web services…** >>> ** >>> >>> **** >>> >>> / Johan**** >>> >>> **** >>> >>> *From:* [email protected] [ >>> mailto:[email protected] <[email protected]>] >>> *On Behalf Of *Todd Hemsell >>> *Sent:* den 11 juli 2013 17:35 >>> *To:* [email protected] >>> *Subject:* Re: [mssms] RE: OT: Johan Webinar for BDNA**** >>> >>> **** >>> >>> cannot advertise a TS to a user. **** >>> >>> **** >>> >>> I will have an answer to both eventually as it is a requirement. Will >>> send it to you when I get it.**** >>> >>> On Thu, Jul 11, 2013 at 5:49 PM, Johan Arwidmark < >>> [email protected]> wrote:**** >>> >>> No cheating, the Q&A is *after* the session J**** >>> >>> **** >>> >>> 1. I have no idea**** >>> >>> 2. Use a task sequence J**** >>> >>> **** >>> >>> / Johan**** >>> >>> **** >>> >>> *From:* [email protected] [mailto: >>> [email protected]] *On Behalf Of *Todd Hemsell >>> *Sent:* den 11 juli 2013 15:33 >>> *To:* [email protected] >>> *Subject:* Re: [mssms] RE: OT: Johan Webinar for BDNA**** >>> >>> **** >>> >>> 1st - how do you create an advertisement to reclaim unused software that >>> was delivered via user advertisement?**** >>> >>> **** >>> >>> If the answer seems obvious you are missing the nuances of the issue. ** >>> ** >>> >>> Serious question. I am going to have to write an app that figures out >>> "why" the software is on the machine, then somehow kill the ad and the >>> approval, then drop the machine into a collection to have it removed.*** >>> * >>> >>> **** >>> >>> 2nd - How can you do a reboot between applications in a dependency chain? >>> **** >>> >>> **** >>> >>> DO not want to spring it on you in a session as that is sort of rude, >>> but I know you like difficult to solve issues.**** >>> >>> >>> >>> **** >>> >>> On Thu, Jul 11, 2013 at 5:16 PM, Johan Arwidmark < >>> [email protected]> wrote:**** >>> >>> Bring it on J**** >>> >>> **** >>> >>> / Johan**** >>> >>> **** >>> >>> *From:* [email protected] [mailto: >>> [email protected]] *On Behalf Of *Marcum, John >>> *Sent:* den 11 juli 2013 12:51 >>> *To:* [email protected] >>> *Subject:* RE: [mssms] RE: OT: Johan Webinar for BDNA**** >>> >>> **** >>> >>> Back on topic here…. I didn't even notice that part. I did see that >>> Johan is doing a 1 hour Q&A after his presentation. That’s pretty cool. I >>> think we should collectively come up with a list of "Let's try to stump >>> Johan" questoins. :-)**** >>> >>> **** >>> >>> **** >>> >>> **** >>> >>> **** >>> * >>> ------------------------------ >>> * >>> >>> *John Marcum* >>> *Sr. Desktop Architect***** >>> >>> *Bradley Arant Boult Cummings LLP***** >>> ------------------------------ >>> >>> **** >>> >>> *From:* [email protected] [ >>> mailto:[email protected] <[email protected]>] >>> *On Behalf Of *Todd Hemsell >>> *Sent:* Thursday, July 11, 2013 2:40 PM >>> *To:* [email protected] >>> *Subject:* Re: [mssms] RE: OT: Johan Webinar for BDNA**** >>> >>> **** >>> >>> doubt it, they are competitors. I am admiring their restraint. **** >>> >>> **** >>> >>> Good job 1e.**** >>> >>> **** >>> >>> >>> >>> **** >>> >>> On Thu, Jul 11, 2013 at 2:32 PM, <[email protected]> >>> wrote:**** >>> >>> I believe that’s called, “shameless plug” :P**** >>> >>> **** >>> >>> *Christopher Catlett***** >>> >>> Consultant | Detroit**** >>> >>> Office 248-876-9738 |Fax 877.406.9647 **** >>> >>> **** >>> >>> *Sogeti USA***** >>> >>> 26957 Northwestern Highway, Suite 130, Southfield, MI 48033-8456**** >>> >>> www.us.sogeti.com**** >>> >>> **** >>> >>> *From:* [email protected] [mailto: >>> [email protected]] *On Behalf Of *Todd Hemsell >>> *Sent:* Thursday, July 11, 2013 3:28 PM >>> *To:* [email protected] >>> *Subject:* Re: [mssms] RE: OT: Johan Webinar for BDNA**** >>> >>> **** >>> >>> I hope that is sarcasm :-)**** >>> >>> **** >>> >>> On Thu, Jul 11, 2013 at 10:41 AM, Troy Martin <[email protected]> >>> wrote:**** >>> >>> A demo of how BDNA can reduce your overall time to migrate by over 70%** >>> ** >>> >>> **** >>> >>> WOW!?!?**** >>> >>> **** >>> >>> *Troy L. Martin* | Principal Consultant**** >>> >>> *1E | Empowering Efficient IT***** >>> >>> US Mobile: +1 678-898-6147**** >>> >>> UK Mobile : +44 208 326 9141**** >>> >>> [email protected] | www.1e.com**** >>> >>> **** >>> >>> Facebook <http://www.facebook.com/1eglobal> | >>> Twitter<https://twitter.com/1e_global/>| >>> YouTube <http://www.youtube.com/1enews> | Blogs <http://blogs.1e.com/>| >>> RSS <http://blogs.1e.com/index.php/feed/>**** >>> >>> Please consider the environment before printing this e-mail**** >>> >>> **** >>> >>> *From:* [email protected] [mailto: >>> [email protected]] *On Behalf Of *Marcum, John >>> *Sent:* Wednesday, July 10, 2013 3:55 PM >>> *To:* SMS List ([email protected]); [email protected] >>> *Subject:* [mssms] OT: Johan Webinar for BDNA**** >>> >>> **** >>> >>> Looks like BDNA is starting the "Guru" series back up but under a >>> different name. They aren't pulling out any stops on this one, they have >>> Johan as the first speaker. See this site for registration info:**** >>> >>> **** >>> >>> >>> http://info.bdna.com/201307WindowsMigrationWebinarJuly17_RegistrationLP.html >>> **** >>> >>> **** >>> >>> **** >>> >>> **** >>> >>> **** >>> >>> **** >>> ------------------------------ >>> >>> >>> Confidentiality Notice: This e-mail is from a law firm and may be >>> protected by the attorney-client or work product privileges. If you have >>> received this message in error, please notify the sender by replying to >>> this e-mail and then delete it from your computer.**** >>> >>> **** >>> >>> **** >>> ------------------------------ >>> >>> >>> >>> DISCLAIMER: This is a PRIVATE AND CONFIDENTIAL message for the ordinary >>> user of this email address. If you are not the intended recipient, please >>> delete without copying and kindly advise us by e-mail of the mistake in >>> delivery. NOTE: Regardless of content, this e-mail shall not operate to >>> bind 1E to any order or other contract unless pursuant to explicit written >>> agreement or government initiative expressly permitting the use of e-mail >>> for such purpose.**** >>> >>> **** >>> >>> **** >>> >>> **** >>> >>> **** >>> >>> **** >>> ------------------------------ >>> >>> >>> Confidentiality Notice: This e-mail is from a law firm and may be >>> protected by the attorney-client or work product privileges. If you have >>> received this message in error, please notify the sender by replying to >>> this e-mail and then delete it from your computer.**** >>> >>> **** >>> ------------------------------ >>> >>> >>> Confidentiality Notice: This e-mail is from a law firm and may be >>> protected by the attorney-client or work product privileges. If you have >>> received this message in error, please notify the sender by replying to >>> this e-mail and then delete it from your computer.**** >>> >>> **** >>> >>> **** >>> >>> **** >>> >>> **** >>> >>> **** >>> >>> **** >>> >>> **** >>> >>> ** ** >>> >>> ** ** >>> >>> >> >> >

