1. maka213

    maka213 MDL Novice

    Aug 24, 2012
    41
    12
    0
    When removing Windows Defender via the toolkit, does it just remove the antivirus only or does it remove the firewall also? I was hoping i could remove only the antivirus portion while keeping the firewall.
     
  2. intro

    intro MDL Member

    Apr 10, 2010
    239
    52
    10
    It leaves the firewall alone.
     
  3. jinvidia

    jinvidia MDL Member

    Aug 7, 2016
    238
    35
    10
    First download the MSMG version which is compatible with the latest version of toolkithelper. Extract MSMG archive to a folder named MSMG. Extract the contents of toolkithelper archive to the \bin folder of the extracted MSMG folder. Thats it.

    @MSMG - Sir, Please let me know if the latest toolkithelper is compatible with msmg versions 8.xx and 9.xx. Thank you.
     
  4. no1special

    no1special MDL Junior Member

    Jun 25, 2017
    55
    12
    0
    I did this but loading up my 19H1 image I get this error when selecting the source: ToolKit doesn't support Windows 10 Insider Preview Source OS's...

    It's a 18362 image, so it should be working.
     
  5. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,414
    15,608
    210
    v8.7 uses the DISM to remove the components and so can break the OS functionalities, The Toolkit needs to be updated to support W7-W10 RS4.

     
  6. chef1702

    chef1702 MDL Novice

    Apr 15, 2014
    4
    6
    0
    No cause the toolkit itself isn't updated.
    You can edit the toolkit.cmd file and search for "insider". There you will see the line in which the version of the image is asked and if its higher than 17763 it puts out the error message (Line 2546). Change that value to 18362 and you can mount the image. But after that you can't remove any components because the component remove menu won't show any entries above image version 17763 (you actually will be send automatically into the [5] menu even when pressing [4]). For that problem you can try to edit every part of the .cmd file in which the toolkit looks for an 17763 image and copy paste the existing codeblock and change it to 18362. For example look at line 2125 - 2134. In that block the toolkit looks for an non Enterprise image, which you should have. Copy that block and paste it underneath and change the value to 18362. You have to do that on some other places too, to get get the menu working.

    It also could work if you just search for 17763 and overwrite every entry with 18362, but im not sure about that.

    I did a quick test yesterday by editing copying and changing every necessary part to 18362. It was possible to remove all metro apps and all system app. In Advanced Components I removed some which I know I don't needed and then tested the iso. I got an sfc /scannow error and the latest update wasn't installable so I thought better wait for the updated toolkit. Don't want to hinder msmg's work by fiddling around with the code by myself...
     
  7. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,414
    15,608
    210
    It has been posted before, you can search back in the thread, if you want to use the new version of ToolKitHelper.exe for W10 v1809 then copy it to the bin folder and overwrite it and use the ToolKit to test the image.

    For v1903, The ToolKit needs to be updated and so you may be need to use the ToolKitHelper.exe directly.

    The new version requires .NET Framework 4.8 to be installed.

    Let me put a small tutorial for it.

    1) Open notepad and copy the below contents to it and save it as tkremove.cmd and not as tkremove.cmd.txt

    Code:
    
    @echo off
    
    dism.exe /mount-image /imagefile:dvd\sources\install.wim /index:6 /mountdir:mount\install
    
    .\Bin\ToolKitHelper.exe mount\install 3DViewer
    .\Bin\ToolKitHelper.exe mount\install AdvertisingXaml
    
    dism.exe /unmount-image /mountdir:mount\install /commit
    
    
    Change the index no in the script to choose the edition, Change the AppName to the required one or add the new one.

    2) Copy the tkremove.cmd to ToolKit's root folder.

    3) From ToolKit's <Bin\x64> folder Run the NSudo command prompt and choose the below settings

    User as TurstedInstllaer
    Enable All Privileges
    Choose Browse and select tkremove.cmd file
    Now Click on Run button.

    4) This will execute the tkremove.cmd, which will mount the install.wim and remove the two Apps specified above and then save/unmount the image.

     
  8. Just got this error when cleaning source images on LTSC x64bit v17763.1 using Toolkit v9.2. First time it happened, help!

    @MSMG
     

    Attached Files:

  9. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,414
    15,608
    210
    The user is free to modify the script and yes you can remove the line related to Cortana and use the script.

     
  10. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,414
    15,608
    210
    The newer version of ToolKitHelper.exe requires .NET Framework 4.8 for execution and for the tutorial see the post.

    It should be C:\msmg\Bin\toolkithelper.exe C:\msmg\mount\install /? and this should be done after mounting the image.

     
  11. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,414
    15,608
    210
    Yes but some of the component names have been changed which may not be available in the older version.

     
  12. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,414
    15,608
    210
    For 19H1 the Toolkit needs to be updated and so for trying out you may need to use the ToolKitHelper directly.

     
  13. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,414
    15,608
    210
    #10533 MSMG, May 8, 2019
    Last edited: May 8, 2019
    (OP)
    Did you perform the clean-image once before the removal? if not you will see this error.

     
  14. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,414
    15,608
    210
    Right now only Windows Apps can be removed for v1903, removing other components may break the OS.

     
  15. #10535 Deleted member 1148457, May 8, 2019
    Last edited by a moderator: May 8, 2019
    No I didn't, that must of been the issue. So I'm trying to remove the N version of LTSC from the ISO, remove some components, then customize the ISO using WIM tweaks. So would the process be:

    1. Remove N version
    2. Cleanup Image
    3. Mount ISO from DVD
    4 Remove Components/Apps
    5. Cleanup Image
    6. Customize
    7. Apply changes
    8. Build ISO
    9. Target and save ISO?
     
  16. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,414
    15,608
    210
    1. Remove N version
    2. Mount ISO from DVD
    3. Cleanup Image
    4. Remove Components/Apps
    5. Cleanup Image
    6. Customize
    7. Apply changes
    8. Rebuild
    9. Build ISO
    10. Target and save ISO

    This will save you mounting the image twice.

     
  17. intro

    intro MDL Member

    Apr 10, 2010
    239
    52
    10

    Thx for replying but I meant usiing the new toolkihelper.exe directly with 18362.1
     
  18. intro

    intro MDL Member

    Apr 10, 2010
    239
    52
    10

    Thx Msmg but after hours of trying I finally figured it out before this post I mounted the 18362 image to the toolkits mount/install directory and used some commmands from this forum from years ago and removed all the apps in one go. I didn't do image component cleanup after removal(so I don't know how it would affect the install) but the install went fine and I don't really see any probs and no sfc errors I did notice one app that was still a tile in start menu but when I clicked it it did nothing I'm assuming it got removed
     
  19. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,414
    15,608
    210
    #10540 MSMG, May 8, 2019
    Last edited: May 8, 2019
    (OP)