save certificate and key w/out loading windows

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

  1. piercekalton

    piercekalton MDL Senior Member

    Apr 2, 2010
    416
    42
    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. urie

    urie Moderator
    Staff Member

    May 21, 2007
    9,039
    3,388
    300
  3. FreeStyler

    FreeStyler MDL Guru

    Jun 23, 2007
    3,557
    3,832
    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.
     
  4. gandarin

    gandarin MDL Novice

    Nov 22, 2009
    45
    19
    0