MSMG ToolKit

Discussion in 'MDL Projects and Applications' started by MSMG, Nov 21, 2013.

  1. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    3,192
    7,120
    120
    #11721 MSMG, Aug 8, 2019
    Last edited: Aug 8, 2019
    (OP)
  2. hoxlund

    hoxlund MDL Member

    Nov 6, 2017
    103
    51
    10
    only thing i use store for is 2 games... state of decay 2 and halo wars 2. THAT IS IT! curious to know how much money they lose maintaining and developing the store
     
  3. MIMMO61

    MIMMO61 MDL Member

    Aug 19, 2009
    156
    41
    10
    I thank you for the confirmation.
    I heard, reading a few posts back, your health problems and for this I make you my best wishes that can solve everything for the better.
    Your commitment to this project is commendable despite personal difficulties.
    Thanks for what you do.
     
  4. MIMMO61

    MIMMO61 MDL Member

    Aug 19, 2009
    156
    41
    10
    #11724 MIMMO61, Aug 8, 2019
    Last edited: Aug 8, 2019
    Thanks for the info. :)
    I only ask you where to enter the registry key.
    I immediately carry out tests with the virtual machine.
     
  5. Kenafri

    Kenafri MDL Junior Member

    Jul 22, 2014
    88
    38
    0
    #11726 Kenafri, Aug 8, 2019
    Last edited: Aug 8, 2019
    Hi,

    1) Edit :RemoveWindowsComponentsList section of your ToolKit_vxxx.cmd file like this & save it:
    Code:
    echo.-------------------------------------------------------------------------------
    echo.####Removing Windows Components Using Package List#############################
    echo.-------------------------------------------------------------------------------
    echo.
    if "%ImageIndexNo%" equ "*" (
        echo.
        for /L %%i in (1, 1, %ImageCount%) do (
            if not %ImageIndexNo% gtr 9 echo.##########################[Install.wim, Index : %%i]#############################
            if %ImageIndexNo% gtr 9 echo.##########################[Install.wim, Index : %%i]############################
            echo.
    
            for /f %%z IN ('"type %RemovePkgsList%" 2^>nul') do (
                echo %%z | findstr /C:"ToolKitHelper:" 1>nul
                if errorlevel 1 (
                    call :RemoveLockedPackage "%InstallMount%\%%i", %%z, %%z
                ) else (
                    for /f "tokens=2 delims=:" %%a in ("%%z") do (
                        call :RemoveWindowsComponent "%InstallMount%\%%i", "%%a", "%%a"
                    )
                )
    
                if /i "%%z" equ "OneDrive" (
                    rem Mounting Image Registry...
                    call :MountImageRegistry "%InstallMount%\%%i"
                    rem Deleting OneDrive remaining stuff...
                    Reg delete "HKLM\TK_NTUSER\Software\Microsoft\Windows\CurrentVersion\Run" /v OneDriveSetup /f >nul 2>&1
                    call :RemoveFile "%InstallMount%\%%i\Users\Default\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\OneDrive.lnk"
                )
            )
        )
    ) else (
        for /f %%z IN ('"type %RemovePkgsList%" 2^>nul') do (
            echo %%z | findstr /C:"ToolKitHelper:" 1>nul
            if errorlevel 1 (
                call :RemoveLockedPackage "%InstallMount%", %%z, %%z
            ) else (
                for /f "tokens=2 delims=:" %%a in ("%%z") do (
                    call :RemoveWindowsComponent "%InstallMount%", "%%a", "%%a"
                )
            )
    
            if /i "%%z" equ "OneDrive" (
                rem Mounting Image Registry...
                call :MountImageRegistry "%InstallMount%"
                rem Deleting OneDrive remaining stuff...
                Reg delete "HKLM\TK_NTUSER\Software\Microsoft\Windows\CurrentVersion\Run" /v OneDriveSetup /f >nul 2>&1
                call :RemoveFile "%InstallMount%\Users\Default\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\OneDrive.lnk"
            )
        )
    )
    echo.-------------------------------------------------------------------------------
    echo.####Finished Removing Windows Components Using Package List####################
    echo.-------------------------------------------------------------------------------
    

    2) Mount install.Wim
    3) Add/Remove/Customize like previously & save Source.
    4) Run your tests
     
  6. LupusRex

    LupusRex MDL Novice

    May 19, 2013
    14
    2
    0
    You mount the image registry -> tools -> options -> Load image registry (keys 8,3,4)
    You can then either start regedit and navigate to HKEY_LOCAL_MACHINE\TK_NTUSER\Software\Microsoft\Windows\CurrentVersion\Run and delete the onedrivesetup registry key entry
    or create a reg file in where you put the reg info

    or copy paste this in to a new reg file

    Code:
    Windows Registry Editor Version 5.00
    
    ; Removes the onedrive setup
    [HKEY_LOCAL_MACHINE\TK_NTUSER\Software\Microsoft\Windows\CurrentVersion\Run]
    "OneDriveSetup"=-
    
    And then run the reg file.

    When done unmount the image registry again. tools->options->unload image registry (keys 8,3,4)

    Hope this helps you

    Cheers
    /Rex

    Edit: Or do as Kenafri suggest :)

    /LR
     
  7. MIMMO61

    MIMMO61 MDL Member

    Aug 19, 2009
    156
    41
    10
    Thanks for this suggestion is a good alternative.
     
  8. Baadshah

    Baadshah MDL Novice

    Aug 9, 2019
    4
    0
    0
    Can anyone help in removing windows telemetry and other windows component in Windows 10 19H1. I cant see the options in Remove. I could remove only all windows apps.

    In some videos I watched on how to use toolkit there were 4 options for me it only shows 3.

    1 Remove windows component --> here I have the option to remove all windows apps ( Metro Apps)
    2.Remove Default metro Apps using Apps List --> Here it doesnt seem to remove anything ( becuase the first option already finished removing them)
    3.Remove windows Components using package List --> If i Proceed with Y , it removes Assigned Access package / CEIP SQM Package / Face recognition Package.
    I dont see any other options to remove onedrive , windows telemetry and any advanced windows windows components.
    VERSION 9.3.2
    PS: I am a newB here.
     
  9. boyonthebus

    boyonthebus MDL Senior Member

    Sep 16, 2018
    476
    242
    10
    Yea they are really missing out. smh!!!
     
  10. tonou44

    tonou44 MDL Novice

    Nov 23, 2017
    1
    0
    0
    guys when i try to edit 1903 edition i have error source os not supported..i cant edit the latest windows 10?i used toolkit 9.2.3.other windows editions works fine
     
  11. windows builder

    windows builder MDL Expert

    Sep 13, 2017
    1,109
    581
    60
    v1903 is not fully supported yet.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  12. MIMMO61

    MIMMO61 MDL Member

    Aug 19, 2009
    156
    41
    10
  13. Dudefoxlive

    Dudefoxlive MDL Novice

    Oct 27, 2018
    2
    0
    0
    Hello, I noticed that there's only one pack available and its a games pack. Question is where are all the other packs? I am sorry if this has already been answered but i have not looked on here in a little while.
     
  14. MHCGHOST

    MHCGHOST MDL Novice

    Jul 19, 2019
    3
    0
    0
    Thanks Man A Lot
     
  15. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    3,192
    7,120
    120
    Right now the current version only support removal of apps for v1903.

    Will be releasing a new version with updated Toolkit.cmd and Toolkit pack structure once the coding for mui component removal data is finished.

    The upcoming new version does support removal of all components but there is still one issue, the removed components does get restored by using the Windows Update, I'm still experimenting with various methods to fix it.

     
  16. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    3,192
    7,120
    120
    Yes the pack files have been moved for restructuring and the process has been 99% completed with few packs need to be uploaded and also the Toolkit script is also updated to match the new packs.

    The Pack folder will be restored soon.