Win 8.x • Win 7 • Vista - 'Multi-OEM' ISO Project

Discussion in 'MDL Projects and Applications' started by searchengine, Jan 30, 2010.

Thread Status:
Not open for further replies.
  1. tcntad

    tcntad MDL Guru

    Oct 26, 2009
    4,589
    1,584
    150
    Thanks:)

    Sure its F2?
     
  2. iqbalpnr

    iqbalpnr MDL Novice

    Jan 21, 2012
    26
    15
    0

    attachment contains a cmd file which check your os & edition . if you have windows 7 n edition , resultant text file (os check.txt) upload to me , i may help you
     

    Attached Files:

  3. Klomar

    Klomar MDL Junior Member

    Jun 10, 2012
    62
    12
    0
    thanks for help but i solved everything it was just a problem with commands order (by the way the edition id of N versions are "ULTIMATEN" "HOMEPREMIUMN" etc..) :)
     
  4. alimanzoor123

    alimanzoor123 MDL Novice

    Dec 28, 2011
    4
    0
    0
    Yes f2 101% Sure
     
  5. iqbalpnr

    iqbalpnr MDL Novice

    Jan 21, 2012
    26
    15
    0
    #1205 iqbalpnr, Jun 23, 2012
    Last edited: Jun 23, 2012



    still problem is there
    ULTIMATE
    ULTIMATEN
    ULTIMATEE

    all edition has letter ULTIMATE , so when using findstr command it check first one and go to BIOS, it will not check below lines (ULTIMATEN, ULTIMATEE) so that you must re-arrange your oobe.cmd to

    ULTIMATEN
    ULTIMATEE
    ULTIMATE



    eg

    %RQR2% | findstr /I "ENTERPRISEN" && %INL% SET EDITION=ENTERPRISEN&goto :BIOS
    %RQR2% | findstr /I "ULTIMATEN" && %INL% SET EDITION=ULTIMATEN&goto :BIOS
    %RQR2% | findstr /I "PROFESSIONALN" && %INL% SET EDITION=PROFESSIONALN&goto :BIOS
    %RQR2% | findstr /I "HOMEPREMIUMN" && %INL% SET EDITION=HOMEPREMIUMN&goto :BIOS
    %RQR2% | findstr /I "HOMEBASICN" && %INL% SET EDITION=HOMEBASICN&goto :BIOS
    %RQR2% | findstr /I "STARTERN" && %INL% SET EDITION=STARTERN&goto :BIOS
    %RQR2% | findstr /I "ENTERPRISEE" && %INL% SET EDITION=ENTERPRISEE&goto :BIOS
    %RQR2% | findstr /I "ULTIMATEE" && %INL% SET EDITION=ULTIMATEE&goto :BIOS
    %RQR2% | findstr /I "PROFESSIONALE" && %INL% SET EDITION=PROFESSIONALE&goto :BIOS
    %RQR2% | findstr /I "HOMEPREMIUME" && %INL% SET EDITION=HOMEPREMIUME&goto :BIOS
    %RQR2% | findstr /I "HOMEBASICE" && %INL% SET EDITION=HOMEBASICE&goto :BIOS
    %RQR2% | findstr /I "STARTERE" && %INL% SET EDITION=STARTERE&goto :BIOS
    %RQR2% | findstr /I "ENTERPRISE" && %INL% SET EDITION=ENTERPRISE&goto :BIOS
    %RQR2% | findstr /I "ULTIMATE" && %INL% SET EDITION=ULTIMATE&goto :BIOS
    %RQR2% | findstr /I "BUSINESS" && %INL% SET EDITION=BUSINESS&goto :BIOS
    %RQR2% | findstr /I "PROFESSIONAL" && %INL% SET EDITION=PROFESSIONAL&goto :BIOS
    %RQR2% | findstr /I "HOMEPREMIUM" && %INL% SET EDITION=HOMEPREMIUM&goto :BIOS
    %RQR2% | findstr /I "HOMEBASIC" && %INL% SET EDITION=HOMEBASIC&goto :BIOS
    %RQR2% | findstr /I "STARTER" && %INL% SET EDITION=STARTER&goto :BIOS






    i don't know why you are using command
    START "Attivazione di Windows" /MAX /WAIT %windir%\Setup\scripts\tipoattivazione.exe

    what is the use of tipoattivazione.exe and where can download it
     
  6. tcntad

    tcntad MDL Guru

    Oct 26, 2009
    4,589
    1,584
    150
    Does the key work at all? Try in Windows, if not use an external keyboard.
     
  7. iqbalpnr

    iqbalpnr MDL Novice

    Jan 21, 2012
    26
    15
    0
    #1207 iqbalpnr, Jun 23, 2012
    Last edited: Jun 23, 2012

    that is not the problem of multi band preactivation,

    your problem may be keyboard or in bios, ensure F2 is your bios setup key.

    use with an external key board or check out lenavo site for support
     
  8. Klomar

    Klomar MDL Junior Member

    Jun 10, 2012
    62
    12
    0
    #1208 Klomar, Jun 23, 2012
    Last edited: Jun 23, 2012
    thanks for answer but i already solved it (and i've used your same solution :) ).
    tipoattivazione.exe is a program wrote in C language made by me that starts during first boot and makes user choose if he wants brand logos or not.
    i'll share everything once i finish all tests (now everything is working but if when i upload the package someone has some tips on oobe.cmd i'll be happy to modify it)
     
  9. The_Guardian

    The_Guardian Contributor

    May 7, 2012
    2,054
    6,803
    90
    #1209 The_Guardian, Jun 23, 2012
    Last edited: Jun 23, 2012
    I have one question Klomar.....if loader fails it will still do the restart from daz loader section of script and go on to the removewat but it has a restart cmd also so how to resolve shutdown /r /t 45 in both so you dont get two shutdown cmds if loader fails.....just thought I would ask.....is there a way if errorlevel=1 on daz loader then to removewat possibly? Sorry just woke up and tring to use my brain....sometimes it is hard. lol

    also noticed a some what error in ur script.....no need for the removewat to be written to setupcomplete.cmd for vista for it doesnt work in vista....just thought I would let ya know.

    edit: also does the windows loader by DAZ show activated before a restart.....if not then removewat will always run.....I have noticed with the loader it doesnt show up as activated till after a reboot if loader is used.
     
  10. Klomar

    Klomar MDL Junior Member

    Jun 10, 2012
    62
    12
    0
    no actually i've no idea how to make removewat starts if loader fails.. right now removewat starts only if oobe detects windows 7 enterprise or the windows 7 N versions (because the loader doesn't support them).
    thats it, if windows 7 enterprise (or one of the 7 N Versions) is detected setupcomplete.cmd will have instruction to run removewat. if one of the normal windows 7 versions (from starter to ultimate) is detected then setupcomplete.cmd will have instruction to run daz loader.

    about vista i don't know anything.. i'm making all this just for windows 7 (i don't know how vista works, i think after all the tests i'll clean oobe.cmd to remove everything that regards vista..) XD

    by the way i've changed again oobe.cmd and in some hours i will upload everything (also the application tipoattivazione.exe) and everything will be translated in english
     
  11. urie

    urie retired mod

    May 21, 2007
    8,999
    3,381
    300
    Why are you people even discussing or considering to use RemoveWAT That is the causes more problems that it is worth.
     
  12. The_Guardian

    The_Guardian Contributor

    May 7, 2012
    2,054
    6,803
    90
    By any chance do you have a better suggestion for activating enterprise or the N editions? I am open to all suggestions.
     
  13. tcntad

    tcntad MDL Guru

    Oct 26, 2009
    4,589
    1,584
    150
    Why do even one want to install N OS?
    Just to get rid of IE/WMP? Simply dont use it!

    Look thruogh the application subforum and you might find something.
     
  14. The_Guardian

    The_Guardian Contributor

    May 7, 2012
    2,054
    6,803
    90
    actually I only would like the enterprise edition activated but I know Klomar is wanting to add N editions to his. But at this rate I might abandon the enterprise addon for it is becoming a pain. lol
     
  15. Klomar

    Klomar MDL Junior Member

    Jun 10, 2012
    62
    12
    0
  16. The_Guardian

    The_Guardian Contributor

    May 7, 2012
    2,054
    6,803
    90
  17. Klomar

    Klomar MDL Junior Member

    Jun 10, 2012
    62
    12
    0
    good but then be careful because in oobe.cmd in the part regarding dazloader there are also:

    echo DEL /F /Q "%windir%\Setup\scripts\keys.ini"
    echo RENAME %windir%\Setup\scripts\Keysloader.ini Keys.ini

    so if you combined both keys.ini files into 1 you have to delete both this lines from oobe
     
  18. The_Guardian

    The_Guardian Contributor

    May 7, 2012
    2,054
    6,803
    90
  19. Klomar

    Klomar MDL Junior Member

    Jun 10, 2012
    62
    12
    0
  20. The_Guardian

    The_Guardian Contributor

    May 7, 2012
    2,054
    6,803
    90
    #1220 The_Guardian, Jun 26, 2012
    Last edited by a moderator: Apr 20, 2017
    @iqbalpnr or anyone else....
    In vista only uac gets turned off and needs to be turned back on through a reg entry or add reg but neither work for me.....I have been reading online for hrs and hrs and havent came accross a solution yet. If anyone knows how to call HKLM please feel free to comment on how it is done. The only way I can turn uac back on is to manally turn it on from control panel after windows totally boots to desktop. I need to know how to turn it on from setupcomplete.cmd that vista uses....if anyone has any suggestions please let me know. Thanks.

    Changed reg entry from Display.exe to Display.cmd to run reg entry to turn on uac in vista only at first login.....still no go:
    Code:
    @echo off
    IF EXIST "%windir%\Display.exe" (
    %windir%\Display.exe
    )
    VER | FINDSTR /IL "6.0." > NUL
    IF ERRORLEVEL 0 GOTO :VISTA
    WMIC /NAMESPACE:\\root\CIMV2 PATH SoftwareLicensingProduct WHERE LicenseStatus=1 GET LicenseStatus | findstr "1" >nul
    IF ERRORLEVEL 1 GOTO :SHUTDOWN
    DEL /F /Q %0% >nul
    :VISTA
    reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System" /v "EnableLUA" /t REG_DWORD /d "1" /f >nul
    :SHUTDOWN
    SHUTDOWN /R /T 10
    DEL /F /Q %0% >nul
    Thought doin it from first login might work but reg add still fails in setupcomplete.cmd or in Display.cmd that is ran from runonce reg entry. :(
    Do I need to call admin rights for Display.cmd file during first login for it to run correctly? I didnt think I had to at that point but I noticed cant install reg entry without admin cmd prompt while at desktop.....