GUIDE: How to really run Windows 7 forever without applying any cracks

Discussion in 'Windows 7' started by mcclausky, Apr 3, 2010.

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

    MasterDisaster MDL Expert

    Aug 29, 2009
    1,256
    674
    60
    #21 MasterDisaster, Apr 6, 2010
    Last edited by a moderator: Apr 20, 2017
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. MasterDisaster

    MasterDisaster MDL Expert

    Aug 29, 2009
    1,256
    674
    60
    @ Phazor

    Paymyrent was also able to get 4 rearms without restarting but he had to use one rearm to clear out of the notification mode or install a legit key (OEM or his token restore).
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. timesurfer

    timesurfer MDL Developer

    Nov 22, 2009
    8,527
    4,112
    270
    #23 timesurfer, Apr 6, 2010
    Last edited by a moderator: Apr 20, 2017
  4. MasterDisaster

    MasterDisaster MDL Expert

    Aug 29, 2009
    1,256
    674
    60
    #24 MasterDisaster, Apr 6, 2010
    Last edited by a moderator: Apr 20, 2017
    Script to create a scheduled task to rearm every 29 days. Save and run this script as administrator.

    Code:
    @echo off
    SET file=%windir%/system32/rearm.bat
    echo @echo off >%file%
    echo cscript //nologo slmgr /rearm >>%file%
    echo shutdown -r -t 90 /c "The rearm command was completed successfully. Windows will restart in 90 seconds" >>%file%
    schtasks /create /tn "Rearm" /tr %file% /sc daily /mo 29 /RL HIGHEST
    pause
    
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. Hazar

    Hazar MDL Guru

    Jul 29, 2009
    2,507
    456
    90
    might want to have /RU "NT AUTHORITY\System" and omit the /RL
     
  6. MasterDisaster

    MasterDisaster MDL Expert

    Aug 29, 2009
    1,256
    674
    60
    I have tested it and it works correctly as normal user with administrator rights.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  7. Hazar

    Hazar MDL Guru

    Jul 29, 2009
    2,507
    456
    90
    Yeah, but if it's run as the current user it's also visible to them. Running as SYSTEM logs on as a different user and makes it invisible. It's just a better way of doing it :)
     
  8. timesurfer

    timesurfer MDL Developer

    Nov 22, 2009
    8,527
    4,112
    270
    #28 timesurfer, Apr 6, 2010
    Last edited by a moderator: Apr 20, 2017
  9. MasterDisaster

    MasterDisaster MDL Expert

    Aug 29, 2009
    1,256
    674
    60
    #29 MasterDisaster, Apr 7, 2010
    Last edited by a moderator: Apr 20, 2017
    Run this from PE. It will remove the WPA key and add a runonce entry to install the key.
    Code:
    reg load HKLM\MY_SYSTEM "%~dp0Windows\System32\config\system"
    reg delete HKLM\MY_SYSTEM\WPA /f
    reg unload HKLM\MY_SYSTEM
    reg load HKLM\MY_SOFTWARE "%~dp0Windows\System32\config\software"
    reg add HKLM\MY_SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce /v InstallKey /t REG_SZ /d C:\installkey.bat
    reg unload HKLM\MY_SOFTWARE
    
    Place your installkey.bat in C: drive to make it run properly.
    This combines two of your scripts. The last one to create a rearm task needs to be run only once.
    The rearm task automatically restarts the system in 90 seconds, it gives you time to save whatever you are doing.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  10. MasterDisaster

    MasterDisaster MDL Expert

    Aug 29, 2009
    1,256
    674
    60
    #30 MasterDisaster, Apr 7, 2010
    Last edited by a moderator: Apr 20, 2017
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  11. timesurfer

    timesurfer MDL Developer

    Nov 22, 2009
    8,527
    4,112
    270
    #31 timesurfer, Apr 7, 2010
    Last edited: Apr 7, 2010
    So the first smaller PE run file is like the delwpa.bat from page one but it relates to the second one run in windows right? So all we have is the two .bat files and then directions. I can't write the directions though until I understand the process better so I'm going to think this over and see if I can understand it better ok:)

    I think I'm confused what to name both files and where to put both .bat files?

    Also is this rearm task to run or be executed whether or not computer is on or will the task run even though it might be days after programmed task is to run normally?

    Are we skipping any notification of 4 rearm after the within windows as admin file is executed?

    And I see you asked me to put a file in C: drive but can we add a script to do that?

    It sucks for me to have very little code skills but my mind still comes up with ideas for the program and I was wondering if the script could first put necessary .bat files where they need to be then automatically restart then in PE find the files to execute then back in windows just do one .bat file as admin and that would be it including window verification of 4 rearm and initial trial, rearm task...?

    Forgive me if I'm asking many questions, I'm just trying to participate as good as my abilities allow me

    Thanks for the interest in this idea that some have been working with off and on. I'm supprised there isn't more response based interest in this method but O-well...lol

    I'm interested as you can see...lol

    Thanks again
     
  12. timesurfer

    timesurfer MDL Developer

    Nov 22, 2009
    8,527
    4,112
    270
  13. scarecrow

    scarecrow MDL Novice

    Apr 7, 2010
    6
    0
    0
    still did not work. I've used RemoveWAT before, you think that's the culprit?
     
  14. timesurfer

    timesurfer MDL Developer

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

    MasterDisaster MDL Expert

    Aug 29, 2009
    1,256
    674
    60
    #36 MasterDisaster, Apr 7, 2010
    Last edited by a moderator: Apr 20, 2017
    You only need to run installTask.bat in post#30, that makes it a single bat file.

    As for instructions,
    To reset rearm count,
    1. Boot from the Installation DVD
    2. Press Shift+F10 to launch CMD Prompt.
    3. Type D:\reset.bat and press enter.
    4. Reboot your system.

    When the scheduled task is run automatically, it will rearm and give you around 90 seconds to save your current work before it restarts your system.

    To delete files created by installTask.bat use the following batch file.
    removeTask.bat
    Code:
    @echo off
    SET file=%SystemDrive%\reset.bat
    IF EXIST %file% attrib -h %file%
    del %file% 
    SET file=%SystemDrive%\installkey.bat
    IF EXIST %file% attrib -h %file%
    del %file%
    SET file=%windir%\system32\rearm.bat
    IF EXIST %file% attrib -h %file%
    del %file%
    schtasks /delete /tn "Rearm" /f
    pause
    
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  16. timesurfer

    timesurfer MDL Developer

    Nov 22, 2009
    8,527
    4,112
    270
    #37 timesurfer, Apr 7, 2010
    Last edited: Apr 7, 2010
    I almost got what your saying MasterDisaster o_O

    1. We've changed from clicking F8 at boot to booting from DVD. I set the boot order to DVD but it goes by it to restart even when I click esc key and set to DVD. I turn off and reboot and still no boot from disk Repair option.

    2. I've tried clicking F10 + shift but not sure when to do it exactly...lol

    3. Why did we change putting the main .bat file in C:\ to D:\...?

    The task gets created fine from within windows and the removeTask.bat works fine

    I like the simple instructions I just need a little clarity please

    Thanks again MasterDisaster:)
     
  17. MasterDisaster

    MasterDisaster MDL Expert

    Aug 29, 2009
    1,256
    674
    60
    #38 MasterDisaster, Apr 7, 2010
    Last edited: Apr 8, 2010
    Try changing the boot order in the BIOS settings.

    Shift + F10 is a keyboard shortcut to bring up the CMD prompt.
    You need to press it at the Language selection screen itself.
    After you have completed executing reset.bat, close the Language setting dialog. It will ask you to quit installation and press yes to reboot.

    If you have the System Reserved partition, the OS partition becomes D:
    otherwise the OS partition is C:

    This can be done from the Installation DVD (WinPE) or the Recovery Environment (WinRE), I prefer the WinPE way.

    If you use the WinRE, you can know which drive the OS is installed by looking at the Recovery Console dialog
    If you use the WinPE, you need to know beforehand whether you have a 100 MB partition or not.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  18. timesurfer

    timesurfer MDL Developer

    Nov 22, 2009
    8,527
    4,112
    270
  19. MasterDisaster

    MasterDisaster MDL Expert

    Aug 29, 2009
    1,256
    674
    60
    I have made a mistake by using foward slash instead of using backslash in file names. I have corrected the errors in both installTask and removeTask.

    Try booting from USB.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...