IORRT - The Official Office 2010 VL Rearm Solution

Discussion in 'MDL Projects and Applications' started by timesurfer, Dec 1, 2010.

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

    jtvgeo MDL Novice

    Dec 8, 2009
    23
    4
    0
    #81 jtvgeo, Dec 3, 2010
    Last edited: Dec 3, 2010
    i get this error "Input Error: Can not find script file "C:\Program Files (x86)\Mi
    crosoft Office\OFFICE14\OSPP.VBS"." is that okay?

    im running on windows 7 64bit.

    and does restore and rearm means the same thing?
     
  2. woebetide

    woebetide MDL Member

    May 28, 2007
    240
    78
    10
    #82 woebetide, Dec 3, 2010
    Last edited by a moderator: Apr 20, 2017
    Ha, tomah was first;)
    His method of query schtasks may be better (I used a file check)

    Just ended testing, here is my code (left out the color and con stuff)
    Code:
    @echo off
    
    :MAINMENU
    echo.
    echo.  
    echo.    InfiniteOfficeRestoreRearmTask (IORRT) 
    echo.    
    echo.               A. Install
    echo.               B. Uninstall
    echo.               C. Restore/Rearm
    echo.               D. Status
    echo.               E. Exit
    echo.
      
    :CHOOSEACTION
    set /p userinp=    ^   Make your selection: 
    set userinp=%userinp:~0,1%
    if /i "%userinp%"=="A" goto Install
    if /i "%userinp%"=="B" goto Uninstall
    if /i "%userinp%"=="C" goto Restore/Rearm
    if /i "%userinp%"=="D" goto Status
    if /i "%userinp%"=="E" goto Exit
    echo.Try Again...
    GOTO CHOOSEACTION
    
    :Install
    IF NOT EXIST %SystemDrive%\IORRT\IORRT.bat (
    echo Installing IORRT
    ) ELSE (
    echo IORRT has already been installed!
    echo.
    echo Press any key to return to the main menu
    PAUSE 1>nul
    GOTO MAINMENU
    )
    mkdir "%SystemDrive%\IORRT"
    net stop osppsvc
    xcopy /cheriky "%ALLUSERSPROFILE%\Microsoft\OfficeSoftwareProtectionPlatform" "%SystemDrive%\IORRT"
    reg save HKLM\SOFTWARE\Microsoft\OfficeSoftwareProtectionPlatform %SystemDrive%\IORRT\Backup.hiv
    net start osppsvc
    SET file=%SystemDrive%\IORRT\IORRT.bat
    IF EXIST %file% attrib -h %file% 
    echo @echo off >>%file%
    echo net stop osppsvc >>%file%
    echo xcopy /cheriky "%SystemDrive%\IORRT" "%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%\IORRT\Backup.hiv >>%file%
    echo net start osppsvc >>%file%
    echo "%COMMONPROGRAMFILES%\microsoft shared\OfficeSoftwareProtectionPlatform\OSPPREARM.exe" >>%file%
    echo schtasks /create /tn "IORRT" /tr %SystemDrive%\IORRT\IORRT.bat /sc daily /mo 1 /ru "" >>%file%
    "%COMMONPROGRAMFILES%\microsoft shared\OfficeSoftwareProtectionPlatform\OSPPREARM.exe" 
    schtasks /create /tn "IORRT" /tr %SystemDrive%\IORRT\IORRT.bat /sc daily /mo 1 /ru ""
    echo.
    cscript "%PROGRAMFILES%\Microsoft Office\OFFICE14\OSPP.VBS" /dstatus
    IF NOT EXIST %SystemDrive%\Windows\Tasks\IORRT.job (
    echo IORRT is not yet Installed
    echo.Press any key to return to the main menu
    pause > nul
    GOTO MAINMENU
    ) ELSE (
    echo.
    echo Press any key to return to the main menu
    PAUSE 1>nul
    GOTO MAINMENU
    )
    
    :Uninstall
    IF EXIST %SystemDrive%\Windows\Tasks\IORRT.job (
    echo Uninstalling IORRT
    ) ELSE (
    echo IORRT is already uninstalled
    echo.
    echo Press any key to return to the main menu
    PAUSE 1>nul
    GOTO MAINMENU
    )
    net stop osppsvc
    xcopy /cheriky "%SystemDrive%\IORRT" "%ALLUSERSPROFILE%\Microsoft\OfficeSoftwareProtectionPlatform"
    REG DELETE HKLM\SOFTWARE\Microsoft\OfficeSoftwareProtectionPlatform /f
    REG ADD HKLM\SOFTWARE\Microsoft\OfficeSoftwareProtectionPlatform /f
    reg restore "HKLM\SOFTWARE\Microsoft\OfficeSoftwareProtectionPlatform" %SystemDrive%\IORRT\Backup.hiv
    net start osppsvc
    SET file=%SystemDrive%\IORRT
    IF EXIST %file% attrib -h %file%
    RD /S /Q  %file%
    DEL "%ALLUSERSPROFILE%\Microsoft\OfficeSoftwareProtectionPlatform\IORRT.bat"
    DEL "%ALLUSERSPROFILE%\Microsoft\OfficeSoftwareProtectionPlatform\Backup.hiv"
    schtasks /delete /tn "IORRT" /f
    cscript "%PROGRAMFILES%\Microsoft Office\OFFICE14\OSPP.VBS" /dstatus
    echo.
    echo.Press any key to return to the main menu
    pause > nul
    GOTO MAINMENU
    )
    
    :Restore/Rearm
    IF EXIST %SystemDrive%\Windows\Tasks\IORRT.job (
    echo Restoring/Rearming IORRT
    ) ELSE (
    echo Install IORRT before you restore/rearm
    echo.
    echo Press any key to return to the main menu
    PAUSE 1>nul
    GOTO MAINMENU
    )
    net stop osppsvc
    xcopy /cheriky "%SystemDrive%\IORRT" "%ALLUSERSPROFILE%\Microsoft\OfficeSoftwareProtectionPlatform"
    REG DELETE HKLM\SOFTWARE\Microsoft\OfficeSoftwareProtectionPlatform /f
    REG ADD HKLM\SOFTWARE\Microsoft\OfficeSoftwareProtectionPlatform /f
    reg restore "HKLM\SOFTWARE\Microsoft\OfficeSoftwareProtectionPlatform" %SystemDrive%\IORRT\Backup.hiv
    net start osppsvc
    "%COMMONPROGRAMFILES%\microsoft shared\OfficeSoftwareProtectionPlatform\OSPPREARM.exe" 
    schtasks /create /tn "IORRT" /tr %SystemDrive%\IORRT\IORRT.bat /sc daily /mo 1 /ru ""
    cscript "%PROGRAMFILES%\Microsoft Office\OFFICE14\OSPP.VBS" /dstatus
    echo.Press any key to return to the main menu
    pause > nul
    GOTO MAINMENU
    )
    
    :Status
    cscript "%PROGRAMFILES%\Microsoft Office\OFFICE14\OSPP.VBS" /dstatus
    IF NOT EXIST %SystemDrive%\Windows\Tasks\IORRT.job (
    echo IORRTT is not yet Installed
    echo.Press any key to return to the main menu
    pause > nul
    GOTO MAINMENU
    ) ELSE (
    echo.
    echo Press any key to return to the main menu
    PAUSE 1>nul
    GOTO MAINMENU
    )
    
    :Exit
    
     
  3. CODYQX4

    CODYQX4 MDL Developer

    Sep 4, 2009
    4,814
    45,774
    150
    Yeah it doesn't really care about moving time forward, but it will panic if you move it back. This is so people don't move their date back or use a timerstop to keep the count from hitting zero.
     
  4. timesurfer

    timesurfer MDL Developer

    Nov 22, 2009
    8,527
    4,104
    270
    #84 timesurfer, Dec 4, 2010
    Last edited: Dec 4, 2010
    (OP)
    What it does is use a back up and puts it in your system drive then upon choice C or task running it restores backup then does rearm which sets 30 days grace but it actually will, if your comp is on, restore/rearm once a day silently.

    I see the error your getting. Did you run as administrator? I think I've only gotten that when Office wans't installed?

    Thanks

    Yea office goes into notifications at end of 30 day grace then IORRT restores/rearms back to grace and all is well
     
  5. tomah

    tomah MDL Senior Member

    Sep 25, 2010
    408
    355
    10
    And I thought I was going to learn something from this. ;)
     
  6. tomah

    tomah MDL Senior Member

    Sep 25, 2010
    408
    355
    10
    #86 tomah, Dec 4, 2010
    Last edited: Dec 4, 2010
    That makes a lot of sense. With your way of thinking, I can hear Bill calling you, with that job offer, anytime now.:D
     
  7. tomah

    tomah MDL Senior Member

    Sep 25, 2010
    408
    355
    10
    Sorry about that. I guess with the testing I was doing, I didn't notice your posts. Oh well.
     
  8. wiryawang

    wiryawang MDL Junior Member

    May 10, 2007
    54
    2
    0
    Great job done, Thanks
     
  9. jtvgeo

    jtvgeo MDL Novice

    Dec 8, 2009
    23
    4
    0
    #89 jtvgeo, Dec 4, 2010
    Last edited: Dec 4, 2010
    Yes have Office installed first and i did run the program in administration.

    is office ProPlus 2010 suppose to show "product activated"? because mine isnt after applying the patch.
     
  10. tomah

    tomah MDL Senior Member

    Sep 25, 2010
    408
    355
    10
    The purpose of IORRT is not to activate Office. IORRT's purpose is to keep your copy of Office in a infinite grace period. You can verify this by using the "status" function. After a rearm, there should be a reset to 30 days if everythings working properly.
     
  11. jtvgeo

    jtvgeo MDL Novice

    Dec 8, 2009
    23
    4
    0
    #91 jtvgeo, Dec 4, 2010
    Last edited by a moderator: Apr 20, 2017
    thats the thing, when i press "Status" option. it doesnt give me any status. it gives me an error.

    Code:
    C:\IORRT\tokens.dat
    C:\IORRT\Cache\cache.dat
    4 File(s) copied
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The Office Software Protection Platform service is starting.
    Error: 0xc0000022
    On a computer running Microsoft Windows non-core edition, run 's
    lui.exe 0x2a 0xc0000022' to display the error text.
    SUCCESS: The scheduled task "IORRT" has successfully been create
    d.
    Microsoft (R) Windows Script Host Version 5.8
    Copyright (C) Microsoft Corporation. All rights reserved.
    
    Input Error: Can not find script file "C:\Program Files (x86)\Mi
    crosoft Office\OFFICE14\OSPP.VBS".
    IORRT                                    12/4/2010 8:49:00 PM
    Ready
    Press any key to return to the main menu
    
     
  12. CODYQX4

    CODYQX4 MDL Developer

    Sep 4, 2009
    4,814
    45,774
    150
    #92 CODYQX4, Dec 4, 2010
    Last edited by a moderator: Apr 20, 2017
    I'm pretty sure the 0xc0000022 error is a bricked office. Something went wrong and trashed your license data. Perhaps a failed restore as doing the delete without properly restoring is usually where I've seen that error.

    It also failed to use ospp.vbs to show the status, it was the rearm tool that gave you that error. I believe this is because IORRT.bat is not setup to get the path on 32 bit office on 64 bit OS properly.
     
  13. jtvgeo

    jtvgeo MDL Novice

    Dec 8, 2009
    23
    4
    0

    what will u suggest to get this working? or until IORRT is updated to work on 64bit OS?

    I have reinstall Office & repair office several time and the result end up the same output on IORRT's status
     
  14. tomah

    tomah MDL Senior Member

    Sep 25, 2010
    408
    355
    10
    #94 tomah, Dec 4, 2010
    Last edited: Dec 4, 2010
    Unfortunately, if CODYQX4 is correct that your copy of Office is bricked, Office will no longer work unless you can restore with a backup OR you reinstall Windows and then Office.

    I can't help you with your 64 bit issues as I am running XP 32bit. I'm sure somebody else may be able to comment on their findings on a 64 bit install.

    I can say that while testing for XP, if I could not get the OSPP service running, it was bricked. Does Office still startup? If during startup, it goes into a repair routine, then it probably is bricked.
     
  15. jtvgeo

    jtvgeo MDL Novice

    Dec 8, 2009
    23
    4
    0
    restoring did not made a dent to Office.

    now when i run Office, there's a popup windows showing an error and red bar stating "Product Activation Failed"

    i guess its bricked. ill have to format my computer, which is not a problem, i was pulling this off for awhile..
     
  16. tomah

    tomah MDL Senior Member

    Sep 25, 2010
    408
    355
    10
    If this has been working, I'm not sure why it would stop now. That's very odd. I know that during my XP testing this happened to me numerous times but I was under the impression that the Win7 version was tested and working. Sorry to hear about the reinstall.
     
  17. timesurfer

    timesurfer MDL Developer

    Nov 22, 2009
    8,527
    4,104
    270
    Like tomah suggested I wanted IORRT to not activate so it would never be un-activated :p...lol

    But fret not office behaves just like it was activated similar to how IR4 works by rearming but with no reboot like IR4 requires. It's a great solution for office since the Keygen used in the only other solution for office, KMS, get's flagged as Trojan and is kinda troublesome even though it does activate once you tame your AV to deal with keygen

    I think it is a better solution since if you ever get notification to activate just click the "C" option and it completely restore/rearm your computer to grace :p
     
  18. jtvgeo

    jtvgeo MDL Novice

    Dec 8, 2009
    23
    4
    0
    ill run this again on a virtualbox running 64bit OS and again on a 32bit OS and see what the outcome.

    i wonder if anyone running 64bit OS with 64bit office having this issue with IORRT program?
     
  19. timesurfer

    timesurfer MDL Developer

    Nov 22, 2009
    8,527
    4,104
    270
    I have tested IORRT on x64 bit and it works fine. Really just the status needed work for x64 and if you somehow get office into notifications the only way I got it to get back into grace was to have backuped with cody's toolkit or a complete OS reinstall. IORRT is not bricking office which is why I released it ;)
     
  20. jtvgeo

    jtvgeo MDL Novice

    Dec 8, 2009
    23
    4
    0
    #100 jtvgeo, Dec 4, 2010
    Last edited by a moderator: Apr 20, 2017
    so r u saying the error code below means my office was patched with your IORRT method but still throwing path error? and the program itself is faulty not my Office?

    Code:
    C:\IORRT\tokens.dat
    C:\IORRT\Cache\cache.dat
    4 File(s) copied
    The operation completed successfully.
    The operation completed successfully.
    The operation completed successfully.
    The Office Software Protection Platform service is starting.
    Error: 0xc0000022
    On a computer running Microsoft Windows non-core edition, run 's
    lui.exe 0x2a 0xc0000022' to display the error text.
    SUCCESS: The scheduled task "IORRT" has successfully been create
    d.
    Microsoft (R) Windows Script Host Version 5.8
    Copyright (C) Microsoft Corporation. All rights reserved.
    
    Input Error: Can not find script file "C:\Program Files (x86)\Mi
    crosoft Office\OFFICE14\OSPP.VBS".
    IORRT                                    12/4/2010 8:49:00 PM
    Ready
    Press any key to return to the main menu