1. sergey130270

    sergey130270 MDL Senior Member

    May 15, 2014
    278
    301
    10
    After integrating the update, windows10.0-kb4058258 does not want to remove windows Defender. What to do? Help me please
     

    Attached Files:

  2. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,414
    15,608
    210
    In case if you are not using en-GB/en-US images, then don't remove the PeopleExperienceHost components.
    If you using en-GB/en-US images then do remove them at last.

    Please do read the first post, I have specified about it.

    I had specified about this earlier in one of my previous post, Removing PeopleExperienceHost component for non en-GB/en-US images causes an exception in the ToolKitHelper.exe program and it gets terminated before un-mounting the Image Registry and so further component removal or un-mounting source cause mount error or access denied error, the workaround is to un-mount the image registry hives.

    I have moved the PeopleExperienceHost component to Advanced Windows Components Menu so that it is removed at last along with WindowsDefender or SamrtScreen and also support for all languages have been added v8.1

    Will be posting the new in two or three days, do wait for the next release.

     
  3. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,414
    15,608
    210
    Please always do specify the Source OS Image you are using for servicing and which components did you used for removing.

     
  4. Mvp77

    Mvp77 MDL Junior Member

    May 16, 2016
    58
    4
    0
    As I wrote, Windows 7 HomePremium (x64 naturally).
    Packages... it doesn't matter. Access denied always...
    Example:
    Microsoft-Windows-Anytime-Upgrade-Package~31bf3856ad364e35~amd64~en-US~6.1.7601.17514
    Microsoft-Windows-Anytime-Upgrade-Package~31bf3856ad364e35~amd64~~6.1.7601.17514
    Microsoft-Windows-Anytime-Upgrade-Results-Package~31bf3856ad364e35~amd64~en-US~6.1.7601.17514
    Microsoft-Windows-Anytime-Upgrade-Results-Package~31bf3856ad364e35~amd64~~6.1.7601.17514
    Microsoft-Windows-LocalPack-AU-Package~31bf3856ad364e35~amd64~~6.1.7601.17514
    Microsoft-Windows-LocalPack-CA-Package~31bf3856ad364e35~amd64~~6.1.7601.17514
    Microsoft-Windows-LocalPack-GB-Package~31bf3856ad364e35~amd64~~6.1.7601.17514
    Microsoft-Windows-LocalPack-US-Package~31bf3856ad364e35~amd64~~6.1.7601.17514
    Microsoft-Windows-LocalPack-ZA-Package~31bf3856ad364e35~amd64~~6.1.7601.17514
    Microsoft-Windows-MediaCenter-Package~31bf3856ad364e35~amd64~en-US~6.1.7601.17514
    Microsoft-Windows-MediaCenter-Package~31bf3856ad364e35~amd64~~6.1.7601.17514
    Microsoft-Windows-MediaPlayback-OC-Package~31bf3856ad364e35~amd64~en-US~6.1.7601.17514
    Microsoft-Windows-MediaPlayback-OC-Package~31bf3856ad364e35~amd64~~6.1.7601.17514
    Microsoft-Windows-MediaPlayer-DVDRegistration-Package~31bf3856ad364e35~amd64~~6.1.7601.17514
    Microsoft-Windows-MediaPlayer-Package~31bf3856ad364e35~amd64~en-US~6.1.7601.17514
    Microsoft-Windows-MediaPlayer-Package~31bf3856ad364e35~amd64~~6.1.7601.17514
    Microsoft-Windows-MobilePC-Client-Basic-Package~31bf3856ad364e35~amd64~en-US~6.1.7601.17514
    Microsoft-Windows-MobilePC-Client-Basic-Package~31bf3856ad364e35~amd64~~6.1.7601.17514
    Microsoft-Windows-MobilePC-Client-Premium-Package~31bf3856ad364e35~amd64~en-US~6.1.7601.17514
    Microsoft-Windows-MobilePC-Client-Premium-Package~31bf3856ad364e35~amd64~~6.1.7601.17514
    Microsoft-Windows-MobilePC-Client-Sensors-Package~31bf3856ad364e35~amd64~en-US~6.1.7601.17514
    Microsoft-Windows-MobilePC-Client-Sensors-Package~31bf3856ad364e35~amd64~~6.1.7601.17514
    Microsoft-Windows-MobilePC-Client-SideShow-Package~31bf3856ad364e35~amd64~en-US~6.1.7601.17514
    Microsoft-Windows-MobilePC-Client-SideShow-Package~31bf3856ad364e35~amd64~~6.1.7601.17514
    Microsoft-Windows-OpticalMediaDisc-Package~31bf3856ad364e35~amd64~en-US~6.1.7601.17514
    Microsoft-Windows-OpticalMediaDisc-Package~31bf3856ad364e35~amd64~~6.1.7601.17514
    Microsoft-Windows-ParentalControls-Package~31bf3856ad364e35~amd64~en-US~6.1.7601.17514
    Microsoft-Windows-ParentalControls-Package~31bf3856ad364e35~amd64~~6.1.7601.17514
    Microsoft-Windows-PeerDist-Client-Package~31bf3856ad364e35~amd64~en-US~6.1.7601.17514
    Microsoft-Windows-PeerDist-Client-Package~31bf3856ad364e35~amd64~~6.1.7601.17514
    Microsoft-Windows-PeerToPeer-Full-Package~31bf3856ad364e35~amd64~en-US~6.1.7601.17514
    Microsoft-Windows-PeerToPeer-Full-Package~31bf3856ad364e35~amd64~~6.1.7601.17514
    Microsoft-Windows-Shell-InboxGames-Package~31bf3856ad364e35~amd64~en-US~6.1.7601.17514
    Microsoft-Windows-Shell-InboxGames-Package~31bf3856ad364e35~amd64~~6.1.7601.17514
    Microsoft-Windows-Shell-MultiplayerInboxGames-Package~31bf3856ad364e35~amd64~en-US~6.1.7601.17514
    Microsoft-Windows-Shell-MultiplayerInboxGames-Package~31bf3856ad364e35~amd64~~6.1.7601.17514
    Microsoft-Windows-Shell-PremiumInboxGames-Package~31bf3856ad364e35~amd64~en-US~6.1.7601.17514
    Microsoft-Windows-Shell-PremiumInboxGames-Package~31bf3856ad364e35~amd64~~6.1.7601.17514
     
  5. Mvp77

    Mvp77 MDL Junior Member

    May 16, 2016
    58
    4
    0
    No security apps, no AV, no problem with DISM or other packages removing tools.
    I use an admin account.
     
  6. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,414
    15,608
    210
    When you say I tried MSMG on Windows 7 HomePremium (desktop and VM). people will think about the HOST OS and not Source Image.

    For Windows 7 Source OS Images, you can't remove the Packages like that directly, you need to remove the entries for the original package entries from the [HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Component Based Servicing\PackagesPending] Key and then the DISM allows to remove the required Package.

    For E.g: for removing Biometrics Packages

    Code:
    :: Mounting Image Registry
    call :MountImageRegistry "%InstallMount"
              
    :: Removing Microsoft Biometrics Pending Packages Registry Keys
    Reg delete "HKLM\TK_SOFTWARE\Microsoft\Windows\CurrentVersion\Component Based Servicing\PackagesPending\Microsoft-Windows-BiometricFramework-Package~31bf3856ad364e35~%PackageArchitecture%~~6.1.7600.16385" /f >nul 2>&1
    Reg delete "HKLM\TK_SOFTWARE\Microsoft\Windows\CurrentVersion\Component Based Servicing\PackagesPending\Microsoft-Windows-BiometricFramework-Package~31bf3856ad364e35~%PackageArchitecture%~~6.1.7601.17514" /f >nul 2>&1
    
    :: Un-Mounting Image Registry
    call :UnMountImageRegistry
              
    call :RemoveComponent "%InstallMount%", "Microsoft Biometric Framework", "Microsoft-Windows-BiometricFramework-Package"
    

    I haven't added this for Remove Windows Components using Packages List (RemovePkgsList.txt) yet.

    Also For removing packages you don't need to remove the language resource package since removing the parent package will remove it.

     
  7. windows builder

    windows builder MDL Guru

    Sep 13, 2017
    2,219
    1,555
    90
    #5788 windows builder, Feb 3, 2018
    Last edited: Feb 3, 2018
    I using en-us ISO image.
    I am guided by the order in the Readme file.
    in it there is not a word about the removal of People apps and components.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  8. Mvp77

    Mvp77 MDL Junior Member

    May 16, 2016
    58
    4
    0
    Ok, now it makes sense.
    But where did you write these things, because in the guide I downloaded there is nothing.
    And if you read compatible with Windows 7 (I mean install.wim, not the host), then you think you can use it as it is.
    Sorry, but 300 pages of threads are hours and hours of reading... :)
     
  9. Tiger-1

    Tiger-1 MDL Guru

    Oct 18, 2014
    7,894
    10,735
    240
    ^^
    what is problem in read all pages? I think that who have more interest simply read all; myself learn something reading all pages whitout lazy so today I have a little knowledge about how to work correctly with Toolkit ;) so my OS works always fine :D
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  10. Mvp77

    Mvp77 MDL Junior Member

    May 16, 2016
    58
    4
    0
    :)
    Ok, but if you've already done it, why do not take advantage of you?
    What I want to know is if it is able to remove everything (winsxs files, keys or registry values).
    WinReducer does it for some components, but WinReducer also has some bugs (eg. services).
    Otherwise, I continue to use WinToolkit... there's no reason to use a batch file that does the same things.
     
  11. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,414
    15,608
    210
    It won't be there in readme.txt as the issue was found later and was updated in the First Post, do Wait for the new version.

     
  12. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,414
    15,608
    210
    #5793 MSMG, Feb 4, 2018
    Last edited: Feb 4, 2018
    (OP)
    I haven't written about it, but it was just I missed to add the registry tweak to remove those pending packages for Windows 7 package removal using Package List.

    Will be adding it in the upcoming version.

    The ToolKit removes what has been provided in the menu using the DISM and also removes any left-over folders for removed components.

    But if you are using a RemovePackages.txt list then it will remove only the component and not the left-over files/folders.

    You are free to use whichever tools is comfortable for you.

     
  13. Mvp77

    Mvp77 MDL Junior Member

    May 16, 2016
    58
    4
    0
    I don't want to offend you, I know how much work it takes doing a batch like this.
    But DISM only changes the status of the package to "staged"; so all the files and registry values are still there.
    it's just a fake removal.
    I don't know what those idiots at Microsoft have in mind, but why don't provide an OS core version to download without all this s**t?
     
  14. windows builder

    windows builder MDL Guru

    Sep 13, 2017
    2,219
    1,555
    90
    MSMG
    How can I remove some components from the additional menu to the main menu?
    For example, delete the Edge browser, Cortana and Search from the additional sub-menu in the remove components menu.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  15. Mvp77

    Mvp77 MDL Junior Member

    May 16, 2016
    58
    4
    0
    This is what I would like, a total removal; and you can only do it "manually".
    Unfortunately, your tool is designed to be used with Windows 10; and I will try to avoid, as long as possible, to use what I consider a disgusting service pack with serious privacy issues.
     
  16. Tiger-1

    Tiger-1 MDL Guru

    Oct 18, 2014
    7,894
    10,735
    240
    ^^
    no MSMG Toolkit works fine also in Windows 8.1 I know because myself already make severals jobs without issues
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  17. RenoZeti

    RenoZeti MDL Novice

    Apr 6, 2011
    1
    0
    0
    Hi MSMG,

    Your tool is great. One question though, does your software support apps integration like Firefox, Flash, and so on? Thank you.