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,527
    4,103
    270
    #541 timesurfer, Jun 16, 2010
    Last edited: Jun 16, 2010
    (OP)
  2. timesurfer

    timesurfer MDL Developer

    Nov 22, 2009
    8,527
    4,103
    270
    #542 timesurfer, Jun 17, 2010
    Last edited by a moderator: Sep 14, 2014
    (OP)
  3. MasterDisaster

    MasterDisaster MDL Expert

    Aug 29, 2009
    1,256
    674
    60
    The easier way to know when the grace period expires is slmgr /xpr
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. MasterDisaster

    MasterDisaster MDL Expert

    Aug 29, 2009
    1,256
    674
    60
    /xpr uses the GracePeriodRemaining from /dlv in minutes and adds it to the current time. SPP refreshes only at certain intervals and is not real time.

    That is why you see the difference. The actual time remaining would be time of rearm + 43200 minutes.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. timesurfer

    timesurfer MDL Developer

    Nov 22, 2009
    8,527
    4,103
    270
    So it's fine?

    It's ok to manually rearm before import task in my 4.bat. I wasn't certain which should come first import or manually rearm
     
  6. MasterDisaster

    MasterDisaster MDL Expert

    Aug 29, 2009
    1,256
    674
    60
    Rearm first then import is logical.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  7. timesurfer

    timesurfer MDL Developer

    Nov 22, 2009
    8,527
    4,103
    270
    Thank you for your time with this ;)
     
  8. MasterDisaster

    MasterDisaster MDL Expert

    Aug 29, 2009
    1,256
    674
    60
    #549 MasterDisaster, Jun 17, 2010
    Last edited by a moderator: Apr 20, 2017
    Finally found a way to automatically boot into RE. Add the following code to line #88 just after attrib +h %file%

    Code:
    reagentc /boottore >NUL
    You'll need to skip the "Press F8 at boot and select Repair your Computer".
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  9. MasterDisaster

    MasterDisaster MDL Expert

    Aug 29, 2009
    1,256
    674
    60
    #550 MasterDisaster, Jun 17, 2010
    Last edited by a moderator: Sep 14, 2014
    IR4 2.7 Test Version

    For people who don't want to wait, download the test version and leave some feedback

    IR4 2.7 Test Version
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  10. ingdiegotorres

    ingdiegotorres MDL Novice

    Nov 7, 2009
    38
    14
    0
  11. MasterDisaster

    MasterDisaster MDL Expert

    Aug 29, 2009
    1,256
    674
    60
    The command needs to be run from Windows itself. What the command does is adds a BCD entry to boot to RE. Echo will just display it as text on the command window.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  12. ingdiegotorres

    ingdiegotorres MDL Novice

    Nov 7, 2009
    38
    14
    0
    #553 ingdiegotorres, Jun 17, 2010
    Last edited: Jun 17, 2010
    I understand, but there is a problem running "reagentc / boottore" from IR4 2.7.exe, REAGENTC.EXE: error in the operation: 2, if I run 1.bat, works perfect
     
  13. MasterDisaster

    MasterDisaster MDL Expert

    Aug 29, 2009
    1,256
    674
    60
    #554 MasterDisaster, Jun 17, 2010
    Last edited: Jun 17, 2010
    Thank you for the feedback I'll look into it. At my end I don't have any problems.

    I don't understand the same bat file is also run from the program, how come only 1 command fails while the rest of them work :confused:
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  14. timesurfer

    timesurfer MDL Developer

    Nov 22, 2009
    8,527
    4,103
    270
  15. MasterDisaster

    MasterDisaster MDL Expert

    Aug 29, 2009
    1,256
    674
    60
    #557 MasterDisaster, Jun 17, 2010
    Last edited by a moderator: Apr 20, 2017
    You can remove the last two lines
    Code:
    :end
    pause
    Once the task is created the window will disappear.

    I noticed that the icon file was not being used by the ahk file. It is used only when compiling the executables.

    @ MadSheep

    Your files are not accessible since they are set for private sharing.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  16. timesurfer

    timesurfer MDL Developer

    Nov 22, 2009
    8,527
    4,103
    270
    #558 timesurfer, Jun 17, 2010
    Last edited by a moderator: Apr 20, 2017
    (OP)
  17. MasterDisaster

    MasterDisaster MDL Expert

    Aug 29, 2009
    1,256
    674
    60
    That might have been because you would have clicked OK immediately. On my system 1.bat runs for about 3-4 seconds, give some delay like before.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  18. timesurfer

    timesurfer MDL Developer

    Nov 22, 2009
    8,527
    4,103
    270
    Ok I can fix that inside the .afk I think brb