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

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

  1. timesurfer

    timesurfer MDL Developer

    Nov 22, 2009
    8,524
    4,112
    270
    #101 timesurfer, Sep 21, 2010
    Last edited: Sep 21, 2010
    (OP)
    Hey CODYQX4 I know your autorearm is ready to work with switch I just want to learn with the use of the console so I can see the code

    Lets determine at what day retail gets nags and do task to run before that. I mean does it really matter how regular OR4 task runs if it's silent and user doesn't notice. That besides conversion suggestions to volume is my best idea. Maybe the retail nags isn't so hard to to eliminate?

    What did you think of my ideas so far? Regarding when task and OR4.bat are created and placed we export restore then possibly OR4.bat runs imports then rearms so we don't use all rearms and only one is ever necessary to backup hence percentage of user success might be better

    See ya Bro

    p.s. After you and I discussing Smorgans "Home Brew" he released it at the other site the same day but it's only for windows not Office 2010...lol I guess we got to him finally :rolleyes:...lol
     
  2. CODYQX4

    CODYQX4 MDL Developer

    Sep 4, 2009
    4,813
    45,775
    150
    #102 CODYQX4, Sep 21, 2010
    Last edited: Apr 15, 2019
    .
     
  3. timesurfer

    timesurfer MDL Developer

    Nov 22, 2009
    8,524
    4,112
    270
    #103 timesurfer, Sep 21, 2010
    Last edited by a moderator: Apr 20, 2017
    (OP)
    So I just need help with this part of the console at the moment

    Code:
    :InstallOR4
    CLS
    color B
    mode con: cols=63 lines=20
    title OR4 1.0
    echo. -----------------------------------------------
    echo.
    echo. Installing OR4!!!!!
    echo. -----------------------------------------------
    echo.
    echo. Please Wait...
    echo.
    echo.
    color B
    mode con: cols=63 lines=20
    title OR4 1.0
    mkdir "%SystemDrive%Office Backup"
    XCOPY /Y /S /I "%ALLUSERSPROFILE%\Microsoft\OfficeSoftwareProtectionPlatform" "%SystemDrive%Office Backup"
    REG EXPORT HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office "%SystemDrive%Office Backup" 
    REG EXPORT HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\OfficeSoftwareProtectionPlatform "%SystemDrive%Office Backup"
    REG EXPORT HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Office "%ScriptPath%Activation Backup"
    REG EXPORT HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\OfficeSoftwareProtectionPlatform "%ScriptPath%Activation Backup" > nul 2>&1
    net start osppsvc
    SET file=%SystemDrive%\OR4.bat
    IF EXIST %file% attrib -h %file% 
    echo @echo off >>%file%
    echo cls >>%file%
    echo net stop osppsvc >>%file%
    echo XCOPY /Y /S /I "%ScriptPath%Activation Backup/Activation Files" "%ALLUSERSPROFILE%/Microsoft\OfficeSoftwareProtectionPlatform" >>%file%
    echo REG IMPORT "%ScriptPath%Activation Backup\Registry\Office1.reg" >>%file%
    echo REG IMPORT "%ScriptPath%Activation Backup\Registry\Office2.reg" > nul 2>&1 >>%file%
    echo REG IMPORT "%ScriptPath%Activation Backup\Registry\OfficeSoftwareProtectionPlatform1.reg" >>%file% 
    echo REG IMPORT "%ScriptPath%Activation Backup\Registry\OfficeSoftwareProtectionPlatform2.reg" > nul 2>&1 >>%file%
    echo net start osppsvc >>%file%
    echo pause >>%file%
    echo cls >>%file%
    echo "C:\Program Files\Common Files\microsoft shared\OfficeSoftwareProtectionPlatform\OSPPREARM.EXE" >>%file%
    schtasks /create /tn "Rearm2" /tr %file% /sc daily /mo 30 /RL HIGHEST /f
    start C:\OR4.bat
    pause
    echo.
    echo. Press any key to return to the main menu.
    pause > nul
    GOTO MAINMENU
    )
    With the uninstall we'll have to delete the backup directory along side with the OR4.bat and "Rearm2" task

    With the status I guess no change is necessary since it will read task and do "/dstatus"
     
  4. CODYQX4

    CODYQX4 MDL Developer

    Sep 4, 2009
    4,813
    45,775
    150
    #104 CODYQX4, Sep 21, 2010
    Last edited: Apr 15, 2019
    .
     
  5. timesurfer

    timesurfer MDL Developer

    Nov 22, 2009
    8,524
    4,112
    270
    #105 timesurfer, Sep 21, 2010
    Last edited by a moderator: Apr 20, 2017
    (OP)
    So how close is this...lol

    Code:
    @echo off
    @color 9A 
    mode con: cols=64 lines=21
    title OR4 1.0
    :MAINMENU
    CLS
    echo. 
    echo.       oOOOOOo   OOOOOO     OO   OOO    oO        oOOOOOo    
    echo.      OO     OO  OO   OOo   OO   OOO   OOO       OO     OO
    echo.      OO     OO  OO    OOo  OO   OOO  OOOO       OO     OO 
    echo.      OO     OO  OO    OOo  OO    OO    OO       OO     OO 
    echo.      OO     OO  OO    OOo  OO    OO    OO       OO     OO 
    echo.      OO     OO  OOOOOOOo   OOOOOOOO    OO       OO     OO 
    echo.      OO     OO  OO     oo        OO    OO       OO     OO 
    echo.      OO     OO  OO      Oo       OO    OO       OO     OO 
    echo.      OO     OO  OO      OO       OO    OO   OO  OO     OO  
    echo.   ... oOOOOOo   OO       Oo      OO   OOOO  OO   oOOOOOo ...
    echo.
    echo.                         by timesurfer...
    echo.      
    echo.       An alternative Office 2010 Rearm Concept Solution.     
    echo.
    echo.        A. Install OR4
    echo.        B. Uninstall OR4
    echo.       C. OR4 Status
    echo.   
    
    :CHOOSEACTION
    set /p userinp=    ^   Make your selection: 
    set userinp=%userinp:~0,1%
    if /i "%userinp%"=="A" goto InstallOR4
    if /i "%userinp%"=="B" goto UninstallOR4
    if /i "%userinp%"=="C" goto OR4Status
    echo.
    echo. Try Again Dude...
    echo.
    GOTO CHOOSEACTION
    
    :InstallOR4
    CLS
    @color 9A
    mode con: cols=64 lines=21
    title OR4 1.0
    echo. -----------------------------------------------
    echo.
    echo. Installing OR4!!!!!
    echo. -----------------------------------------------
    echo.
    echo. Please Wait...
    echo.
    echo.
    @color 9A
    mode con: cols=64 lines=21
    title OR4 1.0
    mkdir "%SystemDrive%Office Backup"
    net stop osppsvc
    XCOPY /Y /S /I "%ALLUSERSPROFILE%\Microsoft\OfficeSoftwareProtectionPlatform" "%SystemDrive%Office Backup"
    REG EXPORT HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office "%SystemDrive%Office Backup" 
    REG EXPORT HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\OfficeSoftwareProtectionPlatform "%SystemDrive%Office Backup"
    REG EXPORT HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Office "%SystemDrive%Office Backup"
    REG EXPORT HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\OfficeSoftwareProtectionPlatform "%SystemDrive%Office Backup" > nul 2>&1
    net start osppsvc
    SET file=%SystemDrive%\OR4.bat
    IF EXIST %file% attrib -h %file% 
    echo @echo off >>%file%
    echo cls >>%file%
    echo net stop osppsvc >>%file%
    echo XCOPY /Y /S /I "%SystemDrive%Office Backup" "%ALLUSERSPROFILE%/Microsoft\OfficeSoftwareProtectionPlatform" >>%file%
    echo REG IMPORT "%SystemDrive%Office Backup" \HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office" >>%file%
    echo REG IMPORT "%SystemDrive%Office Backup"\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\OfficeSoftwareProtectionPlatform" > nul 2>&1 >>%file%
    echo REG IMPORT "%SystemDrive%Office Backup"\HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Office" >>%file% 
    echo REG IMPORT "%SystemDrive%Office Backup"\HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\OfficeSoftwareProtectionPlatform" > nul 2>&1 >>%file%
    echo net start osppsvc >>%file%
    echo pause >>%file%
    echo cls >>%file%
    echo "C:\Program Files\Common Files\microsoft shared\OfficeSoftwareProtectionPlatform\OSPPREARM.EXE" >>%file%
    schtasks /create /tn "Rearm2" /tr %file% /sc daily /mo 30 /RL HIGHEST /f
    start C:\OR4.bat
    pause
    echo.
    echo. Press any key to return to the main menu.
    pause > nul
    GOTO MAINMENU
    )
    
    :UninstallOR4
    CLS
    @color 9A 
    mode con: cols=64 lines=21
    title OR4 1.0
    echo. -----------------------------------------------
    echo.
    echo. Uninstalling OR4!!!!!
    echo. -----------------------------------------------
    echo.
    echo. Please Wait...
    echo.
    echo.
    SET file=%SystemDrive%\OR4.bat
    IF EXIST %file% attrib -h %file%
    del %file% 
    del c:\OR4
    schtasks /delete /tn "Rearm2" /f
    echo. Press any key to return to the main menu.
    pause > nul
    GOTO MAINMENU
    )
    
    :OR4Status
    @color 9A 
    mode con: cols=64 lines=21
    title OR4 1.0
    cscript "%PROGRAMFILES%\Microsoft Office\OFFICE14\OSPP.VBS" /dstatus
    schtasks /query | FINDSTR /I "Rearm2"
    IF ERRORLEVEL 1 echo Rearm2 Task is not yet Installed
    echo. Press any key to return to the main menu.
    pause > nul
    GOTO MAINMENU
    )
    But in more stripped down fashion if possible but I'm uncertain what to include and what not to include and how to deal with x64 if necessary. I'd like to simply use the back up's you do but in code here in console

    Anyone know how to change background color for console?

    :D
     
  6. sh770

    sh770 MDL Novice

    Sep 30, 2009
    12
    3
    0
    @color Fc
    For example
     
  7. timesurfer

    timesurfer MDL Developer

    Nov 22, 2009
    8,524
    4,112
    270
  8. unknownzd

    unknownzd MDL Member

    Jul 28, 2008
    130
    19
    10
    C:\>color /?
    Sets the default console foreground and background colors.

    COLOR [attr]

    attr Specifies color attribute of console output

    Color attributes are specified by TWO hex digits -- the first
    corresponds to the background; the second the foreground. Each digit
    can be any of the following values:

    0 = Black 8 = Gray
    1 = Blue 9 = Light Blue
    2 = Green A = Light Green
    3 = Aqua B = Light Aqua
    4 = Red C = Light Red
    5 = Purple D = Light Purple
    6 = Yellow E = Light Yellow
    7 = White F = Bright White

    If no argument is given, this command restores the color to what it was
    when CMD.EXE started. This value either comes from the current console
    window, the /T command line switch or from the DefaultColor registry
    value.

    The COLOR command sets ERRORLEVEL to 1 if an attempt is made to execute
    the COLOR command with a foreground and background color that are the
    same.

    Example: "COLOR fc" produces light red on bright white

    C:\>
     
  9. CODYQX4

    CODYQX4 MDL Developer

    Sep 4, 2009
    4,813
    45,775
    150
    #109 CODYQX4, Sep 21, 2010
    Last edited: Apr 15, 2019
    .
     
  10. timesurfer

    timesurfer MDL Developer

    Nov 22, 2009
    8,524
    4,112
    270
    #110 timesurfer, Sep 21, 2010
    Last edited: Sep 21, 2010
    (OP)
    So my script is putting the backup folder where OR4 is...lol I want it to go in the c:\ with the OR4.bat file

    Any help with my script above?

    Thank you :D

    Edit: I hear you cody but if anyone want's to help me I'd like to work on it for the console;)

    Then can you show me where to put your code with autorearm with it in my console?

    And does your autorearm setup use out all five rearms or just one restore then rearm then repeat?
     
  11. unknownzd

    unknownzd MDL Member

    Jul 28, 2008
    130
    19
    10
    Actually do you know what the things that you are talking about ...... if you think you can patch 2 different file with the same sequence then you are in a epic wrong way of learning how to crack an app ......... actually the sequence that you have seen in one dll can have the different usage for another dll ......

    for example if you patch mov $0,%eax; for a dll ...... doesn't mean that it cannot be presented in another dll and have a different usage ...... you better learn more about instruction set and disassembler before you said so ......

    btw I am not surprised by the thing you mentioned about Adobe ...... their app is like having the most fail security on the world ...... there is @ least a 0day exploit every month for their apps.
     
  12. CODYQX4

    CODYQX4 MDL Developer

    Sep 4, 2009
    4,813
    45,775
    150
    #112 CODYQX4, Sep 21, 2010
    Last edited: Apr 15, 2019
    .
     
  13. unknownzd

    unknownzd MDL Member

    Jul 28, 2008
    130
    19
    10
    #113 unknownzd, Sep 21, 2010
    Last edited by a moderator: Apr 20, 2017
    Consider using GetNativeSystemInfo and IsWOW64Process to test whether the app is working under x64 OS or not ......

    Example code in C / C++ (you may need to load the library if you develop the program in C#) :
    Code:
            SYSTEM_INFO *new_info = (SYSTEM_INFO *)HeapAlloc(ProcessHeap,0x8,sizeof(SYSTEM_INFO)); // in C way ..... you can use new instead for C++
            GetNativeSystemInfo(new_info);
    if (new_info->wProcessorArchitecture)
    {
    if (new_info->wProcessorArchitecture == 0x6)
    fputs("You are running IA64 based Windows.",stderr);
    else if (new_info->wProcessorArchitecture == 0x9)
    fputs("You are running x64 based Windows.",stderr);
    else fputs("You are running an unknown architecture based Windows.",stderr);
    }
            else fputs("You are running x86 based Windows.",stderr);
    HeapFree(ProcessHeap,0,new_info);
    
     
  14. unknownzd

    unknownzd MDL Member

    Jul 28, 2008
    130
    19
    10
    #114 unknownzd, Sep 21, 2010
    Last edited: Sep 21, 2010
    hmmm I think that is because the codes used in the specific function (the one that you patched) has never changed and hence the compiler / assembler will not give out any different result as the source code of that function has not been changed

    Anyway I have investigated more MAK keys now and found out that there is *no* common bit existing in the calculated base24 value :x (that means no way to briefly check a key before passing it for validation :x)
     
  15. CODYQX4

    CODYQX4 MDL Developer

    Sep 4, 2009
    4,813
    45,775
    150
    #115 CODYQX4, Sep 22, 2010
    Last edited: Apr 15, 2019
    .
     
  16. timesurfer

    timesurfer MDL Developer

    Nov 22, 2009
    8,524
    4,112
    270
  17. CODYQX4

    CODYQX4 MDL Developer

    Sep 4, 2009
    4,813
    45,775
    150
    #117 CODYQX4, Sep 22, 2010
    Last edited: Apr 15, 2019
    .
     
  18. timesurfer

    timesurfer MDL Developer

    Nov 22, 2009
    8,524
    4,112
    270
  19. CODYQX4

    CODYQX4 MDL Developer

    Sep 4, 2009
    4,813
    45,775
    150
    #119 CODYQX4, Sep 22, 2010
    Last edited: Apr 15, 2019
    .
     
  20. CODYQX4

    CODYQX4 MDL Developer

    Sep 4, 2009
    4,813
    45,775
    150
    #120 CODYQX4, Sep 22, 2010
    Last edited: Apr 15, 2019
    .