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. MadSheep!

    MadSheep! MDL Junior Member

    Jul 12, 2009
    72
    23
    0
    you can add the 1,2,3,4,5.bat and the Rearm.xml as resources in your program and to create them with this line

    System.IO.File.WriteAllText("C:\temp\1.bat", My.Resources.batfile1)
     
  2. timesurfer

    timesurfer MDL Developer

    Nov 22, 2009
    8,524
    4,112
    270
    #382 timesurfer, Jun 11, 2010
    Last edited by a moderator: Apr 20, 2017
    (OP)
    Hey MadSheep! thanks for your figuring out the RE reg cmds in PMR's thread off of BOX program. Wanted to ask you what you mean to say here?

    Here is the .ahk before converted to .exe that we use to execute the .bat files.

    Code:
    Menu, First, Add, Install, ButtonInstall
    Menu, First, Add, Uninstall, ButtonUninstall
    Menu, First, Add, Check Rearms, ButtonCheckRearms
    Menu, First, Add, Manually Rearm, ButtonManuallyRearm
    Menu, First, Add, Check Rearm Task, ButtonCheckRearmTask
    Menu, First, Add, Instructions, ButtonInstructions
    Menu, MyMenuBar, Add, Click here to start using IR4!!!! , :First
    
    Gui, Menu, MyMenuBar
    
    Gui,Show,w169 h0,IR4 2.2
    return
    
    ButtonInstall:
    MsgBox,262180,IR4,Do you really want to Install Task?
    IfMsgBox,No
    return
    Run,1.bat,,
    Return
    
    ButtonUninstall:
    MsgBox,262180,IR4,Do you really want to Uninstall Task?
    IfMsgBox,No
    return
    Run,2.bat,,
    Return
    
    ButtonCheckRearms:
    Run,3.bat,,Hide
    MsgBox, 0,IR4,Please wait...,4
    Return
    
    ButtonManuallyRearm:
    MsgBox,262180,IR4,Do you really want to Manually Rearm?
    IfMsgBox,No
    return
    Run,4,, Hide
    Return
    
    ButtonCheckRearmTask:
    Run,5.bat,,
    Return
    
    ButtonInstructions:
    MsgBox,262208,IR4,`n`n1) Click Install and wait for the "SUCCESS" message then restart your computer`n`n2) Press F8 at boot then select "Repair your computer"`n`n3) Enter your language and logon info`n`n4) When the System Recovery window opens look for where it says "Operating System: windows 7 on (C:) Local disk" and notice if it says (C:), (D:), or (E:)`n`n5) Then select Command Prompt and type either "c:reset", "d:reset", or "e:reset" (without quotes) and press enter`n`n6) After it says "The operation completed successfully" click restart`n`n7) Disregard any non-genuine messages and wait till you get a window with this data`n`n-License Status: Initial Grace period`n-Time remaining: 30 days`n-Remaining Windows rearm count: 4`n`n* If windows is in notification click manually rearm 
    Return
    
    GuiClose:
    ExitApp
    1.bat changes and imports the XML
     
  3. MadSheep!

    MadSheep! MDL Junior Member

    Jul 12, 2009
    72
    23
    0
    sorry i thought you are using the some visual language to create your program not a script :rolleyes:
     
  4. timesurfer

    timesurfer MDL Developer

    Nov 22, 2009
    8,524
    4,112
    270
    #384 timesurfer, Jun 11, 2010
    Last edited: Jun 12, 2010
    (OP)
    In the IR4 Saga one guy put all his scipt in one .ahk file and MasterDisaster did his own console with just one .bat file although he might have changed it since we imported the XML now. Which makes me wonder if the XML code could be put into the .bat file or does it have to exist outside the bat in a seperate XML?

    Three people pm'd me and said they were going to write this in virtual basic or another language but I haven't seen anything yet...lol

    Unless we can somehow get to the subkeys in windows this might be as far as we take IR4 generally speaking. Anyway thanks for being a part of the IR4 Saga
     
  5. MadSheep!

    MadSheep! MDL Junior Member

    Jul 12, 2009
    72
    23
    0
    #385 MadSheep!, Jun 11, 2010
    Last edited: Jun 11, 2010
    one question after the 120 days you need to rerun the InfiniteRearm4?
     
  6. timesurfer

    timesurfer MDL Developer

    Nov 22, 2009
    8,524
    4,112
    270
  7. MadSheep!

    MadSheep! MDL Junior Member

    Jul 12, 2009
    72
    23
    0
    i read all the code nice work. keep going :)
     
  8. timesurfer

    timesurfer MDL Developer

    Nov 22, 2009
    8,524
    4,112
    270
    #388 timesurfer, Jun 12, 2010
    Last edited: Jun 12, 2010
    (OP)
    MasterDisaster writes the .bat file code. I do the GUI, content, general development and support

    Feel free to participate in the IR4 project ;) if indeed IR4 can progress further than it's current build
     
  9. MasterDisaster

    MasterDisaster MDL Expert

    Aug 29, 2009
    1,255
    675
    60
    How do you propose to that?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  10. timesurfer

    timesurfer MDL Developer

    Nov 22, 2009
    8,524
    4,112
    270
    Just keeping an open mind to what might be possible for the MDL code wizards...lol Otherwise I guess we'll call it quits and beers on me guys...lol
     
  11. MasterDisaster

    MasterDisaster MDL Expert

    Aug 29, 2009
    1,255
    675
    60
    The owner of the WPA subkeys is Network Service. The SPP runs under Network Service. One way would be to stop all services that are run under Network Service, then impersonate as Network Service and Delete the keys.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  12. timesurfer

    timesurfer MDL Developer

    Nov 22, 2009
    8,524
    4,112
    270
    So if lucky we'll get not have to reboot just somehow emulate Network Service or whatever, delete keys but still play the rearm/restart game every 30 days so ultimately all usage of IR4 would be inside windows. We wouldn't need "manually rearm button" or "check rearms" button. Maybe we'll still need instructions but barely dude...lol Mainly the focus would be how much duration would elaps between resets. Could it be frozen. How would that work...lol

    In looking into the "rearm" looking glass...lol
     
  13. Super_User

    Super_User MDL Junior Member

    Apr 14, 2010
    92
    55
    0
    #393 Super_User, Jun 12, 2010
    Last edited: Jun 12, 2010
    Wouldn't that mean modifying/replacing system files? I had the impression that one of the goals of the IR4 is to keep the Windows 7 "pure" and virtually untouched... no extra and modified files. Otherwise we're talking about... what?... almost an activation method?

    For that the IR4 would have to check and reset the 30 days and the re-arm count every day in one task and do that without reboot, without going into RE, without loss of boot time and without any interaction from the user. Hmmm... in that case you have a true infinite trial and that my friend would be an amazing accomplishment.
     
  14. timesurfer

    timesurfer MDL Developer

    Nov 22, 2009
    8,524
    4,112
    270
    #394 timesurfer, Jun 12, 2010
    Last edited: Jun 12, 2010
    (OP)
    Not sure it's perfect logic to assume that messing with system files means activation. I'm not sure how it'll get done but if it's better and uninstalls fine with no data residue and if other tools like daz work fine after IR4 usage then it's all good but the main thing I like that other programs lack is IR4 open source code for all to view and learn from...lol

    Yea ;)

    Edit: So everyone knows and doesn't think it's a mistake we removed the check task button as the information now in that cmd window is useless. Also we delete task after last rearm or 30 days before IR4 reinstall...lol

    I just did GUI work and 2.3 will have a confirmation box that displays after you get successful task installed message. It will offer an yes/no to restart now so it's automatic now like Daz, ODIN, ETC...

    Unless anyone has any other ideas like the whole "Inside Windows rearm reset task"...lol that's all I can think of for now...lol
     
  15. Super_User

    Super_User MDL Junior Member

    Apr 14, 2010
    92
    55
    0
    If the IR4 would ever developed into an activation tool then it wouldn't be IR4 anymore. It's purpose would change and its name would have to change too. Which bring us to the second part of you post:

    Agreed. The IR4, in its current stage, does exactly what it was designed to do. Unless there is a way to make all the tasks IR4 currently performs completely automated I would agree with you that, at least for now, there is nothing else to be done.

    Great work timesurfer and the IR4 Team!
     
  16. jverga

    jverga MDL Novice

    Apr 6, 2008
    24
    1
    0
    Windows 7 Standard Embedded is IR4 2.2 SUCCESS STORY! Even though you appear not to support this fine lightweight Windows 7 version it is working 100%! (There is NO slui.exe in 7 embedded and IR4 2.2 works GREAT). I have set clock ahead to 2012 and back again... the "Not Genuine" watermark goes away once I rearm.

    Please, do not close development until the "Inside Windows rearm reset" has been realized. You and MasterDisaster are geniuses and can do it.!!!

    One last suggestion: How about the option for a patched systemcpl.dll that always shows the "Windows Genuine" logo. (I replaced mine with the systemcpl.dll patched by Chew7)?

    With an "Inside Windows rearm reset" and a "Windows Genuine" logo patch option your InfiniteRearm tool will attain sheer perfection.

    Peace and thanks again for all you hard work and talent.
     
  17. Super_User

    Super_User MDL Junior Member

    Apr 14, 2010
    92
    55
    0
    It's more like temporary placing the project on ice.
     
  18. timesurfer

    timesurfer MDL Developer

    Nov 22, 2009
    8,524
    4,112
    270
  19. timesurfer

    timesurfer MDL Developer

    Nov 22, 2009
    8,524
    4,112
    270
    I missed something...lol