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
    #441 timesurfer, Jun 13, 2010
    Last edited: Jun 13, 2010
    (OP)
    I think we fixed it...lol

    Edit: I had a question. I noticed you set in task under the general tab in properties the only run when user is logged on. Did you do that on purpose. How would it behave if box checked to whether user or not is logged in. The box below it
     
  2. MasterDisaster

    MasterDisaster MDL Expert

    Aug 29, 2009
    1,255
    675
    60
    I did not set those settings. It came by default. Builtin user accounts have different properties, these cannot be edited.
     
    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
    True that. I should have noticed that it can't be checked...lol
     
  4. timesurfer

    timesurfer MDL Developer

    Nov 22, 2009
    8,524
    4,112
    270
    #444 timesurfer, Jun 13, 2010
    Last edited by a moderator: Apr 20, 2017
    (OP)
    Can you do a restart confirmation box after user clicks install. Like I have but through the 1.bat.

    Or should we say in instructions click install and your pc will restart automatically for you

    So install just puts files in c:\ then restarts or should we have confirmation to restart like the loaders

    Or do you think having it the way I set up in the GUI is fine. Do you think I gave enough delay before the window pops after clicking install?

    Code:
    ButtonInstall:
    MsgBox,262180,IR4,Do you really want to Install Task?
    IfMsgBox,No
    return
    Run,1.bat,,
    Sleep, 3000
    MsgBox,262180,IR4,Would you like to restart your PC now? 
    IfMsgBox,Yes
    ShutDown, 2
    Return
    sleep is like pause the 3000 is miliseconds and the 2 is like a switch in autohotkey that means restart
     
  5. MasterDisaster

    MasterDisaster MDL Expert

    Aug 29, 2009
    1,255
    675
    60
    I think the above code is fine.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. timesurfer

    timesurfer MDL Developer

    Nov 22, 2009
    8,524
    4,112
    270
    #446 timesurfer, Jun 13, 2010
    Last edited: Jun 14, 2010
    (OP)
    07-14-2009 14:37:28 = the date of RTM release right so whats with the 14:37:28? Is that the exact time...lol

    Also whats your opinion on the date we should set to for install date.

    It's weird how it's gets queued with automatic after restart import but doesn't when I click install with 2.3 right after. There must be some type of something going on there where one moment queued the next not same cmd

    later
     
  7. sebus

    sebus MDL Guru

    Jul 23, 2008
    6,384
    2,037
    210
    Great tool, but is there a minimal part which allows just to reset the rearm count back to default with NOTHING automated (no taks etc)

    sebus
     
  8. timesurfer

    timesurfer MDL Developer

    Nov 22, 2009
    8,524
    4,112
    270
  9. sebus

    sebus MDL Guru

    Jul 23, 2008
    6,384
    2,037
    210
    I am just asking...

    I have MAC activated Enterprise, which has Rearm remaining : 1

    (For no practical reason) I wonder if there is a way to reset this number to original 3

    sebus
     
  10. timesurfer

    timesurfer MDL Developer

    Nov 22, 2009
    8,524
    4,112
    270
    Use the link above to make a bat file then in RE in cmd pmt enter name of bat then restart then enter default key then after rearm and you'll get back to 3
     
  11. timesurfer

    timesurfer MDL Developer

    Nov 22, 2009
    8,524
    4,112
    270
  12. jverga

    jverga MDL Novice

    Apr 6, 2008
    24
    1
    0
    I just wiped my Windows 7 Standard Embedded partition (couldn't get secpol.msc and Office 2010 to work).

    I will retrieve the Embedded default key when I reinstall (with more Windows options enabled so I can get everything -hopefullly working).

    Will Magic Jellybean Keyfinder work to retrieve the key? Or can I somehow retrieve from my installation DVD?
     
  13. timesurfer

    timesurfer MDL Developer

    Nov 22, 2009
    8,524
    4,112
    270
    #453 timesurfer, Jun 14, 2010
    Last edited by a moderator: Apr 20, 2017
    (OP)
  14. MasterDisaster

    MasterDisaster MDL Expert

    Aug 29, 2009
    1,255
    675
    60
    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
    #455 timesurfer, Jun 14, 2010
    Last edited: Jun 14, 2010
    (OP)
    What is your logic for that answer? Wouldn't it be best to have OS install date before everything else? Instead of after
     
  16. MasterDisaster

    MasterDisaster MDL Expert

    Aug 29, 2009
    1,255
    675
    60
    When using a MAK key the rearm count is set to 1 and can be used only once. When you use IR4, it will install the default Retail key and give you 30 days + 4 rearms.

    Get the source here and just add REM to the schtasks line, if you don't want to create the task.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  17. MasterDisaster

    MasterDisaster MDL Expert

    Aug 29, 2009
    1,255
    675
    60
    #457 MasterDisaster, Jun 14, 2010
    Last edited by a moderator: Apr 20, 2017
    The following batch script will change the Install Date of the OS.
    Code:
    @echo off
    echo Set WshShell = CreateObject("WScript.Shell") >date.vbs
    echo WshShell.RegWrite "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\InstallDate", DateDiff("s", "70/1", DateAdd("n", WshShell.RegRead("HKLM\System\CurrentControlSet\Control\TimeZoneInformation\ActiveTimeBias"), "07/14/2009 02:26:40")), "REG_DWORD" >>date.vbs
    cscript /b date.vbs
    del date.vbs
    systeminfo | Findstr /C:"Original Install Date:"
    pause
    
    Save the above code as change.bat and Run as Administrator.
    Change the highlighted date to any date of your liking. If you want your original install date, look through the event log for your first login to the system.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  18. timesurfer

    timesurfer MDL Developer

    Nov 22, 2009
    8,524
    4,112
    270
    #458 timesurfer, Jun 14, 2010
    Last edited by a moderator: Apr 20, 2017
    (OP)
    Could you tell me in detail how to find my first login. So you have no stance on date to set since you don't believe it to be matter that WAT engages when searching or comparing to attempt to flag non-genuine

    Edit: Can you write script to find and set install date back to original in case people want to do that since you suggest it stay as was untouched

    Does anyone else have ideas as to what to set install date to be in advantage to avoiding detection form WAT
     
  19. MasterDisaster

    MasterDisaster MDL Expert

    Aug 29, 2009
    1,255
    675
    60
    To open Event Viewer, Press Start button then type event and press enter
    Go to Windows Log -> System
    Scroll to the end, look for the first date after 14 july
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  20. Daz

    Daz MDL Developer / Admin

    Jul 31, 2009
    9,530
    67,271
    300
    To be honest the date is the one thing you can't dodge.

    If I were to design WAT theres 3 bits of info I would look at.

    1) Install date - The date in which Windows 7 was said to be installed on the system
    2) The oldest Windows update or installed application date
    3) The current date - Which I would check via a timeserver

    If the oldest Windows update or application installation date is before the install date then I would flag you as non-genuine with reason "system modification found". And then the other one would obviously be if the current date goes way beyond the install date or Windows update/installed application date then I would flag you for the same reason.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...