Where is certs installed ?

Discussion in 'Windows 7' started by tcntad, Apr 19, 2010.

  1. tcntad

    tcntad MDL Guru

    Oct 26, 2009
    4,103
    1,302
    150
    #1 tcntad, Apr 19, 2010
    Last edited: Apr 19, 2010
    Hmm good afternoon guys and girls.


    Can i just have a homemade script copy it to a folder in lets say system32 and it'll be fine ?
    Thinking i can copy the xx.xrm-ms cert somewhere to a mounted image and integrate key and that'll be fine but maybe im wrong :p
     
  2. urie

    urie Moderator
    Staff Member

    May 21, 2007
    8,715
    3,084
    300
    cert is copied to C:\Windows\System32\OEM which is equivilent to sources\$oem$\$$\system32\oem on dvd, you don't need script just add it to the OEM folder on dvd.
     
  3. tcntad

    tcntad MDL Guru

    Oct 26, 2009
    4,103
    1,302
    150
    Great thanks :)
    I figure it was like that but i wasnt sure :p I still have alot to learn bout the $oem$ folder unfortunately.

    And its possible for a script to check what oembrand the bios is and copy the proper certificate to right folder ? :)
     
  4. MasterDisaster

    MasterDisaster MDL Expert

    Aug 29, 2009
    1,256
    670
    60
    I think that is what searchengine's Multi Brand Activation dvd does.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. tcntad

    tcntad MDL Guru

    Oct 26, 2009
    4,103
    1,302
    150
    Yep it does and other preactivation kit does the same :)

    Seems like i have to do hard work to make a script my own.
    Had problems with my scriptthingy but we'll se bout this one :p
     
  6. searchengine

    searchengine Guest

    yep.. just as urie posted, you can put a whole bunch of different certs in that folder for different brands (file names not important) ... windows will auto install the right cert , as long as it sees a matching bios (with slic2.1).

    and MasterDisaster correct, Multi Brand Activation thingy checks bios strings to apply keys and certs.
     
  7. tcntad

    tcntad MDL Guru

    Oct 26, 2009
    4,103
    1,302
    150
    Thanks for the reply :)

    So during install windows will install the right certificate for my computer automatically with or without the script ? :p. (with eh?).
    Ofcourse my computer has slic 2.1 thanks to nojuan999.

    So i can borrow your script & remove keys from the script and just have it check for oembrand in bios ?

    And your script will also install correct OEM info ? :)
     
  8. 911medic

    911medic MDL Guru

    Aug 13, 2008
    5,778
    491
    180
    To say that windows picks the correct cert and is installs it is kind of mis-information..

    Windows will actually install all the certs in the directory. If you look at the file after one cert install and multi cert, there is quite a difference. It is just the scan will match more pubkey/markers this way with more certs in the file; as opposed to installing just the HP cert for example..

    It is not difficult to script a .bat file to search the registry for RSDT strings and install appropriate certs..it has been addressed many times here.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  9. tcntad

    tcntad MDL Guru

    Oct 26, 2009
    4,103
    1,302
    150
    Ive seen scripts here doing it so i know its possible and theyre available :)
    So if i just have a bunch of scripts windows will install them all unless i have a script doing that ?

    Perhaps a quicklesson in writing that script ? :p
     
  10. timesurfer

    timesurfer MDL Developer

    Nov 22, 2009
    8,527
    4,069
    270
    #10 timesurfer, Apr 19, 2010
    Last edited by a moderator: Apr 20, 2017
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  11. 911medic

    911medic MDL Guru

    Aug 13, 2008
    5,778
    491
    180
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  12. tcntad

    tcntad MDL Guru

    Oct 26, 2009
    4,103
    1,302
    150
    Great thanks :)

    I can just delete the ":installkey" part right ? Since ill only use windows 7 and ill integrate the key to the edition.
     
  13. wade7575

    wade7575 MDL Novice

    Feb 22, 2010
    44
    7
    0
    I was wondering something about cert's,when you install the propper SLP Key for your brand of PC if it has slic 2.1 in it's bios does the DAZ loader install a cert it has or do you have to make a cert.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  14. 911medic

    911medic MDL Guru

    Aug 13, 2008
    5,778
    491
    180
    #14 911medic, Apr 19, 2010
    Last edited: Apr 19, 2010
    yep....you sure can;as well as the first part and the vista part.

    you only need :begin and :cert

    make this
    this
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  15. tcntad

    tcntad MDL Guru

    Oct 26, 2009
    4,103
    1,302
    150
    #15 tcntad, Apr 19, 2010
    Last edited by a moderator: Apr 20, 2017
    (OP)
    If you have SLIC 2.1 in bios you install the right OEMSLP Key and certificate, they are available here on MDL, no need to make your own ofcourse.

    :thumbsup:

    So keep the :begin part with the bioscheck and name it to uhm what ? setupcomplete ?

    Code:
    :begin
    
    SET query=REG QUERY HKLM\HARDWARE\ACPI\RSDT
    
    %query% | FINDSTR /I ACRSYS
    IF NOT ERRORLEVEL 1 SET VAR=ACER & GOTO CERT
    
    %query% | FINDSTR /I ALWARE
    IF NOT ERRORLEVEL 1 SET VAR=ALIENWARE & GOTO CERT
    
    %query% | FINDSTR /I DELL
    IF NOT ERRORLEVEL 1 SET VAR=DELL & GOTO CERT
    
    %query% | FINDSTR /I ASUS
    IF NOT ERRORLEVEL 1 SET VAR=ASUS & GOTO CERT
    
    %query% | FINDSTR /I FOUNDR
    IF NOT ERRORLEVEL 1 SET VAR=FOUNDER & GOTO CERT
    
    %query% | FINDSTR /I FSC
    IF NOT ERRORLEVEL 1 SET VAR=FSC & GOTO CERT
    
    %query% | FINDSTR /I FUJ
    IF NOT ERRORLEVEL 1 SET VAR=FUJITSU & GOTO CERT
    
    %query% | FINDSTR /I HPQ
    IF NOT ERRORLEVEL 1 SET VAR=HP & GOTO CERT
    
    %query% | FINDSTR /I LENOVO
    IF NOT ERRORLEVEL 1 SET VAR=LENOVO & CERT
    
    %query% | FINDSTR /I MSI
    IF NOT ERRORLEVEL 1 SET VAR=MSI & GOTO CERT
    
    %query% | FINDSTR /I TOS
    IF NOT ERRORLEVEL 1 SET VAR=TOSHIBA & GOTO CERT
    
    :CERT
    cscript %WINDIR%\System32\slmgr.vbs -ilc "%~dp0%VAR%.xrm-ms
    goto finish
    
    :finish
    exit
    
    Edit: Where can i find all available certificates out there ?

    Searchengine's activator has 33 and ive seen one with more i think..
     
  16. timesurfer

    timesurfer MDL Developer

    Nov 22, 2009
    8,527
    4,069
    270
    SLP are for version not brand thats certs and yea daz does both...lol
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  17. tcntad

    tcntad MDL Guru

    Oct 26, 2009
    4,103
    1,302
    150
    Exactly thanks alot for your help man.

    Really appreciated :)
     
  18. 911medic

    911medic MDL Guru

    Aug 13, 2008
    5,778
    491
    180
    #18 911medic, Apr 19, 2010
    Last edited by a moderator: Apr 20, 2017
    Certs=http://forums.mydigitallife.net/threads/5952-Win-7-amp-Server-08-R2-SLIC-2.1-Bin-Collection

    I would put this in setupcomplete.cmd:

    or

    Then name the installer install.cmd.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  19. tcntad

    tcntad MDL Guru

    Oct 26, 2009
    4,103
    1,302
    150
  20. 911medic

    911medic MDL Guru

    Aug 13, 2008
    5,778
    491
    180
    #20 911medic, Apr 19, 2010
    Last edited: Apr 19, 2010
    Put everything in the \scripts folder.

    You should have the setupcomplete.cmd, install.cmd and the certificates you want to use in the \scripts directory.

    You can script to delete all of them if you wish.

    You can also put the certs in a seperate folder named "certs" and change the certificate call script to
    cscript %WINDIR%\System32\slmgr.vbs -ilc "%~dp0certs\%VAR%.xrm-ms

    it can be cleaned up as necessary.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...