save certificate and key w/out loading windows

Discussion in 'Windows 7' started by piercekalton, Mar 21, 2012.

  1. piercekalton

    piercekalton MDL Member

    Apr 2, 2010
    177
    4
    10
    is it possible to save a certificate and key without loading the OS?

    example: I have the drive connected to another PC

    also, is it possible to do for office 2010?
     
  2. NICK@NUMBER11

    NICK@NUMBER11 MDL Expert

    Mar 23, 2010
    1,354
    632
    60
  3. urie

    urie Moderator
    Staff Member

    May 21, 2007
    8,692
    3,044
    300
  4. sebus

    sebus MDL Guru

    Jul 23, 2008
    5,833
    1,748
    180
    It is better to mount the hive from offline version of Windows & use this

    sebus
     
  5. FreeStyler

    FreeStyler MDL Guru

    Jun 23, 2007
    3,502
    3,611
    120
    #5 FreeStyler, Mar 22, 2012
    Last edited by a moderator: Apr 20, 2017
    Certificate can be extracted from tokens.dat

    Copy and save or backup the following activation-related files to somewhere safe

    Code:
    %SystemDrive%\Windows\ServiceProfiles\NetworkService\AppData\Roaming\Microsoft\SoftwareLicensing\Tokens.DAT
    %SystemDrive%\Windows\ServiceProfiles\NetworkService\AppData\Roaming\Microsoft\SoftwareProtectionPlatform\Tokens.DAT
    Open with NotePad

    Search for the following string: "OEM Certificate"

    Find the string "<?xml " directly preceding the string "OEM Certificate" (About 345 characters)

    Find the string "</r:license>" directly succeeding "OEM Certificate" (About 2,370 characters)

    Select from the "<?xml " to "</r:license>" and copy into another file (Include the "<?xml " and "</r:license>")

    Save the Certificate file with .xrm-ms file extension.
     
  6. gandarin

    gandarin MDL Novice

    Nov 22, 2009
    45
    19
    0