1. nosirrahx

    nosirrahx MDL Expert

    Nov 7, 2017
    1,263
    607
    60
    #7341 nosirrahx, Jul 20, 2018
    Last edited: Jul 20, 2018
    I have a question about something I have noticed since I started using this tool. When you use the media creation tool you get a sources folder with ~71 sub folders and ~880 files. After the toolkit does its work on the WIM file virtually all of this is blown away.

    Since the beginning I have always just copied what what the toolkit creates over my original sources folder letting letting all duplicates be replaced.

    What I want to know is, do I actually need to keep all of those untouched original files or can I simply use the sources folder created by the toolkit exactly as it is after I modify the image?
     
  2. nosirrahx

    nosirrahx MDL Expert

    Nov 7, 2017
    1,263
    607
    60
    Another question, I just noticed that there is one removal mentioned specifically after cleanup:

    [L] - Cleanup the Source Image using [Apply->Cleanup Source Images] menu.
    [M] - Remove Microsoft Hyper-V Windows Component using [Remove->Remove Windows Components->Remove Advanced Windows Components->Microsoft Hyper-V] menu.

    I did not notice this change until I had built the image I am about to install. Is this a critical ordering? I did all of my removals first before cleanup, should I dump the image and start over or install it as is?
     
  3. Gunmicha

    Gunmicha MDL Novice

    Apr 24, 2015
    9
    3
    0
    That instruction is for Windows 10 TH1. Were you really using this version as source? Make sure you didn't misread the instructions.
     
  4. nosirrahx

    nosirrahx MDL Expert

    Nov 7, 2017
    1,263
    607
    60
    ahhh I didn't check close enough, no I am on RS4
     
  5. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,414
    15,608
    210
    Double clicking Start.cmd calls the Nsudo which in turn runs the script using TrustedInstaller.

    So right-clicking and then choosing run as adminstrator may not be required, but some people earlier reported to have issues doing so.

    On RS5 Insider Preview OS's, there seems to be some issues calling NSudo inside a cmd, so choose run as Administrator for RS5 Preview OS's.


    Sometimes editing the script using notepad may give errors especially when the script is running, use rem instead of :: to comment the line

    Toolkit.cmd uses the TooolKitHelper.exe to remove the component manually., if you are familiar with using the ToolKitHelper.exe then you can use it.

     
  6. windows builder

    windows builder MDL Guru

    Sep 13, 2017
    2,219
    1,555
    90
    or use Notpad++?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  7. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,414
    15,608
    210
    Will check with the MCT Image and see what's wrong with it.

    Did you choose MCT Image to WIM Image in the ToolKit to convert the image to regular WIM Image?

    If you had choosen Remove Windows Manual Setup Feature in the Advanced Windows Components then it would keep only the required files to do a clean install.

     
  8. Windows 10 User

    Windows 10 User MDL Guru

    Feb 2, 2017
    2,005
    122
    90
    Ok, but there are things that can be removed by Start.exe and Toolkit.cmd (I think) so in that case should I remove them with which one of the two, i. e., which of them removes more things?
     
  9. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,414
    15,608
    210
    The ToolKit.cmd uses ToolKitHelper.exe for only these components :

    Microsoft Telemetry (CEIP, KernelDebugging, Asimov, WER)
    Windows Defender
    PeopleExperienceHost
    SmartScreen

    ToolKitHelper removes more components than ToolKit.cmd but also lacks few components present in the ToolKit.cmd like IE, Hyper-V, WMP, PhotoViewer, Search, System Restore etc.

    ToolKitHelper allows more components and is for experimental purpose, once it's working properly then the ToolKit.cmd will be made to use it to remove all components.



     
  10. jonaaa

    jonaaa MDL Member

    Jul 20, 2015
    186
    122
    10
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  11. tefor

    tefor MDL Senior Member

    Apr 5, 2017
    317
    240
    10
    ok thanks MSMG
    I will be waiting for your answer
     
  12. tefor

    tefor MDL Senior Member

    Apr 5, 2017
    317
    240
    10
    I dont think so i am doing something wrong , i am following all given steps carefully..maybe it is beause of the Turkish language at OOBE stage or something else.. i will wait for MSMG's answer.. thank you anyway
     
  13. nosirrahx

    nosirrahx MDL Expert

    Nov 7, 2017
    1,263
    607
    60
    Don't think there is anything wrong, I think you just answered my question though. You mentioned doing a clean install.

    I assume that full load of files through the media creation tool also includes everything needed to upgrade windows?
     
  14. Windows 10 User

    Windows 10 User MDL Guru

    Feb 2, 2017
    2,005
    122
    90
    Ok, thanks.
     
  15. AeonX

    AeonX MDL Addicted

    May 24, 2013
    796
    725
    30
    I realized this a long time ago. Mainly within loops and IF's. So I always avoid using :: except in the "main" part of the script.

    Even with other text editors.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  16. Bluescreen

    Bluescreen MDL Senior Member

    Jul 16, 2009
    344
    51
    10
    Yesterday, I have made several images from ISO 1803 (17134.1), Removing first the unused Indexes to decrease Wim filesize.
    All went well. The issue is when removing Telemetry and Windows Defender.
    Windows Update does not download or install needed drivers. Says there is no drivers for this devices. (Z97x)
    Device manager show no Drivers for SmBus, PCI , Video driver, sound driver.. etc.. WU wont install them, but can install the Latest CU and Flash player.
    Does I made something wrong ?
    Edit: Language was French.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...