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. BugsB

    BugsB MDL Junior Member

    Apr 30, 2009
    98
    26
    0
    great! FYI, I am beyond busy right now - will try to respond tomorrow, otherwise week-end
     
  2. timesurfer

    timesurfer MDL Developer

    Nov 22, 2009
    8,524
    4,112
    270
    #903 timesurfer, Oct 1, 2013
    Last edited by a moderator: Apr 20, 2017
    (OP)
  3. timesurfer

    timesurfer MDL Developer

    Nov 22, 2009
    8,524
    4,112
    270
    #904 timesurfer, Oct 3, 2013
    Last edited by a moderator: Apr 20, 2017
    (OP)
  4. Carlos Detweiller

    Carlos Detweiller Emperor of Ice-Cream

    Dec 21, 2012
    6,771
    7,713
    210
    Never got "at system startup" tasks running to my satisfaction, either (then I settled for "at logon"). Note that you might have to use the "/rl HIGHEST" switch to run with elevated rights (though SYSTEM should have 'em)...
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. timesurfer

    timesurfer MDL Developer

    Nov 22, 2009
    8,524
    4,112
    270
    #906 timesurfer, Oct 4, 2013
    Last edited by a moderator: Apr 20, 2017
    (OP)
  6. timesurfer

    timesurfer MDL Developer

    Nov 22, 2009
    8,524
    4,112
    270
    #907 timesurfer, Oct 4, 2013
    Last edited by a moderator: Apr 20, 2017
    (OP)
  7. timesurfer

    timesurfer MDL Developer

    Nov 22, 2009
    8,524
    4,112
    270
    #908 timesurfer, Oct 4, 2013
    Last edited by a moderator: Apr 20, 2017
    (OP)
  8. timesurfer

    timesurfer MDL Developer

    Nov 22, 2009
    8,524
    4,112
    270
    #909 timesurfer, Oct 4, 2013
    Last edited by a moderator: Apr 20, 2017
    (OP)
  9. timesurfer

    timesurfer MDL Developer

    Nov 22, 2009
    8,524
    4,112
    270
    #911 timesurfer, Oct 6, 2013
    Last edited by a moderator: Apr 20, 2017
    (OP)
    Rearm Wizard Testing Equipment (RWTE)

    Forwarding Date:

    A. To test IR7 user needs to force notifications by forwarding date with RWTE then opening control panel then system then at the bottom of window click "Activate Windows Now" which forces black desktop

    B. Then log off and back on so that task will run IR7.bat which should call IR72.bat to rearm and restore theme/wallpaper. If your running Starter/Home Basic you may be asked to log off again?

    Running out rearms:

    To test IR7 reinstall/uninstall use RWTE in combination with forwarding date to eliminate all rearms thus forcing 180 yes/no msg

    Code:
    @echo off
    title Rearm Wizard Testing Equipment
    mode con: cols=50 lines=12
    
    cls
    mode con: cols=50 lines=12
    >nul 2>&1 "%SYSTEMROOT%\system32\cacls.exe" "%SYSTEMROOT%\system32\config\system"
    if '%errorlevel%' NEQ '0' (
    echo Requesting administrative privileges...
    goto UACPrompt
    ) else ( goto gotAdmin )
    :UACPrompt
    echo Set UAC = CreateObject^("Shell.Application"^) > "%temp%\getadmin.vbs"
    set params = %*:"=""
    echo UAC.ShellExecute "%~s0", "%params%", "", "runas", 1 >> "%temp%\getadmin.vbs"
    "%temp%\getadmin.vbs"
    exit /B
    :gotAdmin
    if exist "%temp%\getadmin.vbs" ( del "%temp%\getadmin.vbs" )
    pushd "%CD%"
    CD /D "%~dp0"
    goto mainmenu
    
    :mainmenu
    echo Rearm Wizard Testing Equipment
    echo.
    echo.A. Set date ahead 33 days?
    echo.B. Run out all rearms?
    echo.C. Exit
    echo.
    echo.
    echo.
    echo.
    echo.
    echo.
    set userinp=
    
    set /p userinp=    ^   Make your selection: 
    set userinp=%userinp:~0,1%
    if /i "%userinp%"=="A" goto A
    if /i "%userinp%"=="B" goto B
    if /i "%userinp%"=="C" goto exit
    GOTO :mainmenu
    
    :A
    cls
    setlocal EnableDelayedExpansion
    for /f "tokens=1,2*" %%a in ('reg query "HKCU\Control Panel\International"^|findstr /i "\<[is]Date\>"') do set "%%a=%%c"
    
    echo Would you like to set the date ahead 33 days?
    :loop1
    echo(
    echo A. Yes
    echo B. Exit
    set "c=" &set /p "c="
    if /i "!c!"=="B" exit /b
    if /i "!c!" neq "A" goto loop1
    cls
    call :DaysAdd 33 newDate
    date %newDate%
    
    echo(
    echo New date: %date%
    echo(
    
    
    echo Would you like to correctly reset the date?
    :loop2
    echo(
    echo A. Yes
    echo B. Exit
    echo.
    echo.
    echo.
    echo.
    echo.
    set "c=" &set /p "c="
    if /i "!c!"=="B" exit /b
    if /i "!c!" neq "A" goto loop2
    
    call :DaysAdd -33 newDate
    date %newDate%
    goto :mainmenu
    
    :DaysAdd ByVal_DeltaIn  ByRef_NewDateOut
    setlocal
    for /f "tokens=1-3 delims=%sDate%" %%a in ("%date:* =%") do (
      if %iDate%==0 (set /a Month=100%%a%%100,Day=100%%b%%100,Year=10000%%c%%10000) else (
      if %iDate%==1 (set /a Day=100%%a%%100,Month=100%%b%%100,Year=10000%%c%%10000) else (
      if %iDate%==2 (set /a Year=10000%%a%%10000,Month=100%%b%%100,Day=100%%c%%100)
    )))
    set /a "a = 14 - Month, a /= 12, b = Year + 4800 - a, c = Month + 12 * a - 3, d = 153 * c + 2"
    set /a "d = d / 5 + Day + b * 365 + b / 4 - b / 100 + b / 400 - 1 + %~1"
    set /a "e = 4 * d + 3, e /= 146097, f = -e * 146097, f /= 4, f += d"
    set /a "g = 4 * f + 3, g /= 1461, h = -1461 * g, h /= 4, h += f, i = 5 * h + 2, i /= 153, Day = 153 * i + 2, Day /= 5"
    set /a "Day = -Day + h + 1, Month = -i / 10, Month *= 12, Month += i + 3, Year = e * 100 + g - 4800 + i / 10"
    set /a "Month = 10%Month%, Day = 10%Day%"
    if %iDate%==0 (set "new=%Month:~-2%%sDate%%Day:~-2%%sDate%%Year%") else (
    if %iDate%==1 (set "new=%Day:~-2%%sDate%%Month:~-2%%sDate%%Year%") else (
    if %iDate%==2 (set "new=%Year%%sDate%%Month:~-2%%sDate%%Day:~-2%")))
    endlocal &set "%~2=%new%" &goto:eof
    
    :B
    cls
    echo Eliminating all rearms...
    :loop3
    cscript.exe /b %SystemDrive%\Windows\System32\slmgr.vbs /rearm
    if errorlevel==0 (
    net stop sppsvc >NUL
    net start sppsvc >NUL
    ) ELSE (
    GOTO msg
    ) 
    GOTO loop3
    
    :msg
    cls
    echo All rearms have been eliminated...
    echo.
    echo.
    echo.
    echo.
    echo.
    echo.
    echo.
    echo.
    echo.
    echo.
    ping -n 5 127.0.0.1 >nul
    goto mainmenu
    
    :EXIT
    ENDLOCAL
    exit
     
  10. timesurfer

    timesurfer MDL Developer

    Nov 22, 2009
    8,524
    4,112
    270
    #912 timesurfer, Oct 6, 2013
    Last edited by a moderator: Apr 20, 2017
    (OP)
  11. Carlos Detweiller

    Carlos Detweiller Emperor of Ice-Cream

    Dec 21, 2012
    6,771
    7,713
    210
    Hope I'll find some time to test next days. This time, there are clear instructions, so expect clear results. :eek:
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  12. more_frustrated

    more_frustrated MDL Novice

    Aug 19, 2012
    17
    0
    0
    #914 more_frustrated, Oct 7, 2013
    Last edited by a moderator: Apr 20, 2017
    I am having a problem. :(I just went through everything (and received a message that IR7 was successful), but when I rebooted, I got:
    Code:
    Windows ActivationType your Windows product keyA change occurred to a Windows license component that requeres you to type your Windows product key and activate Windows again.-> Type your product key-> Ask me later0xC004F014
    If I go to a command prompt, and type C:\IR7.bat, I get:
    Code:
    ERROR: The process cannot access the file because it is being used by another process.ERROR: The system was unable to find the specified registry key or value.ERROR: The parameter is incorrect.ERROR: The process cannot access the file because it is being used by another process.ERROR: The parameter is incorrect.ERROR: The parameter is incorrect.'wpeutil' is not recognized as an internal or external command,operable program or batch file.
    I tried uninstalling Rearm Wizard (from safe mode) and going through the whole process again, but ended up with the same result.Any ideas about how to proceed?Thanks.
     
  13. timesurfer

    timesurfer MDL Developer

    Nov 22, 2009
    8,524
    4,112
    270
    #915 timesurfer, Oct 7, 2013
    Last edited by a moderator: Apr 20, 2017
    (OP)
    Let me walk you through things:

    1. Things that get install are
    a. Trial and IR7 folders
    b. IR7 and Hybrid2 tasks

    2. You click install, then windows shutsdown and you enter into Recovery Environment (RE). You'll click next then enter you'll enter your information. Then you'll choose cmd prompt and enter C:IR7. Windows will automatically restart then you'll receive a msg box with 5 rearms 30 days

    If you did that stuff let me know so I can troubleshoot further

    :shisha:
     
  14. more_frustrated

    more_frustrated MDL Novice

    Aug 19, 2012
    17
    0
    0
    Have Trial and Trial\IR7 folders.

    The Trial\IR7 folder contains only IR7.bat (a larger one than in the top level directory), but nothing about Hybrid2.

    When I entered the RE (and entered the keyboard layout and Administrator password), and ran C:\IR7.bat, I received a message that said "The operation completed successfully" (and Windows restarted).

    I did not get a message box about five rearms and thirty days (just a request for an activation key).

    If I try to run C:\!R7.bat now, I get the error messages about things missing or being in use.


    Had to change the editing interface to fix the (very strange) removal of all carriage returns.
     
  15. timesurfer

    timesurfer MDL Developer

    Nov 22, 2009
    8,524
    4,112
    270
    The IR7 cmd is only to be used in RE so that clears one problem

    When rebooting into windows user will get warning about counterfeit/non-genuine type stuff, just bypass that stuff but you should have had that box open with 5 rearms 30 days

    Please open up IR7 and click status and tell us what it says

    :shisha:
     
  16. more_frustrated

    more_frustrated MDL Novice

    Aug 19, 2012
    17
    0
    0
    #918 more_frustrated, Oct 7, 2013
    Last edited by a moderator: Apr 20, 2017
    OK.

    Definitely never saw that.

    Code:
    IR7          11/5/2013 10:29:00 PM
    Ready
    
     
  17. timesurfer

    timesurfer MDL Developer

    Nov 22, 2009
    8,524
    4,112
    270
    #919 timesurfer, Oct 7, 2013
    Last edited by a moderator: Apr 20, 2017
    (OP)
    Can you tell the other information like

    intitial grace period
    rearms and days left?
    also use this cmd to get that info also

    Code:
    slmgr /dlv
    That is the msg box you should have seen
     
  18. more_frustrated

    more_frustrated MDL Novice

    Aug 19, 2012
    17
    0
    0
    #920 more_frustrated, Oct 7, 2013
    Last edited by a moderator: Apr 20, 2017
    I get:

    Code:
    Windows Script Host
    
    Software licensing service version: 6.1.7600.16385
    Error: product key not found