"Office 2010 Retail/Volume Project to bypass activation without KMS/keygen?"

Discussion in 'Microsoft Office' started by timesurfer, Sep 19, 2010.

  1. CODYQX4

    CODYQX4 MDL Developer

    Sep 4, 2009
    4,813
    45,775
    150
    #341 CODYQX4, Nov 12, 2010
    Last edited: Apr 15, 2019
    .
     
  2. timesurfer

    timesurfer MDL Developer

    Nov 22, 2009
    8,527
    4,112
    270
    #342 timesurfer, Nov 12, 2010
    Last edited by a moderator: Apr 20, 2017
    (OP)
    Yea "alternative" office app development is a lonely road :p...lol Especially when it's trial vs. Activated like IR4 :eek:

    So what your saying is if it works with XP it will work with vista, 7?

    We just have our one notification issue and then maybe it will be more attractive since no AV issue exists with our trial 2010 app's.

    O well I'm patient if you are :p

    Atleast I figured out all the errors. Bricking my 2010 in testing IORRT was a real pain but no more errors. And now it's more flexible with the code change in the restore/rearm function or whatever I'm suppose to call it...lol

    Code:
    @echo off
    @color 0C
    title IORRT
    :MAINMENU
    mode con: cols=45 lines=12
    CLS
    echo.
    echo.
    echo.  
    echo.    InfiniteOfficeRestoreRearmTask (IORRT) 
    echo.      
    echo.      An Office Restore Rearm Solution 
    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
    CLS
    mode con: cols=64 lines=21
    title IORRT
    schtasks /Query /TN "IORRT" 1>nul 2>nul
    IF ERRORLEVEL 1 (
    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" "C:\IORRT"
    reg save "HKLM\SOFTWARE\Microsoft\OfficeSoftwareProtectionPlatform" C:\IORRT\Backup.hiv /y
    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 "C:\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" C:\IORRT\Backup.hiv >>%file%
    echo net start osppsvc >>%file%
    echo IF Exist "%COMMONPROGRAMFILES%\microsoft shared\OfficeSoftwareProtectionPlatform\OSPPREARM.exe" ( >>%file%
    echo "%COMMONPROGRAMFILES%\microsoft shared\OfficeSoftwareProtectionPlatform\OSPPREARM.exe" >>%file%
    echo ) ELSE ( "%COMMONPROGRAMFILES(X86)%\microsoft shared\OfficeSoftwareProtectionPlatform\OSPPREARM.exe" >>%file%
    echo ) >>%file%
    echo schtasks /create /tn "IORRT" /tr '"%SystemDrive%\IORRT\IORRT.bat"' /sc daily /mo 30 /ru "" /f >>%file%
    IF Exist "C:\Program Files\Common Files\microsoft shared\OfficeSoftwareProtectionPlatform\OSPPREARM.exe" ( 
    "C:\Program Files\Common Files\microsoft shared\OfficeSoftwareProtectionPlatform\OSPPREARM.exe" 
    ) ELSE ( "C:\Program Files(x86)\Common Files\\microsoft shared\OfficeSoftwareProtectionPlatform\OSPPREARM.exe" 
    )
    schtasks /create /tn "IORRT" /tr '"%SystemDrive%\IORRT\IORRT.bat"' /sc daily /mo 30 /ru "" /f
    echo.
    cscript "%PROGRAMFILES%\Microsoft Office\OFFICE14\OSPP.VBS" /dstatus
    schtasks /query | FINDSTR /I "IORRT"
    IF ERRORLEVEL 1 echo IORRT is not yet Installed
    echo.Press any key to return to the main menu
    pause > nul
    GOTO MAINMENU
    )
    
    :Uninstall
    mode con: cols=64 lines=21
    title IORRT
    schtasks /Query /TN "IORRT" 0>nul 1>nul
    IF '%ERRORLEVEL%' EQU '0' (
    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 "C:\IORRT" "%ALLUSERSPROFILE%\Microsoft\OfficeSoftwareProtectionPlatform"
    REG DELETE HKLM\SOFTWARE\Microsoft\OfficeSoftwareProtectionPlatform /f
    REG ADD HKLM\SOFTWARE\Microsoft\OfficeSoftwareProtectionPlatform /f
    reg restore "HKLM\SOFTWARE\Microsoft\OfficeSoftwareProtectionPlatform" C:\IORRT\Backup.hiv
    net start osppsvc
    SET file=%SystemDrive%\IORRT
    IF EXIST %file% attrib -h %file%
    RD /S /Q  %file%
    DEL C:\ProgramData\Microsoft\OfficeSoftwareProtectionPlatform\IORRT.bat
    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
    mode con: cols=64 lines=21
    title IORRT
    schtasks /Query /TN "IORRT" 0>nul 1>nul
    IF '%ERRORLEVEL%' EQU '0' (
    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 "C:\IORRT" "%ALLUSERSPROFILE%\Microsoft\OfficeSoftwareProtectionPlatform"
    REG DELETE HKLM\SOFTWARE\Microsoft\OfficeSoftwareProtectionPlatform /f
    REG ADD HKLM\SOFTWARE\Microsoft\OfficeSoftwareProtectionPlatform /f
    reg restore "HKLM\SOFTWARE\Microsoft\OfficeSoftwareProtectionPlatform" C:\IORRT\Backup.hiv
    net start osppsvc
    IF Exist "C:\Program Files\Common Files\microsoft shared\OfficeSoftwareProtectionPlatform\OSPPREARM.exe" ( 
    "C:\Program Files\Common Files\microsoft shared\OfficeSoftwareProtectionPlatform\OSPPREARM.exe" 
    ) ELSE ( "C:\Program Files(x86)\Common Files\\microsoft shared\OfficeSoftwareProtectionPlatform\OSPPREARM.exe" 
    )
    schtasks /create /tn "IORRT" /tr '"%SystemDrive%\IORRT\IORRT.bat"' /sc daily /mo 30 /ru "" /f
    cscript "%PROGRAMFILES%\Microsoft Office\OFFICE14\OSPP.VBS" /dstatus
    schtasks /query | FINDSTR /I "IORRT"
    echo.Press any key to return to the main menu
    pause > nul
    GOTO MAINMENU
    )
    
    :Status
    mode con: cols=64 lines=21
    title IORRT
    cscript "%PROGRAMFILES%\Microsoft Office\OFFICE14\OSPP.VBS" /dstatus
    schtasks /query | FINDSTR /I "IORRT"
    IF ERRORLEVEL 1 echo IORRTT is not yet Installed
    echo.
    echo.Press any key to return to the main menu
    pause > nul
    GOTO MAINMENU
    )
    
    :Exit
    What do you think of the %SystemDrive% changes I made but could make more?

    Later Dude:worthy:

    p.s. I've been using IORRT for like a couple months about and works awesome but I was already activated which is the requirement for IORRT to work...lol
     
  3. CODYQX4

    CODYQX4 MDL Developer

    Sep 4, 2009
    4,813
    45,775
    150
    #343 CODYQX4, Nov 12, 2010
    Last edited: Apr 15, 2019
    .
     
  4. timesurfer

    timesurfer MDL Developer

    Nov 22, 2009
    8,527
    4,112
    270
    #344 timesurfer, Nov 15, 2010
    Last edited by a moderator: Apr 20, 2017
    (OP)
  5. timesurfer

    timesurfer MDL Developer

    Nov 22, 2009
    8,527
    4,112
    270
    #345 timesurfer, Nov 16, 2010
    Last edited: Nov 17, 2010
    (OP)
    I'll look in registry then for a disable notifications or something. Looked around technet and didn't find anything first time

    Any hints where to start?

    Where you've looked so far?

    Anyone this stuff is hard :(

    :D
     
  6. timesurfer

    timesurfer MDL Developer

    Nov 22, 2009
    8,527
    4,112
    270
  7. timesurfer

    timesurfer MDL Developer

    Nov 22, 2009
    8,527
    4,112
    270
    #347 timesurfer, Nov 27, 2010
    Last edited by a moderator: Apr 20, 2017
    (OP)
    So Snuffy had an idea that I had but never tried. To take any BL'd MAK key and after clean 2010 use this cmd

    Code:
    cscript "%PROGRAMFILES%\Microsoft Office\Office14\ospp.vbs" /inpkey:BL'd MAK key
    Then run IORRT hence the bogus key is just there to be able to rearm

    I will test myself and give results soon. Hope it works...lol

    Just need to place correctly in IORRT .bat file

    Edit: Ok so that failed...lol

    Am going to try trial copy of pro plus...lol And see what state that is in initially...lol

    lol...Trial wouldn't install give up for now :p
     
  8. tomah

    tomah MDL Senior Member

    Sep 25, 2010
    408
    355
    10
    I don't use Office myself but love your commitment to this project. I was just wondering if it would be possible to make note of the current system date, advance it 30 days ahead (hopefully putting you into grace), run your script, and then change the date back. I know that changing the system date is not a great way of doing things, but then you wouldn't have it changed for a very long period of time. Unfortunately, if this will work (not sure if it will), we'll still need to get the date to some how advance 30 days and then back. Anyways, keep up the great work. I'm sure you'll get it sooner or later.
     
  9. timesurfer

    timesurfer MDL Developer

    Nov 22, 2009
    8,527
    4,112
    270
    I think it may be the combo ISO for 2010 vl that is limited at initial install to rearm hence use IORRT. I Will let you know soon ok

    Thanks for your positivity

    And that idea (time change then backup) I had but haven't tried it myself...lol
     
  10. timesurfer

    timesurfer MDL Developer

    Nov 22, 2009
    8,527
    4,112
    270
    #350 timesurfer, Nov 28, 2010
    Last edited by a moderator: Apr 20, 2017
    (OP)
    So others have said IORRT works for them because they get grace status after clean install :eek:

    I've tried like 2 different RTM's Combo and real RTM and all give me notification not grace after clean install which is what IORRT has problems with since a initial rearm is necessary but impossible with initial 2010 vl install

    so why am I getting mixed results?

    Can anyone please clean install RTM 2010 pro plus VL and then tell me with screenshot what status is present: Notifications, Grace, etc...

    Don't activate or anything just the status msg box please with this code in cmd prompt

    Code:
    cscript "%PROGRAMFILES%\Microsoft Office\OFFICE14\OSPP.VBS" /dstatus
    Thank you
     
  11. tomah

    tomah MDL Senior Member

    Sep 25, 2010
    408
    355
    10
    I had a little time so, I downloaded the "X16-32250.exe" file from Digital River (sorry, I'm using 32bit Win XP), converted it using Stannieman's "Office 2010 Installer Channel Switcher", installed it and then ran your code above. I got the following result:

    "i51.tinypic.com/2rom88n.jpg" (sorry, cannot post links or images yet)

    Hope this is what you were requesting.
     
  12. timesurfer

    timesurfer MDL Developer

    Nov 22, 2009
    8,527
    4,112
    270
    Thanks that's what we're hoping for and I've heard one result so far although 70 people have dl'd it with no responses...lol

    I reinstalled my OS and am trying again since I might have had reg key problem somehow

    So for you IORRT should be awesome

    How does the task install for your XP?
     
  13. tomah

    tomah MDL Senior Member

    Sep 25, 2010
    408
    355
    10
    #353 tomah, Nov 28, 2010
    Last edited: Nov 28, 2010
    Actually, I haven't tried it. I just noticed you needing somebody to post a result (and had some time to kill) so I figured I'd see if I could help move your project along. I'll try it and let you know.

    Update:
    It looks like when I try installing IORRT, the service stops fine, the 2 files get copied fine, the service restarts fine, my grace period gets reset to 43200 minutes (due to a rearm being used), but in the end, it indicates that "IORRT is not yet Installed". I know that a rearm is being used because, after trying a few times to install IORRT, I eventually get an error 0xC004D307.
     
  14. flare4000

    flare4000 MDL Senior Member

    Apr 23, 2010
    414
    114
    10
    #354 flare4000, Nov 28, 2010
    Last edited by a moderator: Apr 20, 2017
  15. timesurfer

    timesurfer MDL Developer

    Nov 22, 2009
    8,527
    4,112
    270
    @flare I'm guessing it's not backing up and or restoring or maybe not installing task but thanks for feedback I had messed up reg key and resintall os so now I get grace but having same problem you guys are.
     
  16. flare4000

    flare4000 MDL Senior Member

    Apr 23, 2010
    414
    114
    10
    #356 flare4000, Nov 29, 2010
    Last edited by a moderator: Apr 20, 2017
    My problem requires a check to see where office is installed program files or program files (x86) see here
    Code:
    cscript "%PROGRAMFILES%\Microsoft Office\OFFICE14\OSPP.VBS" /dstatus
    
     
  17. CODYQX4

    CODYQX4 MDL Developer

    Sep 4, 2009
    4,813
    45,775
    150
    #357 CODYQX4, Nov 29, 2010
    Last edited: Apr 15, 2019
    .
     
  18. flare4000

    flare4000 MDL Senior Member

    Apr 23, 2010
    414
    114
    10
    I'm just testing already activated via mak key :p
     
  19. timesurfer

    timesurfer MDL Developer

    Nov 22, 2009
    8,527
    4,112
    270
    #359 timesurfer, Nov 29, 2010
    Last edited: Nov 29, 2010
    (OP)
    Because I started this rearm concept and because I develop stuff...lol

    It is fun to learn and it's part of my scripting learning

    You should help me test not tell me to drop it and just use yours...lol

    Some of my ideas you said you put in your Autorearm
     
  20. CODYQX4

    CODYQX4 MDL Developer

    Sep 4, 2009
    4,813
    45,775
    150
    #360 CODYQX4, Nov 29, 2010
    Last edited: Apr 15, 2019
    .