Rearm Wizard - The Premier Rearm Solution for Windows 7 and Office 2013

Discussion in 'MDL Projects and Applications' started by timesurfer, Mar 27, 2013.

  1. bradley364

    bradley364 MDL Novice

    Oct 28, 2017
    1
    0
    0
    Is there a way to check to see if this is working?
     
  2. JonX...

    JonX... MDL Novice

    May 21, 2018
    1
    0
    0
    IR7 doesn't really do much except wait to rearm which is silent mostly unless the 180 days is up and IR7 needs to be reinstalled of which it will give msg box to reinstall and restart computer then you get another 180 days in the rearm zone without any warnings, etc...

    IORRT is maintenance and restart free for the life of it's installation...

    Worked really good for a long time and was a neat development that went on for years but now everyone is into W10 so it is mostly an archive or a learning tool to understand cmd line...

    :shisha:
     
  3. caizikun

    caizikun MDL Novice

    Oct 1, 2014
    2
    0
    0
  4. Carlos Detweiller

    Carlos Detweiller MDL Spinning Tortoise

    Dec 21, 2012
    2,860
    2,495
    90
    Rearm Wizard was the latest. Download link is below number 9.

    @timesurfer seems to be long gone. Last activity was in April 2016.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. caizikun

    caizikun MDL Novice

    Oct 1, 2014
    2
    0
    0
  6. eskimojoe

    eskimojoe MDL Novice

    Aug 8, 2015
    2
    1
    0
    The link below #9 just takes me back to #1
     
  7. Carlos Detweiller

    Carlos Detweiller MDL Spinning Tortoise

    Dec 21, 2012
    2,860
    2,495
    90
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  8. ttoner

    ttoner MDL Novice

    Aug 16, 2017
    3
    0
    0
    #1469 ttoner, Aug 18, 2018
    Last edited: Aug 31, 2018
    My rev of IORRT (run as admin).
    Also it working with office 2016 vl on W7 just replace all "office15" for "office16".
    Code:
    @echo off
    
    mode con: cols=45 lines=2
    
    REG QUERY "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion" /v CurrentVersion | FINDSTR 6.1 >NUL
    IF %ERRORLEVEL% NEQ 0 CLS & echo IR7 supports only windows 7... & ping -n 5 127.0.0.1 >nul & exit
    
    echo Loading IORRT...
    
    net stop osppsvc 1>nul 2>nul
    IF %ERRORLEVEL% EQU 9009 (
    color 4F
    echo Office is not installed...
    ping -n 4 127.0.0.1 >nul
    exit
    )
    
    IF %ERRORLEVEL% NEQ 0 (
    color 4F
    net start osppsvc 1>nul 2>nul
    echo RUN AS ADMIN...
    ping -n 4 127.0.0.1 >nul
    exit
    )
    
    SET title="IORRT not installed"
    
    :IORRT
    schtasks /query /TN "IORRT" 2>&1 | FINDSTR /I "IORRT" >NUL
    IF %ERRORLEVEL% NEQ 0 (
    SET title=IORRT Uninstalled
    ) ELSE (
    SET title=IORRT Installed
    )
    
    
    title %title%
    mode con: cols=45 lines=9
    CLS
    echo.
    echo.
    echo.    InfiniteOfficeRestoreRearmTask (IORRT)
    echo.
    echo.               A. Install
    echo.               B. Uninstall
    echo.               C. License Status
    echo.               D. Exit
    echo.
     
    :CHOOSEACTION1
    set /p userinp=    ^   Make your selection:
    set userinp=%userinp:~0,1%
    if /i "%userinp%"=="A" goto InstallIORRT
    if /i "%userinp%"=="I" goto InstallIORRT
    if /i "%userinp%"=="B" goto UninstallIORRT
    if /i "%userinp%"=="U" goto UninstallIORRT
    if /i "%userinp%"=="C" goto LicenseStatus
    if /i "%userinp%"=="L" goto LicenseStatus
    if /i "%userinp%"=="D" Exit
    if /i "%userinp%"=="E" Exit
    GOTO IORRT
    
    :InstallIORRT
    title Installing IORRT...
    mode con: cols=45 lines=2
    schtasks /query /TN "IORRT" 2>&1 | FINDSTR /I "IORRT" >NUL
    IF %ERRORLEVEL% NEQ 0 (
    echo.
    ) ELSE (
    echo.
    echo IORRT is already installed...
    ping -n 5 127.0.0.1 >nul
    GOTO IORRT
    )
    echo Installing IORRT...
    
    
    schtasks /query /TN "IR7" 2>&1 | FINDSTR /I "IR7"
    IF %ERRORLEVEL% EQU 1 (
    GOTO TrialFolder2
    ) ELSE (
    GOTO Check
    )
    
    :TrialFolder2
    md %SystemDrive%\Trial >nul 2>&1
    
    :Check
    md %SystemDrive%\Trial\IORRT >nul 2>&1
    net stop osppsvc >NUL
    xcopy /cheriky "%ALLUSERSPROFILE%\Microsoft\OfficeSoftwareProtectionPlatform" "%SystemDrive%\Trial\IORRT\Backup\Files\Tokens" >NUL
    mkdir "%SystemDrive%\Trial\IORRT\Backup\Registry" >NUL
    reg save "HKLM\SOFTWARE\Microsoft\OfficeSoftwareProtectionPlatform" %SystemDrive%\Trial\IORRT\Backup\Registry\OfficeSPPInfo.hiv >NUL
    net start osppsvc >NUL
    DEL "%ALLUSERSPROFILE%\Microsoft\OfficeSoftwareProtectionPlatform\Backup.hiv" 2> nul
    
    IF Exist "%ProgramFiles%\Microsoft Office\Office15\OSPPREARM.exe" (
    "%ProgramFiles%\Microsoft Office\Office15\OSPPREARM.exe" >NUL
    ) ELSE ( "%programfiles(x86)%\Microsoft Office\Office15\OSPPREARM.exe" >NUL
    )
    
    if %ERRORLEVEL% EQU 0 (
    GOTO Pass
    ) ELSE (
    GOTO UninstallIORRT
    )
    color 4F
    echo No Rearms Detected...
    ping -n 5 127.0.0.1 >nul
    GOTO IORRT
    
    
    :Pass
    SET file=%SystemDrive%\Trial\IORRT\IORRT.bat
    echo @echo off >%file%
    echo IF Exist "%ProgramFiles%\Microsoft Office\Office15\OSPPREARM.exe" ( >>%file%
    echo "%ProgramFiles%\Microsoft Office\Office15\OSPPREARM.exe" >>%file%
    echo ) ELSE ( >>%file%
    echo "%programfiles(x86)%\Microsoft Office\Office15\OSPPREARM.exe" >>%file%
    echo ) >>%file%
    echo. >>%file%
    echo IF %%ERRORLEVEL%% EQU 0 EXIT >>%file%
    echo IF %%ERRORLEVEL%% EQU 9009 EXIT >>%file%
    echo. >>%file%
    echo net stop osppsvc >>%file%
    echo xcopy /cheriky "%SystemDrive%\Trial\IORRT\Backup\Files\Tokens" "%ALLUSERSPROFILE%\Microsoft\OfficeSoftwareProtectionPlatform" >>%file%
    echo REG DELETE HKLM\SOFTWARE\Microsoft\OfficeSoftwareProtectionPlatform /f >>%file%
    echo REG ADD HKLM\SOFTWARE\Microsoft\OfficeSoftwareProtectionPlatform /f >>%file%
    echo reg restore "HKLM\SOFTWARE\Microsoft\OfficeSoftwareProtectionPlatform" %SystemDrive%\Trial\IORRT\Backup\Registry\OfficeSPPInfo.hiv >>%file%
    echo net start osppsvc >>%file%
    echo IF Exist "%ProgramFiles%\Microsoft Office\Office15\OSPPREARM.exe" ( >>%file%
    echo "%ProgramFiles%\Microsoft Office\Office15\OSPPREARM.exe" >>%file%
    echo ) ELSE ( >>%file%
    echo "%programfiles(x86)%\Microsoft Office\Office15\OSPPREARM.exe" >>%file%
    echo ) >>%file%
    
    attrib +h "%SystemDrive%\Trial"
    schtasks /create /tn "IORRT" /tr "%SystemDrive%\Trial\IORRT\IORRT.bat" /SC WEEKLY /MO 3 /D FRI /ST 12:00 /ru "" >NUL
    
    echo Installation Successful...
    ping -n 5 127.0.0.1 >nul
    GOTO IORRT
    
    
    :UninstallIORRT
    mode con: cols=45 lines=2
    schtasks /query /TN IORRT 2>&1 | FINDSTR /I "IORRT"
    IF '%ERRORLEVEL%' EQU '0' (
    echo.
    ) ELSE (
    echo.
    echo IORRT is already uninstalled...
    ping -n 5 127.0.0.1 >nul
    GOTO IORRT
    )
    echo Uninstalling IORRT...
    net stop osppsvc >NUL
    xcopy /cheriky "%SystemDrive%\Trial\IORRT\Backup\Files\Tokens" "%ALLUSERSPROFILE%\Microsoft\OfficeSoftwareProtectionPlatform" >NUL
    REG DELETE HKLM\SOFTWARE\Microsoft\OfficeSoftwareProtectionPlatform /f >NUL
    REG ADD HKLM\SOFTWARE\Microsoft\OfficeSoftwareProtectionPlatform /f >NUL
    reg restore "HKLM\SOFTWARE\Microsoft\OfficeSoftwareProtectionPlatform" %SystemDrive%\Trial\IORRT\Backup\Registry\OfficeSPPInfo.hiv >NUL
    net start osppsvc >NUL
    DEL "%ALLUSERSPROFILE%\Microsoft\OfficeSoftwareProtectionPlatform\Backup.hiv" >nul 2>nul
    schtasks /query /TN IR7 2>&1 | FINDSTR /I "IR7"
    IF ERRORLEVEL 1 (
    rd /S /Q  %SystemDrive%\Trial
    ) ELSE (
    rd /S /Q  %SystemDrive%\Trial\IORRT
    )
    
    schtasks /delete /tn "IORRT" /f >NUL
    echo Successfully Uninstalled...
    ping -n 5 127.0.0.1 >nul
    
    GOTO IORRT
    
    :LicenseStatus
    mode con: cols=80 lines=45
    cscript "C:\Program Files\Microsoft Office\Office15\OSPP.VBS" /dstatus
    pause
    
    GOTO IORRT
    
     
  9. ttoner

    ttoner MDL Novice

    Aug 16, 2017
    3
    0
    0
    #1470 ttoner, Aug 18, 2018
    Last edited: Dec 4, 2018
    It's right.I like more in "repair install" console.
    Code:
    reg load HKLM\SYST "%~dp0Windows\System32\config\system"
    reg delete HKLM\SYST\WPA /f
    
    del /F "%~dp0Windows\ServiceProfiles\NetworkService\AppData\Roaming\Microsoft\SoftwareProtectionPlatform\tokens.*"
    My rev of IR7 (run as admin).
    I like in "repair install" console ^ and working autorearm.
    Code:
    @echo off
    
    SET title="IR7 not installed"
    
    :IR7
    REG QUERY "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion" /v CurrentVersion | FINDSTR 6.1 >NUL
    IF %ERRORLEVEL% NEQ 0 CLS & echo IR7 supports only windows 7... & ping -n 5 127.0.0.1 >nul & exit
    
    schtasks /query /TN "IR7" 2>&1 | FINDSTR /I "IR7" >NUL
    IF %ERRORLEVEL% NEQ 0 (
    SET title=IR7 Uninstalled
    ) ELSE (
    SET title=IR7 Installed
    )
    
    title %title%
    mode con: cols=45 lines=9
    cls
    echo.
    echo.
    echo.             InfiniteRearm7 (IR7)
    echo.
    echo.                A. Install
    echo.                B. Uninstall
    echo.                C. License Status
    echo.                D. Exit
    echo.
    set /p userinp=    ^   Make your selection:
    set userinp=%userinp:~0,1%
    if /i "%userinp%"=="A" goto InstallIR7
    if /i "%userinp%"=="I" goto InstallIR7
    if /i "%userinp%"=="B" goto UninstallIR7
    if /i "%userinp%"=="U" goto UninstallIR7
    if /i "%userinp%"=="C" goto LicenseStatus
    if /i "%userinp%"=="L" goto LicenseStatus
    if /i "%userinp%"=="D" goto Exit
    if /i "%userinp%"=="E" goto Exit
    GOTO IR7
    
    :InstallIR7
    mode con: cols=45 lines=2
    schtasks /query /TN "IR7" 2>&1 | FINDSTR /I "IR7" >NUL
    IF ERRORLEVEL 1 (
    echo.
    ) ELSE (
    cls & echo IR7 is already installed...
    ping -n 5 127.0.0.1 >nul
    GOTO IR7
    )
    echo Installing IR7...
    schtasks /query /TN "IORRT" 2>&1 | FINDSTR /I "IORRT" >NUL
    IF ERRORLEVEL 1 (
    GOTO TrialFolder
    ) ELSE (
    GOTO Pass
    )
    
    :TrialFolder
    md %SystemDrive%\Trial >nul 2>&1
    
    :Pass
    md %SystemDrive%\Trial\IR7 >nul 2>&1
    REG ADD "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SoftwareProtectionPlatform\Activation" /v NotificationDisabled /t REG_DWORD /d 1 /f >NUL
    SET file=%SystemDrive%\Trial\IR7\IR7.bat
    echo @echo off >>%file%
    echo slmgr.vbs /rearm >>%file%
    echo. >>%file%
    echo IF %%ERRORLEVEL%% EQU 0 EXIT >>%file%
    echo. >>%file%
    echo net stop sppsvc >>%file%
    echo del /F "%windir%\ServiceProfiles\NetworkService\AppData\Roaming\Microsoft\SoftwareProtectionPlatform\tokens.*" >>%file%
    echo REG SAVE "HKLM\SYSTEM" "%TEMP%\SYSTEM.HIV" /y >>%file%
    echo REG RESTORE "HKLM\SYSTEM" "%TEMP%\SYSTEM.HIV" >>%file%
    echo del "%TEMP%\SYSTEM.HIV" >>%file%
    echo POWERSHELL -command rename-item HKLM:\SYSTEM\WPA -NewName WPA_Delete >>%file%
    echo REG DELETE HKLM\SYSTEM\WPA_Delete /f >>%file%
    echo IR7 Windows is restarting now... >>%file%
    echo shutdown.exe /r /t 5 /f >>%file%
    
    attrib +h "%SystemDrive%\Trial"
    schtasks /create /tn "IR7" /tr %file% /sc daily /mo 30 /ru "" /f >nul
    net stop sppsvc
    del /F "%windir%\ServiceProfiles\NetworkService\AppData\Roaming\Microsoft\SoftwareProtectionPlatform\tokens.*" >NUL 2>&1
    REG SAVE "HKLM\SYSTEM" "%TEMP%\SYSTEM.HIV" /y >NUL 2>&1
    REG RESTORE "HKLM\SYSTEM" "%TEMP%\SYSTEM.HIV" >NUL 2>&1
    del "%TEMP%\SYSTEM.HIV" >NUL 2>&1
    POWERSHELL -command rename-item HKLM:\SYSTEM\WPA -NewName WPA_Delete >NUL 2>&1
    REG DELETE HKLM\SYSTEM\WPA_Delete /f >NUL 2>&1
    echo Windows is restarting now...
    ping -n 10 127.0.0.1 >nul
    shutdown.exe /r /t 0 /f
    exit
    
    :UninstallIR7
    mode con: cols=45 lines=2
    schtasks /query | FINDSTR /I "IR7" >NUL
    IF %ERRORLEVEL%==0 (
    echo.
    ) ELSE (
    echo IR7 is already uninstalled...
    ping -n 5 127.0.0.1 >nul
    GOTO IR7
    )
    echo Uninstalling IR7...
    REG  ADD "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SoftwareProtectionPlatform\Activation" /v NotificationDisabled /t REG_DWORD /d 0 /f >NUL
    schtasks /delete /tn "IR7" /f >NUL 2>&1
    schtasks /query /tn "IORRT" | FINDSTR /I "IORRT" >NUL
    IF ERRORLEVEL 1 (
    rd /S /Q  %SystemDrive%\Trial
    ) ELSE (
    rd /S /Q  %SystemDrive%\Trial\IR7
    )
    
    cls & echo IR7 has been successfully uninstalled...
    ping -n 5 127.0.0.1 >nul
    GOTO IR7
    
    :LicenseStatus
    slmgr.vbs /dlv
    GOTO IR7
    
    
     
  10. ttoner

    ttoner MDL Novice

    Aug 16, 2017
    3
    0
    0
    #1471 ttoner, Aug 18, 2018
    Last edited: Aug 26, 2018
     
  11. Steve Mobs

    Steve Mobs MDL Novice

    Sep 18, 2015
    1
    0
    0
    #1472 Steve Mobs, Aug 19, 2018
    Last edited: Aug 27, 2018
    Tried to install Ream Wizard on fresh WIN7, it's stuck in <<Installing IR7...>>. Am I missing something?

    So, when I type in cmd slmgr /dlv it says Error: Product key not found.
    So I recreated the Licencing Store, but again the IR7 progess does not end...

    Reinstalled again, now it works :D
     
  12. Vladimir12345

    Vladimir12345 MDL Novice

    Jun 16, 2016
    1
    0
    0
    I have been using IR7 successfuly for some time now my computer will not reboot into Recovery Environment. I am getting the below message.
    This has happened once before but I can't remember how I fixed it. I think I just uninstalled IR7 and then reinstalled. But I know I didn't end up getting into RE.
    I get the same message if I use F8 to try and get into RE manually as well.
    Any ideas?



    Windows failed to start. A recent hardware or software change might be the cause. To fix the problem:

    1. Insert your Windows installation disc and restart your computer.
    2. Choose your language settings, and then click "Next."
    3. Click "Repair your computer."

    If you do not have this disc, contact your system administrator or computer manufacturer for assistance.

    Status: 0xc000000f

    Info: The boot selection failed because a required device is inaccessible
     
  13. Sexy Loli

    Sexy Loli MDL Novice

    Oct 22, 2017
    32
    4
    0
    ...so how come there isn't one for other windows editions and office editions and only windows 7 and office 2013?
     
  14. Carlos Detweiller

    Carlos Detweiller MDL Spinning Tortoise

    Dec 21, 2012
    2,860
    2,495
    90
    Windows 8 and up do not have any 30 day initial grace anymore. For that reason, there cannot be such a tool made for them. The foundations are missing.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  15. Sexy Loli

    Sexy Loli MDL Novice

    Oct 22, 2017
    32
    4
    0
    What about Windows Vista and older or the server version counter part, like 2008 r2, 2012, 2016, 2019, 2003, 2000? And other Office editions, like 2016, 2019, 365, 2010, 2007, 2003, XP.....
     
  16. s1ave77

    s1ave77 MDL Guide Dog/Dev

    Aug 15, 2012
    16,009
    23,751
    340
    For Win 7 and Server 2016 and LTSB 2016 (aka build 14393): Rearming Windows Server 2016 pass it's maximum rearm count period?.

    Later Windows versions need a script running from WinPE.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  17. Sexy Loli

    Sexy Loli MDL Novice

    Oct 22, 2017
    32
    4
    0
    ...that doesn't include Office does it...?

    And what about Vista and XP? ...just for completion sake....both will lock you out of our computer if you don't activate or your trial period expires - yes I've actually experienced this it was kinda a surprise to me coz I thought it wouldn't happened...hahahaha....can't remember if windows 2000 had the same issue or not, but I haven't used windows 2000 in a while....anything older don't have trial periods and must have key verification or else you won't even be able to install the operating system...but that shouldn't be a problem if you got the net....and a copy of the ISO/CD but lost the original COA that had the key on it....
     
  18. Carlos Detweiller

    Carlos Detweiller MDL Spinning Tortoise

    Dec 21, 2012
    2,860
    2,495
    90
    1. Windows 2000 and earlier did not have any Activation.
    2. If XP locked you out, you could still access Safe Mode. Same for Vista SP1 (with Reduced Functionality Mode).
    3. From what I know, they killed RFM with Vista SP2.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  19. Sexy Loli

    Sexy Loli MDL Novice

    Oct 22, 2017
    32
    4
    0
    But safe mode is no fun if you wanna play around just the way it's meant to be.....since a lot of things are disabled in safe mode....