1. 0x723465

    0x723465 MDL Novice

    Mar 16, 2015
    10
    1
    0
    #17421 0x723465, Nov 15, 2020
    Last edited: Nov 15, 2020
    In the case of the screenshot I didn't do a complete rebuild/recompress after building the image.
    I did it before in another try on 10.8 and the size decreased to 5,52GB, which is still 1,5GB more than the image was before editing.
    Also rebuilding in NTLite didn't change that.

    Will try that command now on my virtual building machine.

    Edit:
    That command shows me an error.

    Error: 5
    Access is denied.

    And the dism error log says:
    -> Fail to flush file buffers

    Happens also when I use the dism binary included in toolkit and also when I use a different image
    (the new 2009_19042_630). Was reading that this can happen because of an Antivirus but on that
    virtual machine I don't even have Defender installed (removed it from the image before installing).
     
  2. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,414
    15,608
    210
    You need to run it in a Command Prompt with Administrator Privilege.

     
  3. AkarshM

    AkarshM MDL Novice

    Oct 21, 2020
    15
    7
    0
    Will this bug be fixed in the next version?
     
  4. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,414
    15,608
    210
    Yes I have fixed it in the next version to provide choice for selecting the index.

    Updating some packs, will be releasing it when it's finished.

     
  5. inTerActionVRI

    inTerActionVRI MDL Expert

    Sep 23, 2009
    1,748
    3,575
    60
    @MSMG, I found some more typo and possibilities to reduce some lines. PMs
     
  6. 0x723465

    0x723465 MDL Novice

    Mar 16, 2015
    10
    1
    0
    I did, even tried it with elevated rights using NSudo.
     
  7. BT 1

    BT 1 MDL Junior Member

    Feb 16, 2017
    82
    16
    0
    Regarding bugs, i tried to use the latest Toolkit on the latest Windows ISO but i could not remove many things due to "bugs" as a message said. When will all these bugs be handled, next version?
     
  8. nosirrahx

    nosirrahx MDL Expert

    Nov 7, 2017
    1,263
    607
    60
    I spent some time playing around with removing Defender and making it stick.

    I did 2 experiments but this was the starting point for both:

    Create a new image with Defender removed and installed without connecting to the internet after install.
    Create folders associated with Defender and setting deny all for all users.
    Create keys associated with Defender, set policy restrictions and services disabled and then again denied permissions to these keys.

    Experiment 1: upgrade to next build via in-place upgrade.
    Experiment 2: installs updates individually downloaded from COU.

    The first experiment obliterated everything I had set up.
    The second experiment resulted in Defender installed into the folders (even though the permissions were unchanged) and Defender is only partially working. Its there but it is crippled. I get a tray icon but I can change settings or scan.


    For the time being it looks like the only way to do this is probably to build a new image every time you want to upgrade and remove defender again from that image (as well as your other modifications) and do an in-place upgrade. Other than that, you are getting defender again.
     
  9. Yanta

    Yanta MDL Senior Member

    May 21, 2017
    477
    274
    10
    Sounds like a lot of work. I have 10 PCs... I couldn't imagine doing that every month :)

    But I don't think a solution will ever be found regarding components being restored. It's been 18 months. If a solution was coming I suspect someone would have found it by now.

    For me, staying on 1809 LTSC works. There's nothing in later versions anyway that make upgrading compelling in any way.
     
  10. nosirrahx

    nosirrahx MDL Expert

    Nov 7, 2017
    1,263
    607
    60
    For me its only Defender. The components I choose to remove stay gone for good. The only minor irritation is that some of them recreate new folders and files but they are "dead" and do not run or create annoying shortcuts all over my start menu.

    For a time I did the "make a new image without Defender and upgrade" method and it does gets old. I have not done this once in 2020.
     
  11. Ace2

    Ace2 MDL Expert

    Oct 10, 2014
    1,863
    1,524
    60
    #17433 Ace2, Nov 16, 2020
    Last edited: Nov 16, 2020
    1.
    google and download Defender Control v1.6

    2.
    Disable defender then restart Pc.

    3.
    Use Windows-Defender-Online.cmd [Run .cmd using PowerRun.exe or NSudo.exe]

    Code:
    @Echo Off
    
    Reg.exe delete "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Component Based Servicing\Packages\Windows-Defender-AM-Default-Definitions-Package~31bf3856ad364e35~amd64~~10.0.19041.1\Owners" /f
    Reg.exe delete "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Component Based Servicing\Packages\Windows-Defender-AppLayer-Group-Package~31bf3856ad364e35~amd64~~10.0.19041.1\Owners" /f
    Reg.exe delete "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Component Based Servicing\Packages\Windows-Defender-ApplicationGuard-Inbox-Package~31bf3856ad364e35~amd64~~10.0.19041.1\Owners" /f
    Reg.exe delete "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Component Based Servicing\Packages\Windows-Defender-ApplicationGuard-Inbox-WOW64-Package~31bf3856ad364e35~amd64~~10.0.19041.1\Owners" /f
    Reg.exe delete "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Component Based Servicing\Packages\Windows-Defender-Client-Package~31bf3856ad364e35~amd64~~10.0.19041.1\Owners" /f
    Reg.exe delete "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Component Based Servicing\Packages\Windows-Defender-Core-Group-Package~31bf3856ad364e35~amd64~~10.0.19041.1\Owners" /f
    Reg.exe delete "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Component Based Servicing\Packages\Windows-Defender-Group-Policy-Package~31bf3856ad364e35~amd64~~10.0.19041.1\Owners" /f
    Reg.exe delete "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Component Based Servicing\Packages\Windows-Defender-Management-Group-Package~31bf3856ad364e35~amd64~~10.0.19041.1\Owners" /f
    Reg.exe delete "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Component Based Servicing\Packages\Windows-Defender-Management-MDM-Group-Package~31bf3856ad364e35~amd64~~10.0.19041.1\Owners" /f
    Reg.exe delete "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Component Based Servicing\Packages\Windows-Defender-Management-Powershell-Group-Package~31bf3856ad364e35~amd64~~10.0.19041.1\Owners" /f
    Reg.exe delete "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Component Based Servicing\Packages\Windows-Defender-Nis-Group-Package~31bf3856ad364e35~amd64~~10.0.19041.1\Owners" /f
    
    Pause
    
    dism /online /remove-package /packagename:Windows-Defender-AM-Default-Definitions-Package~31bf3856ad364e35~amd64~~10.0.19041.1
    dism /online /remove-package /packagename:Windows-Defender-AppLayer-Group-Package~31bf3856ad364e35~amd64~~10.0.19041.1
    dism /online /remove-package /packagename:Windows-Defender-ApplicationGuard-Inbox-Package~31bf3856ad364e35~amd64~~10.0.19041.1
    dism /online /remove-package /packagename:Windows-Defender-ApplicationGuard-Inbox-WOW64-Package~31bf3856ad364e35~amd64~~10.0.19041.1
    dism /online /remove-package /packagename:Windows-Defender-Client-Package~31bf3856ad364e35~amd64~~10.0.19041.1
    dism /online /remove-package /packagename:Windows-Defender-Group-Policy-Package~31bf3856ad364e35~amd64~~10.0.19041.1
    
    Pause
    
    dism /online /cleanup-image /startcomponentcleanup
    
    Pause
    
    dism /online /cleanup-image /startcomponentcleanup /resetbase
    
    Pause
    
    dism /online /cleanup-image /restorehealth
    
    Pause
    
    sfc /scannow
    
    Pause
    NOTES:
    This is for Windows 10.0.19041.1, change the version in Windows-Defender-Online.cmd to the version of Windows 10 you are running.;)

    Use a cmd like this,
    Code:
    dir /b %windir%\servicing\packages\*.mum > c:\packages.txt
    to write versions to C::\packages.txt, read C::\packages.txt, for Windows defender version information.;)
     
  12. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,414
    15,608
    210
    Do you see any bug in removing the packages, I have tested thoroughly, not able to replicate the issue.

    Do provide more details with error screenshots while removing the components and Source and HOST OS details.

    Selecting Source Image

    Code:
    ===============================================================================
                   MSMG ToolKit - Select Source from <DVD> folder
    ===============================================================================
    
    -------------------------------------------------------------------------------
    ####Selecting Source Images####################################################
    -------------------------------------------------------------------------------
    
    Reading Image Information...
    
    ===============================================================================
    | Index | Arch | Name
    ===============================================================================
    |   1   | x86  | Windows 10 Enterprise
    |   2   | x86  | Windows 10 Pro
    ===============================================================================
    
    Enter the Image Index # [Range : 1,...2 or 'A'll 'Q'uit] : 2
    
    Do you want to mount Windows Setup Boot Image ? ['Y'es/'N'o] : N
    
    Do you want to mount Windows Recovery Image ? ['Y'es/'N'o] : N
    
    -------------------------------------------------------------------------------
    ####Source Image Information###################################################
    -------------------------------------------------------------------------------
    
        Image                    :  Install.wim
        Image Index No           :  2
        Image Architecture       :  x86
        Image Version            :  10.0.19041
        Image Service Pack Build :  572
        Image Service Pack Level :  0
        Image Build              :  19041
        Image Default Language   :  en-US
    
    -------------------------------------------------------------------------------
    ####Mounting Source Images#####################################################
    -------------------------------------------------------------------------------
    
    -------------------------------------------------------------------------------
    Mounting [Install.wim, Index : 2] Image at <\Mount\Install\2>...
    -------------------------------------------------------------------------------
    
    Deployment Image Servicing and Management tool
    Version: 10.0.20257.1
    
    Mounting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    -------------------------------------------------------------------------------
    ####Finished Selecting & Mounting Source Images################################
    -------------------------------------------------------------------------------
    
    ===============================================================================
    
    Press any key to continue . . .
    
    Removing All components using Package list

    Code:
    ===============================================================================
            MSMG ToolKit - Remove Windows Components Using Package List
    ===============================================================================
    
    -------------------------------------------------------------------------------
    ####Starting Removing Windows Components Using Package List####################
    -------------------------------------------------------------------------------
    
        Image                    : Install.wim
        Image Index              : 2
        Image Architecture       : x86
        Image Version            : 10.0.19041.572.0
    
    -------------------------------------------------------------------------------
    ####Removing Windows Components Using Package List#############################
    -------------------------------------------------------------------------------
    
    ===========================[Install.wim, Index : 2]============================
    
    
    MSMG ToolKit Commandline Helper
    Version: 1.0.4212.0
    
    Image Version: 10.0.19041.572
    
    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 : AssignedAccess
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : CEIP_SQM
    
    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...
    Modifying 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...
    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.
    
    Component : Paint
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : SecurityCenter
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : StepsRecorder
    
    Removing Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : SystemRestore
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : WindowsBackup
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : WindowsFirewall
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : WindowsSubsystemForLinux
    
    Removing Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : WindowsToGo
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : Wordpad
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : AADBrokerPlugin
    
    Removing Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : AssignedAccessLockApp
    
    Removing Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : BioEnrollment
    
    Removing Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : CallingShellApp
    
    Removing Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : CBSPreview
    
    Removing Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : ContentDeliveryManager
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : ECApp
    
    Removing Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : EdgeDevToolsClient
    
    Removing Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : Edge
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : FileExplorer
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : LockApp
    
    Removing Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : MapControl
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : NarratorQuickStart
    
    Removing Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : OneDrive
    
    Removing Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : ParentalControls
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : PeopleExperienceHost
    
    Removing Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : QuickAssist
    
    Removing Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : RetailDemoContent
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : SecureAssessmentBrowser
    
    Removing Package files...
    Modifying Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : SettingSync
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : SkypeORTC
    
    Removing Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : SmartScreen
    
    Removing Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : Win32WebViewHost
    
    Removing Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : WindowsDefender
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : WindowsMixedReality
    
    Removing Package files...
    Modifying Package Registry...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : WindowsReaderPDF
    
    Removing Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : XboxGameCallableUI
    
    Removing Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : 3DViewer
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : AdvertisingXaml
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : Alarms
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : BingWeather
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : Calculator
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : Camera
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : CommunicationsApps
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : Cortana
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : DesktopAppInstaller
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : FeedbackHub
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : GetHelp
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : Getstarted
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : HEIFImageExtension
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : Maps
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    The specified component has already been removed...
    
    Component : OfficeHub
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : OfficeOneNote
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : Paint3D
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : People
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : Photos
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : ScreenSketch
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : SkypeApp
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : SolitaireCollection
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : SoundRecorder
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : StickyNotes
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : VP9VideoExtensions
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : WalletService
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : WebMediaExtensions
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : WebpImageExtensions
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : WindowsStore
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : XboxApp
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : XboxIdentityProvider
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : YourPhone
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : ZuneMusic
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : ZuneVideo
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    -------------------------------------------------------------------------------
    ####Finished Removing Windows Components Using Package List####################
    -------------------------------------------------------------------------------
    
    ===============================================================================
    
    Press any key to continue . . .
    
     
  13. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,414
    15,608
    210
    Informing earlier to know user feedback.

    In next version of Toolkit, I'm planning to merge these two menus, as it will reduce the no of tasks and also helps people who forget to rebuild the final image.

    [1] Apply & Save Changes to Source Images
    [2] Rebuild Source Images

    Also in Apply & Save Changes to Source Images feature an option to trim un-selected editions will be added.
     
  14. jinvidia

    jinvidia MDL Member

    Aug 7, 2016
    238
    35
    10
    @MSMG - I tested the following ISOs with v10.8.

    en_windows_10_business_editions_version_1903_x64_dvd_37200948.iso
    Please see the popup window in the middle of msmg operation.
    ERROR.png

    en_windows_10_business_editions_version_1909_x64_dvd_ada535d0.iso
    After installation, sfc reported integrity violations

    en_windows_10_enterprise_ltsc_2019_x64_dvd_74865958.iso
    After installation, sfc reported integrity violations

    en_windows_10_business_editions_version_1909_updated_oct_2020_x64_dvd_3cfd51ef
    no integrity violations and seems to be perfect till now.

    Kindly let me know the last msmg version compatible with the first 3 ISOs which have the above issues.
    Thank you.
     
  15. rorewe4314

    rorewe4314 MDL Member

    Jun 18, 2020
    107
    22
    10
    MSMG,
    When will the restoration of deleted components from the system (Windows updates) be blocked?
     
  16. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,414
    15,608
    210
    These versions are supported

    Windows 10 Client v1809 (v10.0.17763.1554)
    Windows 10 Client v1903/v1909 (v10.0.18362.1171/v10.0.18363.1171)
    Windows 10 Client v2004/v2009 (v10.0.19041.572/610/v10.0.19042.572/610)

    The error in the screenshot occurs usually when the

    - Toolkit.cmd is run directly instead using Start.cmd
    - Toolkit folder path contains spaces and path length is too long or it exists with in Users folder.
    - When AV or other program are interfering with the Toolkit mount folder.

    If you had continued the removal even after that error and tested the OS there might be SFC error due to the component being removed completely.

    Do provide the list of components removed and steps you followed.



     
  17. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,414
    15,608
    210
    Blocking the restoration of removed components as well as allowing the WU to update normally is a difficult thing as it's like a double edged sword where fixing one thing breaks the other.

    That's why I haven't given any ETA for this, it will be available when it's working and ready.

    Will see if adding support for the component removal program to run on live system would atleast provide a quick fix for people from reinstalling or doing in-place upgrade often.