IR5 - The Official Windows 7 Rearm Solution

Discussion in 'MDL Projects and Applications' started by timesurfer, May 10, 2010.

Thread Status:
Not open for further replies.
  1. timesurfer

    timesurfer MDL Developer

    Nov 22, 2009
    8,524
    4,112
    270
    Yea a reboot without RE Queues it. I guess like users have been instructed I actually always do the RE stuff. This happens if they don't so for user to "actually" do the RE cmds would fix this problem for them. So to me it seems inconsequential
     
  2. MasterDisaster

    MasterDisaster MDL Expert

    Aug 29, 2009
    1,255
    675
    60
    Here is what I have done.
    1. Click Install in IR4
    2. Decline the Reboot offer
    3. Reboot manually (no RE cmd)
    4. Open Task Scheduler
    5. View Status of Rearm Task.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. timesurfer

    timesurfer MDL Developer

    Nov 22, 2009
    8,524
    4,112
    270
    Yes I am getting what you are. I think my last post explains my answer to this
     
  4. MasterDisaster

    MasterDisaster MDL Expert

    Aug 29, 2009
    1,255
    675
    60
    If the reboot is done instantly, the task does not get queued. So you think that it won't be a problem, then we will leave it as it is.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. timesurfer

    timesurfer MDL Developer

    Nov 22, 2009
    8,524
    4,112
    270
    Ok so this is weird I just clicked install and did RE cmd and it's queued. I never remember that nor has it ever tried to rearm/restart. Whats going on here...lol
     
  6. MasterDisaster

    MasterDisaster MDL Expert

    Aug 29, 2009
    1,255
    675
    60
    You need to keep your system idle for exactly 10 minutes for the queued task to run.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  7. timesurfer

    timesurfer MDL Developer

    Nov 22, 2009
    8,524
    4,112
    270
    #427 timesurfer, Jun 13, 2010
    Last edited: Jun 13, 2010
    (OP)
    Well I've installed this a zillion times and once I had to be idle and it never gave a notification to restart/rearm and when I clicked install and didn't do cmds then rebooted it tried in 10 and I was using comp. Not idle. Could this be the new delete task after last rearm trigger causing this?

    We could put the instantly restart after install in the 1.bat instead of being in my GUI. What do you think? If the trigger is indeed causing this
     
  8. MasterDisaster

    MasterDisaster MDL Expert

    Aug 29, 2009
    1,255
    675
    60
    This is not because of the "delete immediately", it is because of the "run if missed". What really happens here is, after the reboot the task scheduler engine checks for tasks that are to be run and that are not yet run, and flags the rearm task because it has not yet run and has missed it scheduled timing (remember we have set it to "daily at time every 30 days).
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  9. timesurfer

    timesurfer MDL Developer

    Nov 22, 2009
    8,524
    4,112
    270
    #429 timesurfer, Jun 13, 2010
    Last edited: Jun 13, 2010
    (OP)
    Basically lets set this task accordingly to not cause problems for us.

    Do you have any other ideas
     
  10. MasterDisaster

    MasterDisaster MDL Expert

    Aug 29, 2009
    1,255
    675
    60
    I doubt that will change anything, it is the same, you doing it from the GUI or I doing it from the batch.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  11. timesurfer

    timesurfer MDL Developer

    Nov 22, 2009
    8,524
    4,112
    270
    This is strange it never did this before so was it last big XML change that caused this
     
  12. MasterDisaster

    MasterDisaster MDL Expert

    Aug 29, 2009
    1,255
    675
    60
    I think this has been a problem since the "run if missed" was set automatically, but nobody noticed it.

    I can set the start date 30 days ahead, but don't know whether it would be right. What do you say?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  13. timesurfer

    timesurfer MDL Developer

    Nov 22, 2009
    8,524
    4,112
    270
    #433 timesurfer, Jun 13, 2010
    Last edited: Jun 13, 2010
    (OP)
    I think this task stuff is difficult. Glad we picked up on this and if we can fix this yes do what you think will work

    So basically the idea to import XML is doing this. That sucks. Lets uncheck this at install then do a second import to run once after restart into windows to set this like the install key does

    Edit: So how are we going to deal with this? Sounds like the manual way was best cause importing XML triggers this queue with that advanced setting
     
  14. MasterDisaster

    MasterDisaster MDL Expert

    Aug 29, 2009
    1,255
    675
    60
    I told you so, the "run if missed" is not as great as it sounds.

    Yes the manual way is best, because it allows the user to check settings that mostly apply to them. I like the default settings, you like two more extra settings, some other user may want just one of them, another would not want the task at all.

    One man's food can be another man's poison
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  15. timesurfer

    timesurfer MDL Developer

    Nov 22, 2009
    8,524
    4,112
    270
    #435 timesurfer, Jun 13, 2010
    Last edited: Jun 13, 2010
    (OP)
    lol...It's not just not great as it sounds...lol It sucks...lol But I had no idea like you it would cause this...lol

    So next move for us would be to add that some how after install and RE and into windows. Wonder if it's possible to import it without it going into queue mode just that one setting for "rearm" task

    Or we'll create XML wihtout that setting and I'll put this in instructions:

    1. Please open task scheduler if you wish to check any extra advanced setting boxes for the "Rearm" task

    So not too big a deal. A true or false change in the XML and a directions change.

    I will change the name to 2.4 as to not confuse any old problems with new build

    lol...Maybe this is why MS gave us extra 30 days with SP1 to compensate. Maybe they like this program cause we keep people on windows to test longer...lol

    At least we're not bricking the bootsect...lol Right now...lol
     
  16. MasterDisaster

    MasterDisaster MDL Expert

    Aug 29, 2009
    1,255
    675
    60
    For the new version, what changes do you wish to make?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  17. timesurfer

    timesurfer MDL Developer

    Nov 22, 2009
    8,524
    4,112
    270
    #437 timesurfer, Jun 13, 2010
    Last edited: Jun 13, 2010
    (OP)
    MasterDisaster I think we just need to try to "runonce" after Re cmds the XML import. I just installed, RE cmds, restart then clicked install and it says ready not queued

    So XML import right after seems to not be problem just before. Can you confirm yes or no on that
     
  18. MasterDisaster

    MasterDisaster MDL Expert

    Aug 29, 2009
    1,255
    675
    60
    You want to install the whole task thing after the reset. That won't be a problem, I'll need to rework the batch file.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  19. timesurfer

    timesurfer MDL Developer

    Nov 22, 2009
    8,524
    4,112
    270
    So we put reset in c:\ for reset in RE but we don't do import til we get back which could be manual like a install task button but it would be better to have it run once then delete installkey, reset, XML and whatever else it there. I believe this will trigger correct non-queue response
     
  20. MasterDisaster

    MasterDisaster MDL Expert

    Aug 29, 2009
    1,255
    675
    60
    What I would do is copy reset.bat, rearm.xml and task.bat to C: on install. After the reset, I will call task.bat to import the XML and then delete the remaining files.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...