1. inTerActionVRI

    inTerActionVRI MDL Expert

    Sep 23, 2009
    1,748
    3,575
    60
    #20601 inTerActionVRI, Oct 3, 2021
    Last edited: Oct 26, 2021
    https://forums.mydigitallife.net/threads/msmg-toolkit.50572/page-793#post-1606110

    Sent an 2021-10-03_3 New Custom Toolkit updated file attached in the link above and in my signature.

    Fixed missing parentesis "(" breaking the script.

    *Merged with 2021-10-03 Toolkit.cmd.

    *Fixed ManualSetup by MSMG suggestion;
    *:SaveSource session - WinRE minor fix
    *The names of the custom ISOs were getting the name of UUP Dump ISO. In this case, then the Auto Name was directed to the custom ISOs. It is a function that was already available at the Custom Toolkit at the ":Makeiso" session.
    *Automated Removal Components process changed from "PreSet Custom Selection" to "ToolkitHelper List".
    Note: In this method the dependency filter will be applied. So, according to Build, there will be differences.

    Merged made with the Official Toolkit 11.8 from 2021-09-19 to 2021-09-29.

    1. Since my code writing method with the idea of reducing lines was making complicated the merge tasks. As the code was drowned in complications, difficult to readability for other devs. I decided to twist my code, in the sense of wiping. Expanded parts of the code that were in just one line for multiple lines in order to improve the reading of it. Mainly in the "for (loop) command thanks to a tip learned in the @abbodi1406 scripts.
    And, of course learning every day with @MSMG. In addition to the solutions brought in the Toolkit script, he always answers some people asks that brings new doubts and new learning.

    2. In Inbox Apps:
    2.1. A detail was modified to indicate what is not present in the packs, before continuing with inboxapps integration.
    2.2. Fixed - A problem created by custom toolkit modifications by implementing the multi-selection system of inboxapps that repeated the final optimization that should be once for each index, but was repeating by the amount of apps selected times the quantity of indexes. As much as the whole process was automatic, this caused a very accentuated delay.

    3. Added - Condition for integration of Sun Valley Icons Skin Pack only for Builds below 21348.

    4. Some minor code upgrade on Tweaks and...
    4.1. Added - Simple Bypass Hardware Requisites Checking for InPlace Upgrade.

    5. WMP Skin for x64 now apply in WMP Program Files(x86) folder too.

    6. Adicionada uma opção de Custom PreSet para "Windows 7 Components Experience Edition" baseada na lista de componentes a serem mantido que o MSMG disponibilizou.

    7. Fixed Edge Chromium Integration for w81.

    OBS: Supplementary information for Devs: After the implementation of Windows 11 support I found some bugs related to the use of subsequent conditions of "not equal" associated with the use of "else" in the same block (NEQ NEQ ELSE). It does not work.
    Ex: The use (neq w10 neq w11) so that a block block could work for both W7 and W81 and an "else" for when w10 or w11, but this does not work:

    In this case, what comes in the else block is completely ignored not being executed. I suppose a conflict occurs.
    Code:
           if "%SelectedSourceOS%" neq "w10" if "%SelectedSourceOS%" neq "w11" (
               echo.Performing Tasks for w7 or w81...
           ) else (
               echo.Performing Tasks for w10 or w11...
           )
           
    To correct this, the possible way is just as below.
    Code:
           if "%SelectedSourceOS%" neq "w10" if "%SelectedSourceOS%" neq "w11" (
               echo.Performing Tasks for w7 or w81...
           )
           if "%SelectedSourceOS%" neq "w7" if "%SelectedSourceOS%" neq "w81" (
               echo.Performing Tasks for w10 or w11...
           )
           
    8.
    Guys, I left something at Custom Toolkit, which is to facilitate my tests, but it may be interesting to you too.

    Basically it is:
    In the main menu, press the letter "P" and watch the process.
    This will lead you to the selection of an ISO that will be extracted then beginning the atomatized process.
    Have your packs updated and with the folder structure updated for Toolkit 11.8 (recently changes made by MSMG).
    The custom registry folder also has to be duplicated w10 and w11 folders. I put a bypass for that. Instead of having 2 equal folders, leave only one with the name w10_w11. For Inbox Apps it is also possible but probably the licenses should have their folders separated for W81, W10 and W11. @MSMG, joining the folders will release plenty of space in mega.nz. Files hashsum are equal, for both w10 and w11.
    If you notice any error or jump integration, in the process execution, it is due to some missing pack.

    If you do not want to integrate something, just change the folder name so that the script can not find the pack. Example: If you do not want to integrate Games change the name of the folder from: ".\Packs\Games" to: ".\Packs\Games_".

    Automation goes up to, Virtual Create Image Index Editions and ISO finalization.
    Download "VirtualCreate_ImageIndexEditions.zip" that is in my signature to the folder where the "toolkit.cmd" file is.
    Below is the list of packs that will be integrated:
    Removes Components by Preset Custom Selection.

    So that you can take the test.
    Download "virtualcreate_imageindexeditions.zip" that is in my signature to the folder where the "toolkit.cmd" file is.
    Below the list of packs that will be integrated, the Tweaks that will be applied and the components that will be removed by the Preset Custom Selection.

    So that you can take the test.

    Code:
    :: Auto Integrate Menu
       IntWin32Calc
       IntNetFX48 17763
       IntNET5 above 17763
       IntOpenSSH
       IntPowerShell7
    
       IntGames
           CariocaRummy
           HoldEm
           Sudoku
           Tinker
           ChessTitans
           FreeCell
           Hearts
           Inkball
           MahjongTitans
           Minesweeper
           Pinball
           PurblePlace
           Solitaire
           SpiderSolitaire
    
       IntDaRT
    
       IntCustomFeatures
           IntCustomFiles
           IntWMPMetroSkin
           IntWPVMetroSkin
           IntWin32CalcMetroSkin
           IntWIconsSkin
    

    At this point the removal of the components will be by Toolkithelper list. Leave your favorite list.
    In this method the dependency filter will be applied. So, according to Build, there will be differences.
    Code:
    :: Auto Remove Menu
    set "RemovalMethod=ToolKitHelper"
    call :RemoveWindowsComponentsList
    
    rem call :CustomPreSets_RemoveWindowsComponents
       rem call :AccessibilityCustomSelection
       rem call :ConservativeGenericEditionCustomSelection
       rem call :LooksLikeLTSCEditionCustomSelection
       rem call :GamerEditionCustomSelection
       rem call :LiteEditionCustomSelection
       rem call :XtremeLiteEditionCustomSelection
       rem call :W7ExperienceEditionCustomSelection
    
    Here is my Personal PreSets
    rem call :PersonalPreSets_RemoveWindowsComponents
       rem call :PersonalFamilyCustomSelection
       rem call :PersonalWorkCustomSelection
           rem call :ListsandPreSets_Filter
           rem call :StartRemovingWindowsComponents
    
    :: Auto Customize Menu
    RemoveInboxAppsAssociation
    ImportInboxAppsAssociation
    ImportStartMenuLayout
    
    ImportCustomRegistry
    
    "w8"
       CustomDisableAutomaticallyInstallationforPreSuggested3RDPartyApps
       DisableWindowsSmartScreen
       CustomWindowsDefender_WindowsDefenderSecurityCenterTweaks
       EnableCustomWindowsDriversUpdateTweaks
       CustomDisableWindowsUpdateTweaks
       DisableWindowsUpgrade
       ForceLatestNetFramework
       EnablePhotoViewer
       EnableFMP3ProCodec
       BlockAutoEdgeChromiumBasedDelivery
    
    "w10_w11"
       HiberbootEnabled
       EnableDarkThemeandTransparency
       ControlPanelnConfigsandSettingsforFastestWindows
       WindowsExplorer_PreferencesandPolicies
       HideMeetNowIcon
       HideNewsAndInterests
       SetQoSlimittozero_internetWithNoLimits
       BugFix_WiFinoInternetConnection
       SetLanmanWorkstationandDownloads_OptimizationConfigs
       CustomDisableAutomaticallyInstallationforPreSuggested3RDPartyApps
       SetCloudContentfor3RDPartyAppsandDataCollection_Policies
       SetWindowsSearchandCortana_PreferencesandPolicies
       DisableSIA_DebugTracing
       CustomWindowsErrorReporting_Policies
       DisableWindowsSmartScreen
       CustomWindowsDefender_WindowsDefenderSecurityCenterTweaks
       EnableCustomWindowsDriversUpdateTweaks
       CustomDisableWindowsUpdateTweaks
       DisableWindowsUpgrade
       DisableReservedStorage
       ForceLatestNetFramework
       EnablePhotoViewer
       EnableFMP3ProCodec
       EnableFullResetBase
       GeneralTweaks
    "w10"
       BlockAutoEdgeChromiumBasedDelivery
    "w11"
       BypassReq
       HideChatIcon
       HideWidgetsIcon
       TaskbarAlignment_Center2Left
       UnBlockAutoEdgeChromiumBasedDelivery
    
    :: Auto Apply Menu
    Cleaning up Image folder
    Trim unwanted Editions
    
    VirtualCreate_ImageIndexEditions
    Edition to be Virtualy Created if supported.
       ProfessionalWorkstation
       ProfessionalWorkstationN
       ProfessionalEducationN
       ProfessionalEducation
       Enterprise
       EnterpriseN
       ServerRdsh
       EducationN
       Education
       IoTEnterprise
       CloudEdition
       CloudEditionN
       CoreSingleLanguage
    

    Any issues, let me know.

    9. VirtualCreate_ImageIndexEditions.zip (2021-09-20 updated with @abbodi1406 "uup-converter-wimlib-72u")


    Thnks!

    Edit: Fixed missing parentesis "(" breaking the script. Please do the download again.
    It was lack of attention at the time of Merge. My bad.
     
  2. kovadimka

    kovadimka MDL Novice

    Mar 19, 2020
    40
    12
    0
    @MSMG
    Will there be an option for Microsoft Teams app removal added in the next versions, if it's possible?
     
  3. Supern00b

    Supern00b MDL Addicted

    Dec 30, 2010
    763
    558
    30
    Why? Teams is part of Office, not Windows.
     
  4. kovadimka

    kovadimka MDL Novice

    Mar 19, 2020
    40
    12
    0
    In windows 11 it's already a standalone app though
     
  5. Supern00b

    Supern00b MDL Addicted

    Dec 30, 2010
    763
    558
    30
    #20605 Supern00b, Oct 4, 2021
    Last edited: Oct 4, 2021
    On windows 10 it is also a standalone app.
    MS is planning to bundle Teams 2.0 with Windows 11, supposedly when it gets released as final build.
    Will have to wait if that happens and maybe then MSMG will include support for removing.

    Cheers.
     
  6. kovadimka

    kovadimka MDL Novice

    Mar 19, 2020
    40
    12
    0
    You said it is part of Office, not Windows))
    MSMG told tou so?
     
  7. inTerActionVRI

    inTerActionVRI MDL Expert

    Sep 23, 2009
    1,748
    3,575
    60
    Generally, the addition of support for removing some component, here, works in this pattern as well as @Supern00b said.
    And, surely, your request will be in the list of implementations.
     
  8. Ace2

    Ace2 MDL Expert

    Oct 10, 2014
    1,900
    1,580
    60
    ERROR ON Window 10.0.19041.1 Core x64
    Code:
    Microsoft Windows [Version 10.0.19041.1]
    (c) 2019 Microsoft Corporation. All rights reserved.
    
    C:\Program Files\PowerRun>C:\ToolKitHelper.exe C:\mount AllComponents
    MSMG ToolKit Commandline Helper
    Version: 1.0.5292.0
    
    Image Version: 10.0.19041.1
    
    Component : AdobeFlashForWindows
    
    Removing Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : InternetExplorer
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : FirstLogonAnimation
    
    Removing Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : GameExplorer
    
    Removing Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : SnippingTool
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : SpeechRecognition
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : WindowsMediaPlayer
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : WindowsPhotoViewer
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : WinSAT
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : CEIP
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : FaceRecognition
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : KernelDebugging
    
    Removing Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : LocationService
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : PicturePassword
    
    Removing Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : PinEnrollment
    
    Removing Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : UnifiedTelemetryClient
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : WiFiNetworkManager
    
    Removing Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : WindowsErrorReporting
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : WindowsInsiderHub
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : HomeGroup
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : MultiPointConnector
    
    Removing Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : RemoteAssistance
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : DeviceLockdown
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : EaseOfAccessThemes
    
    Removing Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : EasyTransfer
    
    Removing Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : FileHistory
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    ERROR
    
    ---------------------------
    
    ---------------------------
    System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.NullReferenceException: Object reference not set to an instance of an object.
    
       at (Object )
    
       at †††
    
    ††††•Š.†††
    
    ††††’Š(Object , †††
    
    ††††•Š )
    
       at †††
    
    †††††’.†††
    
    †††††‘.†††
    
    †††††™(String  , String  )
    
       at †††
    
    ††††”.†††
    
    ††††’Š(String  , String  , †††
    
    ††††” )
    
       at †††
    
    †††††’.†††
    
    †††††‘.†††
    
    †††††š(String  , String  )
    
       at †††
    
    ††††”.†††
    
    ††††’Š(String  , String  , †††
    
    ††††” )
    
       at †††
    
    †††††’.†††
    
    †††††‘.Main(String[] args)
    
       --- End of inner exception stack trace ---
    
       at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
    
       at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
    
       at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
    
       at _._.___()
    ---------------------------
    OK  
    ---------------------------
    
     
  9. bpars

    bpars MDL Novice

    Feb 21, 2019
    11
    7
    0
    Windows 11 is RELEASED.

    Let's get MSMG updated please
     
  10. jinvidia

    jinvidia MDL Member

    Aug 7, 2016
    238
    35
    10
    @MSMG - Is there a changelog for the new toolkithelper.exe ?. I mean kindly do let me know the fixes of the new toolkit. Thank you.
     
  11. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,414
    15,608
    210
    Yes, while fixing the long path error exception the ManualSetup is now broken will checkout, you can remove the ManualSetup from the list and try it will work.

     
  12. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,414
    15,608
    210
    Support for Windows 11 is already added from last few versions.

     
  13. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,414
    15,608
    210
    #20613 MSMG, Oct 5, 2021
    Last edited: Oct 5, 2021
    (OP)
    Do checkout the post where I did mentioned about the new ToolKitHelper.exe.

    Fixed long path issues, Widgets removal and added support for

    Windows 10 Client v1809 (v10.0.17763.2213)
    Windows 10 Client v1903 (v10.0.18362.1)
    Windows 10 Client v1903/v1909 (v10.0.1836X.1832)
    Windows 10 Client v2004 (v10.0.19041.1)
    Windows 10 Client v2004/v20H2/v21H1/v21H2 (v10.0.1904X.1266)

    Now the ManualSetup is broken will be fixing it.

    Edit: Also found one more issue, the Windows Apps aren't being removed, will fix it.

     
  14. jinvidia

    jinvidia MDL Member

    Aug 7, 2016
    238
    35
    10
    Kindly provide the link to the final RTM release. All i hear is they are IP releases and not the final RTM. Thank you.
     
  15. Tiger-1

    Tiger-1 MDL Guru

    Oct 18, 2014
    7,894
    10,735
    240
    @bpars very good info thanks friend
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  16. Tiger-1

    Tiger-1 MDL Guru

    Oct 18, 2014
    7,894
    10,735
    240
    #20617 Tiger-1, Oct 5, 2021
    Last edited: Oct 5, 2021
    @bpars very good info thanks friend
    EDIT: err I make post only one time but I see two ;):confused:
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  17. jinvidia

    jinvidia MDL Member

    Aug 7, 2016
    238
    35
    10
    #20618 jinvidia, Oct 5, 2021
    Last edited: Oct 6, 2021
    Sir is the above issue addressed in the new toolkithelper.exe ? Thanks
     
  18. zero cool root

    zero cool root MDL Senior Member

    Jun 17, 2011
    382
    161
    10
    #20619 zero cool root, Oct 5, 2021
    Last edited: Oct 7, 2021
    @MSMG

    To Disable Windows Defender in Windows 11, add this tweaks below..!!

    Code:
    Reg add "HKLM\TK_SYSTEM\ControlSet001\Services\WinDefend" /v "Start" /t REG_DWORD /d "4" /f
    Reg add "HKLM\TK_SYSTEM\ControlSet001\Services\WdFilter" /v "Start" /t REG_DWORD /d "4" /f
    Reg add "HKLM\TK_SYSTEM\ControlSet001\Services\WdNisDrv" /v "Start" /t REG_DWORD /d "4" /f
    Reg add "HKLM\TK_SYSTEM\ControlSet001\Services\WdNisSvc" /v "Start" /t REG_DWORD /d "4" /f
    
    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Defender\Features]
    TamperProtection
    change it from 0 to 4.
     
  19. Zanza-kun

    Zanza-kun MDL Junior Member

    May 28, 2012
    87
    15
    0
    #20620 Zanza-kun, Oct 5, 2021
    Last edited: Oct 5, 2021
    Hi, I have an error while deleting a packages by list on Windows 11 final.
     

    Attached Files: