MSMG ToolKit

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

  1. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    5,430
    11,396
    180
    Will check what's causing the Toolkit to crash, can you specify the ESD info? Is it Store ESD or normal user created ESD?

     
  2. GianlukK

    GianlukK MDL Novice

    May 9, 2020
    7
    2
    0
    Hello guys, i'm new with ISO customization, was playing a bit with the toolkit and the integrate part...so i was wondering if there's a website or something where i can find some cool and useful registry tweaks and custom windows features to integrate, mostly because i can't do scripts by myself.
    Thank you.
     
  3. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    5,430
    11,396
    180
    Code:
    set "DVD=%~dp0DVD"
    set "BIOSBoot=%DVD%\boot\etfsboot.com"
    set "UEFIBoot=%DVD%\efi\microsoft\boot\efisys.bin"
    set "ISOLabel=W10PRO"
    set "ISOFileName=en_Windows_10_pro_x64"
    
    Code:
    Oscdimg -bootdata:2#p0,e,b"%BIOSBoot%"#pEF,e,b"%UEFIBoot%" -o -h -m -u2 -udfver102 -l"%ISOLabel%" "%DVD%" "%ISO%\%ISOFileName%.iso"
    

     
  4. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    5,430
    11,396
    180
    Don't use that it won't work, I had posted another method later check this post

    https://forums.mydigitallife.net/threads/msmg-toolkit.50572/page-761#post-1597447

     
  5. mhussain

    mhussain MDL Member

    Oct 1, 2012
    184
    50
    10
    hey @MSMG,
    remove apps.txt
    where do i get the list of apps that is removable from the image?
    like the connect app?
    i'm discussing the system apps etc,
    Majid
     
  6. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    5,430
    11,396
    180
    This method is removing Windows Apps using the DISM /Remove-ProvisionedAppxPackage, it won't work for System Apps.

    For System Apps which have Package names, you can use DISM /Remove-Package method but it requires modifying few registry keys before running the command.

    The current Toolkit component removal (ToolKitHelper.exe) don't use these two above methods but instead uses the manual method.

     
  7. aruiz

    aruiz MDL Novice

    Mar 6, 2018
    21
    2
    0
    Yes, I always used start.cmd
     
  8. Ace2

    Ace2 MDL Addicted

    Oct 10, 2014
    523
    320
    30
    Windows-Defender.cmd
    Code:
    @Echo Off
    
    reg load HKLM\S C:\mount\Windows\System32\Config\SOFTWARE
    
    reg add "HKLM\S\Microsoft\Windows\CurrentVersion\Component Based Servicing\Packages\Windows-Defender-AM-Default-Definitions-Package~31bf3856ad364e35~amd64~~10.0.18362.1" /v Visibility /t REG_DWORD /d 1 /f
    reg add "HKLM\S\Microsoft\Windows\CurrentVersion\Component Based Servicing\Packages\Windows-Defender-AM-Default-Definitions-Package~31bf3856ad364e35~amd64~~10.0.18362.1" /v DefVis /t REG_DWORD /d 2 /f
    reg delete "HKLM\S\Microsoft\Windows\CurrentVersion\Component Based Servicing\Packages\Windows-Defender-AM-Default-Definitions-Package~31bf3856ad364e35~amd64~~10.0.18362.1\Owners" /f
    
    reg add "HKLM\S\Microsoft\Windows\CurrentVersion\Component Based Servicing\Packages\Windows-Defender-AppLayer-Group-Package~31bf3856ad364e35~amd64~~10.0.18362.1" /v Visibility /t REG_DWORD /d 1 /f
    reg add "HKLM\S\Microsoft\Windows\CurrentVersion\Component Based Servicing\Packages\Windows-Defender-AppLayer-Group-Package~31bf3856ad364e35~amd64~~10.0.18362.1" /v DefVis /t REG_DWORD /d 2 /f
    reg delete "HKLM\S\Microsoft\Windows\CurrentVersion\Component Based Servicing\Packages\Windows-Defender-AppLayer-Group-Package~31bf3856ad364e35~amd64~~10.0.18362.1\Owners" /f
    
    reg add "HKLM\S\Microsoft\Windows\CurrentVersion\Component Based Servicing\Packages\Windows-Defender-ApplicationGuard-Inbox-Package~31bf3856ad364e35~amd64~~10.0.18362.1" /v Visibility /t REG_DWORD /d 1 /f
    reg add "HKLM\S\Microsoft\Windows\CurrentVersion\Component Based Servicing\Packages\Windows-Defender-ApplicationGuard-Inbox-Package~31bf3856ad364e35~amd64~~10.0.18362.1" /v DefVis /t REG_DWORD /d 2 /f
    reg delete "HKLM\S\Microsoft\Windows\CurrentVersion\Component Based Servicing\Packages\Windows-Defender-ApplicationGuard-Inbox-Package~31bf3856ad364e35~amd64~~10.0.18362.1\Owners" /f
    
    reg add "HKLM\S\Microsoft\Windows\CurrentVersion\Component Based Servicing\Packages\Windows-Defender-Client-Package~31bf3856ad364e35~amd64~~10.0.18362.1" /v Visibility /t REG_DWORD /d 1 /f
    reg add "HKLM\S\Microsoft\Windows\CurrentVersion\Component Based Servicing\Packages\Windows-Defender-Client-Package~31bf3856ad364e35~amd64~~10.0.18362.1" /v DefVis /t REG_DWORD /d 2 /f
    reg delete "HKLM\S\Microsoft\Windows\CurrentVersion\Component Based Servicing\Packages\Windows-Defender-Client-Package~31bf3856ad364e35~amd64~~10.0.18362.1\Owners" /f
    
    reg add "HKLM\S\Microsoft\Windows\CurrentVersion\Component Based Servicing\Packages\Windows-Defender-Core-Group-amcore-Package~31bf3856ad364e35~amd64~~10.0.18362.1" /v Visibility /t REG_DWORD /d 1 /f
    reg add "HKLM\S\Microsoft\Windows\CurrentVersion\Component Based Servicing\Packages\Windows-Defender-Core-Group-amcore-Package~31bf3856ad364e35~amd64~~10.0.18362.1" /v DefVis /t REG_DWORD /d 2 /f
    reg delete "HKLM\S\Microsoft\Windows\CurrentVersion\Component Based Servicing\Packages\Windows-Defender-Core-Group-amcore-Package~31bf3856ad364e35~amd64~~10.0.18362.1\Owners" /f
    
    reg add "HKLM\S\Microsoft\Windows\CurrentVersion\Component Based Servicing\Packages\Windows-Defender-Core-Group-onecore-Package~31bf3856ad364e35~amd64~~10.0.18362.1" /v Visibility /t REG_DWORD /d 1 /f
    reg add "HKLM\S\Microsoft\Windows\CurrentVersion\Component Based Servicing\Packages\Windows-Defender-Core-Group-onecore-Package~31bf3856ad364e35~amd64~~10.0.18362.1" /v DefVis /t REG_DWORD /d 2 /f
    reg delete "HKLM\S\Microsoft\Windows\CurrentVersion\Component Based Servicing\Packages\Windows-Defender-Core-Group-onecore-Package~31bf3856ad364e35~amd64~~10.0.18362.1\Owners" /f
    
    reg add "HKLM\S\Microsoft\Windows\CurrentVersion\Component Based Servicing\Packages\Windows-Defender-Core-Group-Package~31bf3856ad364e35~amd64~~10.0.18362.1" /v Visibility /t REG_DWORD /d 1 /f
    reg add "HKLM\S\Microsoft\Windows\CurrentVersion\Component Based Servicing\Packages\Windows-Defender-Core-Group-Package~31bf3856ad364e35~amd64~~10.0.18362.1" /v DefVis /t REG_DWORD /d 2 /f
    reg delete "HKLM\S\Microsoft\Windows\CurrentVersion\Component Based Servicing\Packages\Windows-Defender-Core-Group-Package~31bf3856ad364e35~amd64~~10.0.18362.1\Owners" /f
    
    reg add "HKLM\S\Microsoft\Windows\CurrentVersion\Component Based Servicing\Packages\Windows-Defender-Group-Policy-Package~31bf3856ad364e35~amd64~~10.0.18362.1" /v Visibility /t REG_DWORD /d 1 /f
    reg add "HKLM\S\Microsoft\Windows\CurrentVersion\Component Based Servicing\Packages\Windows-Defender-Group-Policy-Package~31bf3856ad364e35~amd64~~10.0.18362.1" /v DefVis /t REG_DWORD /d 2 /f
    reg delete "HKLM\S\Microsoft\Windows\CurrentVersion\Component Based Servicing\Packages\Windows-Defender-Group-Policy-Package~31bf3856ad364e35~amd64~~10.0.18362.1\Owners" /f
    
    reg add "HKLM\S\Microsoft\Windows\CurrentVersion\Component Based Servicing\Packages\Windows-Defender-Management-Group-amcore-Package~31bf3856ad364e35~amd64~~10.0.18362.1" /v Visibility /t REG_DWORD /d 1 /f
    reg add "HKLM\S\Microsoft\Windows\CurrentVersion\Component Based Servicing\Packages\Windows-Defender-Management-Group-amcore-Package~31bf3856ad364e35~amd64~~10.0.18362.1" /v DefVis /t REG_DWORD /d 2 /f
    reg delete "HKLM\S\Microsoft\Windows\CurrentVersion\Component Based Servicing\Packages\Windows-Defender-Management-Group-amcore-Package~31bf3856ad364e35~amd64~~10.0.18362.1\Owners" /f
    
    reg add "HKLM\S\Microsoft\Windows\CurrentVersion\Component Based Servicing\Packages\Windows-Defender-Management-Group-onecore-Package~31bf3856ad364e35~amd64~~10.0.18362.1" /v Visibility /t REG_DWORD /d 1 /f
    reg add "HKLM\S\Microsoft\Windows\CurrentVersion\Component Based Servicing\Packages\Windows-Defender-Management-Group-onecore-Package~31bf3856ad364e35~amd64~~10.0.18362.1" /v DefVis /t REG_DWORD /d 2 /f
    reg delete "HKLM\S\Microsoft\Windows\CurrentVersion\Component Based Servicing\Packages\Windows-Defender-Management-Group-onecore-Package~31bf3856ad364e35~amd64~~10.0.18362.1\Owners" /f
    
    reg add "HKLM\S\Microsoft\Windows\CurrentVersion\Component Based Servicing\Packages\Windows-Defender-Management-Group-Package~31bf3856ad364e35~amd64~~10.0.18362.1" /v Visibility /t REG_DWORD /d 1 /f
    reg add "HKLM\S\Microsoft\Windows\CurrentVersion\Component Based Servicing\Packages\Windows-Defender-Management-Group-Package~31bf3856ad364e35~amd64~~10.0.18362.1" /v DefVis /t REG_DWORD /d 2 /f
    reg delete "HKLM\S\Microsoft\Windows\CurrentVersion\Component Based Servicing\Packages\Windows-Defender-Management-Group-Package~31bf3856ad364e35~amd64~~10.0.18362.1\Owners" /f
    
    reg add "HKLM\S\Microsoft\Windows\CurrentVersion\Component Based Servicing\Packages\Windows-Defender-Management-MDM-Group-Package~31bf3856ad364e35~amd64~~10.0.18362.1" /v Visibility /t REG_DWORD /d 1 /f
    reg add "HKLM\S\Microsoft\Windows\CurrentVersion\Component Based Servicing\Packages\Windows-Defender-Management-MDM-Group-Package~31bf3856ad364e35~amd64~~10.0.18362.1" /v DefVis /t REG_DWORD /d 2 /f
    reg delete "HKLM\S\Microsoft\Windows\CurrentVersion\Component Based Servicing\Packages\Windows-Defender-Management-MDM-Group-Package~31bf3856ad364e35~amd64~~10.0.18362.1\Owners" /f
    
    reg add "HKLM\S\Microsoft\Windows\CurrentVersion\Component Based Servicing\Packages\Windows-Defender-Management-Powershell-Group-Package~31bf3856ad364e35~amd64~~10.0.18362.1" /v Visibility /t REG_DWORD /d 1 /f
    reg add "HKLM\S\Microsoft\Windows\CurrentVersion\Component Based Servicing\Packages\Windows-Defender-Management-Powershell-Group-Package~31bf3856ad364e35~amd64~~10.0.18362.1" /v DefVis /t REG_DWORD /d 2 /f
    reg delete "HKLM\S\Microsoft\Windows\CurrentVersion\Component Based Servicing\Packages\Windows-Defender-Management-Powershell-Group-Package~31bf3856ad364e35~amd64~~10.0.18362.1\Owners" /f
    
    reg add "HKLM\S\Microsoft\Windows\CurrentVersion\Component Based Servicing\Packages\Windows-Defender-Nis-Group-Package~31bf3856ad364e35~amd64~~10.0.18362.1" /v Visibility /t REG_DWORD /d 1 /f
    reg add "HKLM\S\Microsoft\Windows\CurrentVersion\Component Based Servicing\Packages\Windows-Defender-Nis-Group-Package~31bf3856ad364e35~amd64~~10.0.18362.1" /v DefVis /t REG_DWORD /d 2 /f
    reg delete "HKLM\S\Microsoft\Windows\CurrentVersion\Component Based Servicing\Packages\Windows-Defender-Nis-Group-Package~31bf3856ad364e35~amd64~~10.0.18362.1\Owners" /f
    
    reg unload HKLM\S
    Pause
    
    dism /image:C:\mount /Remove-Package /PackageName:Windows-Defender-AM-Default-Definitions-Package~31bf3856ad364e35~amd64~~10.0.18362.1
    dism /image:C:\mount /Remove-Package /PackageName:Windows-Defender-AppLayer-Group-Package~31bf3856ad364e35~amd64~~10.0.18362.1
    dism /image:C:\mount /Remove-Package /PackageName:Windows-Defender-ApplicationGuard-Inbox-Package~31bf3856ad364e35~amd64~~10.0.18362.1
    dism /image:C:\mount /Remove-Package /PackageName:Windows-Defender-Client-Package~31bf3856ad364e35~amd64~~10.0.18362.1
    dism /image:C:\mount /Remove-Package /PackageName:Windows-Defender-Group-Policy-Package~31bf3856ad364e35~amd64~~10.0.18362.1
    Pause

    @MSMG thanks for posting these commands, now i can replace install-wim-tweak.exe with dism.:cool:
     
  9. marioalpha

    marioalpha MDL Novice

    Apr 26, 2017
    31
    7
    0
    I have tried and tried many times, but I can't do step 6> 1
    when adding updates i always get errors with sfc / scannow.

    • MSMG ToolKit : 9.9 with ToolKitHelper.exe 1.0.3132.0
    • x64 ISO : 18363.418.CCCOMA_X64FRE_IT-IT_DV9.ISO
    • x64 SSU : windows10.0-kb4552152-x64_705fda69935538eab5054d9d616e1761742816ec.msu
    • x64 CU : windows10.0-kb4556799-x64_9de920d8738612baa81a751b003ff98f0ce7156b.msu
    • x64 FlPlayer : AMD64-all-windows10.0-kb4537759-x64_ea293539b86301f3c89abbae0d4cc70060d00848.msu
    • x64 NetCU : windows10.0-kb4552931-x64_2db4f6d9a62833406875986aae69351f82f3ca2b.msu
    Extract ISO (1 > 3)
    Select source (1 > 1) (only mount image)
    Apply updates (3 > 4 > Y > 2 > 1 > 2)
    Cleanup (6 > 1)
    Apply changes to image (6 > 2 > Y)
    Rebuild (6 > 1)
    Make ISO (7 > 1)

    I still don't understand where I'm wrong o_O:confused:
     

    Attached Files:

    • CBS.txt
      File size:
      377.4 KB
      Views:
      3
  10. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    5,430
    11,396
    180
    Then check if there is any AV interference with the Toolkit or Mount Directory.

    or

     
  11. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    5,430
    11,396
    180
    Welcome, the credit goes to MDL user lite8 for providing this trick.

     
  12. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    5,430
    11,396
    180
    Check skipping the cleanup step and see if SFC error occurs, in many previous CU's there were SFC scan bugs which were fixed at some point.

     
  13. Windows 10 User

    Windows 10 User MDL Expert

    Feb 2, 2017
    1,229
    74
    60
    #15253 Windows 10 User, May 19, 2020
    Last edited: Jun 8, 2020
    Thanks. After removing the Cortana with NTLite some items showed up with the wrong icons in the Start Menu search and after typing some words I got no results.
     
  14. marioalpha

    marioalpha MDL Novice

    Apr 26, 2017
    31
    7
    0
    if skipping the cleanup step i have no errors, this happened to me also with KB4549951

    So am I not the one who misses the steps?

    I kept doing it because I read many who succeed without problems, how is it possible?
     
  15. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    5,430
    11,396
    180
    In v2004 there are no two separate things like Cortana Component and Cortana App, only Cortana App is present.

    The ToolKitHelper method used for removing Cortana App needs further tweaking to fix the Start Menu search and that's why I did gave a temporary solution to use DISM's remove provisioned apps command to remove the Cortana App until a fix is implemented in ToolKitHelper.

     
  16. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    5,430
    11,396
    180
    May be the latest CU might have brought back the SFC bug again which the Microsoft had fixed earlier.

     
  17. Windows 10 User

    Windows 10 User MDL Expert

    Feb 2, 2017
    1,229
    74
    60
    #15257 Windows 10 User, May 19, 2020
    Last edited: Jun 8, 2020
    By using the DISM method to remove the Cortana app would it break the Start Menu search?
     
  18. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    5,430
    11,396
    180
    In W10 v2004 the Cortana UI and Search has been separated.

    The Search part is now a System App (Microsoft.Windows.Search_cw5n1h2txyewy) and is present in <Windows\SystemApps> folder.

    The Cortana App which is the Cortana UI is now normal Provisioned Appx Package (Microsoft.549981C3F5F10) and is present in <Program Files\WindowsApps> folder.

     
  19. raptorddd

    raptorddd MDL Junior Member

    Aug 17, 2019
    68
    18
    0
    i been away for few months. i was getting power offs randomly i still need to send motherboard to warrantt. so i have no PC LOL. question does using toolkit now still reinstalls rwmoved apps when windows update is used.?
     
  20. Windows 10 User

    Windows 10 User MDL Expert

    Feb 2, 2017
    1,229
    74
    60
    #15260 Windows 10 User, May 19, 2020
    Last edited: Jun 17, 2020
    If they're separated in 2004, then why removing Cortana messes up the Start Menu and the Settings app?