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. Mr.X

    Mr.X MDL Guru

    Jul 14, 2013
    7,625
    14,952
    240
    Thank you thank you thank you :Egypt:
    Please don't abandon this beautiful project...
     
  2. The_Guardian

    The_Guardian Contributor

    May 7, 2012
    2,054
    6,794
    90
    First off its not my project but I just picked it up since no one was working on this anymore. I will do what I can. Take care Mr. X. :)
     
  3. Mr.X

    Mr.X MDL Guru

    Jul 14, 2013
    7,625
    14,952
    240
    I know actually this is not your project, it's searchengine's project. What I meant in my previous post is due you've been contributing in the past to it, I know that just by making observations and comments to searchengine, please re-take it and keep it up my friend. Take care you too.
     
  4. skolar

    skolar MDL Novice

    May 5, 2014
    33
    39
    0
    #2224 skolar, Oct 18, 2014
    Last edited by a moderator: Apr 20, 2017
    If you install Win8x, and look in your Windows folder, before you reboot, you will find W82THM.cmd and if you look in registry you will see a runonce instruction to run this cmd file.

    Instructions on cmd file:
    Code:
    @echo off 
     
    if exist "C:\Windows\Resources\Themes\theme3.theme" ( 
       takeown /F "C:\Windows\Resources\Themes\*.theme" >nul 
       ICACLS "C:\Windows\Resources\Themes\*.theme" /reset /T /Q >nul 
       ICACLS "C:\Windows\Resources\Themes\*.theme" /grant:r "C:\Windows\Resources\Themes\*.theme:(OI)(CI)F" 2>nul 
       REN "C:\Windows\Resources\Themes\aero.theme" "$OEM$.theme" >nul 
       MOVE /Y "C:\Windows\Resources\Themes\theme3.theme" "C:\Windows\Resources\Themes\aero.theme" >nul 
    ) 
     
    del /F /Q "C:\Windows\W82THM.cmd" >nul
    OEM-Sync.exe responsible for this action, and also performs a similar action if Vista installed to rectify img24.
     
  5. The_Guardian

    The_Guardian Contributor

    May 7, 2012
    2,054
    6,794
    90
  6. Deriust

    Deriust MDL Novice

    Sep 14, 2009
    14
    0
    0
    Does anyone have valid links to the files from post #1? Need to do some "research". Thanks in advance.
     
  7. The_Guardian

    The_Guardian Contributor

    May 7, 2012
    2,054
    6,794
    90
    I will upload tomorrow if no one else beats me to it. lol

    In the future I will post an updated version of this project that will not use oem-sync but instead be ran from oobe script. There is no hurry for now for windows 10 is only technical preview which is time bombed. I am not really concerned with this as of yet but when it becomes final I will update the project myself if no one objects. Searchengine done a fantastic job and I wish he was still here but that isn't the case. He will truly be missed. With that being said, I don't want to offend anyone here but I cant see this project just being dropped and no one else wanting to pick it up.
     
  8. Tito

    Tito Super Mod / Adviser
    Staff Member

    Nov 30, 2009
    17,888
    16,542
    340
  9. The_Guardian

    The_Guardian Contributor

    May 7, 2012
    2,054
    6,794
    90
    #2230 The_Guardian, Oct 19, 2014
    Last edited: Oct 19, 2014
    Script and oem-sync works as it should...why all the questions? I am sure since nothing else is in the scripts folder with only a blank oobe file he put in place a method if something didn't exist do something which is probably why you are seeing the other cmd file...this is a guess though because the theme is transferred in the original oobe.cmd file so that is redundant. He was and is a smart scripter and is highly missed. There is no use in asking anymore questions regarding the oem-sync for he is the creator of that exe and only he can answer your questions. Script works and that is what counts. :) I will not reply to these questions anymore for I cant answer them, nor can anyone else here. The source was never released before his leaving.
     
  10. skolar

    skolar MDL Novice

    May 5, 2014
    33
    39
    0
    Sorry, wasn't trying to ask any questions, was trying to point out that OEM-Sync.exe performs some runonce instructions for various OS's with some self deleting batch files, that return some file names back to normal [previously altered by OOBE.cmd to apply themes], and that Win10 would have no such instructions built-in to OEM-Sync.exe.
     
  11. The_Guardian

    The_Guardian Contributor

    May 7, 2012
    2,054
    6,794
    90
    #2232 The_Guardian, Oct 19, 2014
    Last edited: Oct 19, 2014
    Depends on how he wrote it. Technical Preview isn't in the list I know for a fact, nor in the oobe.cmd so if it didn't work (regarding themes which is the main point of your questions, I am more concerned with activation method personally, I can make the script transfer themes but activation is another story) I would have had normal windows theme applied. See either way it works but I am more concerned about the oem activations....images we can figure out easy, IF there ever is a true issue with it. ;)

    You are only seeing some of the files used for the oem-sync for it is a compiled project into one exe....who knows maybe autoit....the main point is there are more instructions then what you are catching. I will leave it at that and say good night.
     
  12. The_Guardian

    The_Guardian Contributor

    May 7, 2012
    2,054
    6,794
    90
    #2233 The_Guardian, Oct 19, 2014
    Last edited: Oct 19, 2014
    I have decided to get rid of the oem-sync for two reasons..obviously no source code was shared but more importantly, oem-sync showed as virus on some AV's (this is a false positive of course but noobs still freak out, lol). I have decided to go with getwin8key.exe and dll or just Rw.exe instead which are both clean on virus total results. Then it will apply key if needed. Everything will be open source so if I decide to drop this project someone else can pick it up. Its all about sharing info. :) I will be re-creating the tool also just to let everyone know (open source as well). Nothing will be hidden thus why I call it open source.

    Special thanks goes out to xinso for all his help. Two brains are better then one. ;)


    If anyone has any new oem images that they would like to share for this project now is the time to share them before I compile the new oem project (I will be posting in the next few weeks).
     
  13. The_Guardian

    The_Guardian Contributor

    May 7, 2012
    2,054
    6,794
    90
    #2234 The_Guardian, Oct 20, 2014
    Last edited: Oct 20, 2014
    I am having one issue that I cant figure out....how do I output max screen resolution to a txt file? I cant use wmic for it is disabled. I need another method...

    I remember searchengine saying he had issues of the same a while back and he found a solution but did not share it...I think he used autoit to resolve it but I don't want to use that or else the exe will show as virus on some AV's. That's the reason I am looking for a alt. method.

    Update: Ok, I finally got a vbs file to work that checks for max screen resolution and outputs to a text file so it can be used in script to apply correct size images. :) I know searchengine used rweverything but why did he dump a slic for win 8.x machines? There is no slic for win 8.x, key is in msdm dump....hummmmm. I really do believe the oem-sync was used for something else as well. I just noticed the same with the tool...it shouldn't dump the slic for no table exist. Anyways, this is old news but caught my eye.
    Its all coming together now. ;)
     
  14. The_Guardian

    The_Guardian Contributor

    May 7, 2012
    2,054
    6,794
    90
    #2235 The_Guardian, Oct 20, 2014
    Last edited: Oct 20, 2014
    Alright, who said that wmic doesn't work in oobe mode? Its working in my test oem project now (keyword: now). ;) No more need for external sources to run wmic commands. I am so relieved, this makes scripting so much better. The oem project is coming right along. :) Time for some much needed sleep.
     
  15. The_Guardian

    The_Guardian Contributor

    May 7, 2012
    2,054
    6,794
    90
    #2236 The_Guardian, Oct 20, 2014
    Last edited: Oct 20, 2014
    Update on progress:
    -Updated oobe to enable wmic
    -Checks activation status if using audit mode and if activated in audit mode the oobe.cmd script skips activation for it is already activated.
    -Script now checks for right size background and renames and removes old backgrounds (not in oem-sync anymore but oobe.cmd instead).
    -Changed cleanup command to run final cleanup during first run (reason being in old oobe.cmd file the cleanup tried (failed) to remove scripts folder because oobe.cmd is still being ran from that folder).
    -Changed exit command to more compatible (for win 8.x mostly) version of self deletion.

    Things to still do:
    -Still need to update keys for win vista and win 7.
    -Need to update the xml files to include key that ppl like to post about having. ;)
    -Last thing I will work on is the oem-query tool but will be easier once I get everything else done.

    Note: oem-sync (oem-activation.exe) now only dumps oem-dm key then applies it....it does nothing else. oobe.cmd controls most all functions now. This will now work if you add ei.cfg (which breaks windows install from activating key auto.). Applying key from oem-sync avoids that issue. ;) New oem-sync (oem-activation.exe) scored a 3/54 on virus total and that is because of the rar sfx file only...the contents are completely clean according to virus total results.

    Keep in mind there is no way to test win 10 activation for that will not be implemented until rtm at least.
     
  16. tcntad

    tcntad MDL Guru

    Oct 26, 2009
    4,227
    1,367
    150
    Are you in charge of the OEM Project now? :p
     
  17. The_Guardian

    The_Guardian Contributor

    May 7, 2012
    2,054
    6,794
    90
    #2238 The_Guardian, Oct 21, 2014
    Last edited: Oct 21, 2014
    I would not say I am in charge but since no one else wanted to pick this up and since searchengine is gone now, I decided I would update it and in so doing had to re-write some things because we don't have the source code for it. I am bored and decided to do it since no one objected. It will not be using the oem-sync nor the oem-query tool for I cant update those without source code. I used other methods for key extraction for win 8.x which xinso helped with.

    edited
     
  18. Mr.X

    Mr.X MDL Guru

    Jul 14, 2013
    7,625
    14,952
    240
    On the contrary, I am grateful, a lot, you did pick this project up...:worthy:
     
  19. The_Guardian

    The_Guardian Contributor

    May 7, 2012
    2,054
    6,794
    90
    #2240 The_Guardian, Oct 21, 2014
    Last edited: Oct 21, 2014
    oem-sync (oem-activation.exe) is not going to be used anymore period....the oobe.cmd file handles everything now so no false AV reports on anything. Plus less to include in the project thus making it smaller. All I have to work on now as far as scripting is the rest of the background images. I already got the script to find screen resolution but need to do the name changing so correct size image for background is applied. Then the oobe will be done. I will then work on updating the tool. Good night everyone.