Creating auto-activating DVD's-With or Without Loader???

Discussion in 'Windows 7' started by sushil1576, Sep 21, 2009.

  1. nononsence

    nononsence MDL Addicted

    Aug 18, 2009
    806
    826
    30
    #41 nononsence, Sep 24, 2009
    Last edited: Sep 24, 2009
    just try the oem folder method of installing the cert.

    put the correct certificate in $OEM$\$$\system32\OEM

    I may not have included the certificate for your bios
    also can you point me to the vmware bios you have

    I tested the script by installing in vmware and manualy installing the
    key and grldr with a fujitsu slic rebooted made sure the fujutsu slic
    was present then ran the script, It installed the fujitsu cert then
    quit. windows was activated.
     
  2. nononsence

    nononsence MDL Addicted

    Aug 18, 2009
    806
    826
    30
    I just tested the oem folder as posted on my workstation with a
    hp slic BIOS mod, the script ran and installed the correct cert
    windows activated.

    if you could post the slic and the cert you used in the bios mod
    you have, I can add it to the oem folder.
     
  3. tuvi123

    tuvi123 MDL Addicted

    Jul 29, 2009
    623
    86
    30
    nononsence
    can you make an appilication that automatically add 2.1 slic into any glrdr file?
    I mean that make "Browse" button to choose grldr file and make option to change the slic2.1 (acer/dell etc..) and build the new glrdr file..
    if zsmin will release a new version for his loader I want to add be able to add Dell slic2.1 into it, but I don't know how to do it manually..

    also I can't find the source for Biosversion.exe..

    If I want to make a preactivation kit that activate all editions with a loader..
    (without the need for the bios thing)
    but I want to use zsmin glrdr with dell slic and cert..
    how do I do that?
    I know it's the same method like twith the OEM folder, but I dont know where to put the fles and how to install the loader..
    please make a preactivation kit..
    I tried to do it manually with SetupComplete.cmd:
    SetupComplete.cmd:
    @echo off
    cd "%~dp0"
    cscript //nologo "%~dp0SETUP\SCRIPTS\install_bootloader.exe"
    I think it does not work...
     
  4. nononsence

    nononsence MDL Addicted

    Aug 18, 2009
    806
    826
    30
    #45 nononsence, Sep 24, 2009
    Last edited by a moderator: Apr 20, 2017
    I cant make an app for an unreleased loader but it would only take a few min
    after it was released.

    try the new oem folder

    the problem with your setupcomplete.cmd

    Code:
    @echo off
    "%~dp0install_bootloader.exe"
    
     
  5. tuvi123

    tuvi123 MDL Addicted

    Jul 29, 2009
    623
    86
    30
    #47 tuvi123, Sep 24, 2009
    Last edited: Sep 24, 2009
    nononsence
    thank you!
    can you also explain how to do it manually (add slic2.1 into glrdr file), I have the slic2.1 bin file.
    or does it too complicated for beginners?

    what is this "%~dp0" thing?
    the install_bootloader.exe is in the SCRIPTS folder whereas the SetupComplete.cmd file is inside the SETUP folder.
    and what does "cscript //nologo" do? why to remove it?

    which oem folder to try?
    I want oem folder without the bios thing, that just install zsmin glrdr + the added dell slic with the matching cert..
     
  6. nononsence

    nononsence MDL Addicted

    Aug 18, 2009
    806
    826
    30
    #48 nononsence, Sep 24, 2009
    Last edited: Sep 24, 2009
    its not complicated but you have to ues a hex editor find the slic and replace it if you screw up your computer wont boot.

    %~dp0 inserts the path to the current directory so in this case

    "%~dp0install_bootloader" = c:\windows\setup\scripts\install_bootloader.exe


    setupcomplete.cmd, install_bootloader.exe, grldr, bootinst.exe should be in the scripts folder, put the cert in $OEM$\$$\system32\OEM

    cscript is for VBS scripts only
     
  7. tuvi123

    tuvi123 MDL Addicted

    Jul 29, 2009
    623
    86
    30
    #49 tuvi123, Sep 24, 2009
    Last edited: Sep 24, 2009
    nononsence
    I really appreciate you nononsence, you seems to have an extensive knowledge on things, thank you man! you are very smart and very helpful.

    you did not make bootinst.exe, right? what does it do? is it just install the loader?

    Did you update your "install_bootloader.exe" file, because I'm not sure if I have the original file.

    I did not know that setupcomplete.cmd can be in the same any folder..
    ok I will put the cert in $OEM$\$$\system32\OEM
    but how should I name the cert? does not matter?

    in the setupcomplete.cmd file I have only this lines:
    @echo off
    "%~dp0install_bootloader.exe"
    is this ok?
    no need for key right?
     
  8. sushil1576

    sushil1576 MDL Senior Member

    Jul 3, 2009
    336
    157
    10
    #50 sushil1576, Sep 24, 2009
    Last edited by a moderator: May 23, 2017
    (OP)
  9. sushil1576

    sushil1576 MDL Senior Member

    Jul 3, 2009
    336
    157
    10
    #51 sushil1576, Sep 24, 2009
    Last edited: Sep 24, 2009
    (OP)
    Hi....i just uninstalled the loader from the vmware machine and the windows 7 got activated with the dell certs...so i guess that the loader gets installed before it checks whether windows is activated or not...thanks...in the meanwhile i will recheck the entire process to see whether i had made any mistake..:)...One more thing...i didn't need to run the script again...
     
  10. Mr Jinje

    Mr Jinje MDL Expert

    Aug 19, 2009
    1,770
    1,101
    60
    According to Urie you can put multiple certs in the $$\System32\OEM folder and windows will match the SLIC to CERT for you. (in you case it will take the DELL cert)

    That way you can handle multiple different SLIC's already in BIOS.
     
  11. tuvi123

    tuvi123 MDL Addicted

    Jul 29, 2009
    623
    86
    30
    Does it matter what name I give to the certs in System32\OEM ?
     
  12. Mr Jinje

    Mr Jinje MDL Expert

    Aug 19, 2009
    1,770
    1,101
    60
    Nope, all that matters is the digital signature inside the CERT needs to match a signature inside the SLIC. Rename you files as you like. (but don't change file extension, that may be a deal breaker)
     
  13. sushil1576

    sushil1576 MDL Senior Member

    Jul 3, 2009
    336
    157
    10

    In that case it becomes much easier..we just have to check if the windows is activated after install or not...and if it is not activated we can just install the loader and activate it...am i right?
     
  14. sushil1576

    sushil1576 MDL Senior Member

    Jul 3, 2009
    336
    157
    10
    Thanks nononsence...for being such a great help...Finally everything is working perfectly...:)...Actually i used your first script again thinking it was your second and that was the reason why i got problem...But after doing all the steps again..i got my windows activated automatically...Thanks Jinje for all your valuable suggestion..it was really helpful...can we also use the same script for vista as well..it also uses Certs 2.0 and it also does gets activated with slic v2.1..??....I will try to add more certs into the scripts so that the oem folder does become an universal folder...Thanks to evreyone out here...
     
  15. Mr Jinje

    Mr Jinje MDL Expert

    Aug 19, 2009
    1,770
    1,101
    60
    #57 Mr Jinje, Sep 24, 2009
    Last edited by a moderator: Apr 20, 2017
    +1 for Batch Scripting

    Nononsence had it right from the beginning. Here is the setupcomplete.cmd that do it way you want it. This way the installer script never gets called unless needed. Untested script, report back.

    SetupComplete.cmd
    Code:
    @echo off
    
    cscript //nologo %systemdrive%\windows\system32\slmgr.vbs -dli | findstr /C:"License Status: Licensed" >nul
    if errorlevel 1 goto :not_licensed
    exit
    
    :not_licensed
    cscript //nologo "%~dp0install.vbs"
    exit
    This way more versatile too, now you can use any install script, for instance if you want to use Hazar's pre-activation kit, change the script to this.

    Code:
    :not_licensed
    "%~dp0Install.exe"
    exit
     
  16. nononsence

    nononsence MDL Addicted

    Aug 18, 2009
    806
    826
    30
    I tested with the vmware bios you posted, the script ran and installed
    the dell certificate and quit. windows activated

    Im not sure what you are doing wrong, start with a clean slate and then
    re-download the posted oem folder then extract it to DVD_ROOT\Sources
    WITHOUT any changes and install the product key. your done make the
    ISO.
     
  17. sushil1576

    sushil1576 MDL Senior Member

    Jul 3, 2009
    336
    157
    10
    #59 sushil1576, Sep 25, 2009
    Last edited by a moderator: May 23, 2017
    (OP)
  18. sushil1576

    sushil1576 MDL Senior Member

    Jul 3, 2009
    336
    157
    10
    #60 sushil1576, Sep 25, 2009
    Last edited by a moderator: Apr 20, 2017
    (OP)

    Thanks Jinje...i will try your suggestion and will report back as soon as possible..



    Hi..Jinje,..i Tried your suggestion and it also works perfectly...so i guess now we have two methods to create a fully autoactivated dvd..thanks