MSMG ToolKit

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

  1. AeonX

    AeonX MDL Addicted

    May 24, 2013
    684
    528
    30
    #5781 AeonX, Jan 30, 2018
    Last edited: Jan 30, 2018
    Do you use antivirus? Have you set up telemetry as Security?
    https://forums.mydigitallife.net/threads/windows-10-hotfix-repository.57050/page-258#post-1403394
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. windows builder

    windows builder MDL Expert

    Sep 13, 2017
    1,994
    1,262
    60
    #5782 windows builder, Feb 2, 2018
    Last edited: Feb 3, 2018
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. windows builder

    windows builder MDL Expert

    Sep 13, 2017
    1,994
    1,262
    60
    #5783 windows builder, Feb 2, 2018
    Last edited: Feb 3, 2018
    [A] - Select the Source Images using [Source->Select Source from Source <DVD> Folder] menu.
    [D] - Integrate all required Windows Features - Calc, DirectX (Except Microsoft .NET Framework 3.5) using [Integrate->Windows Features] menu.
    [E] - Integrate Windows Updates (4) [Integrate->Windows Updates->Windows Updates] menu.
    [G] - Integrate all required Windows Custom Features (Skin for Calc and PhotoViewer) using [Integrate->Windows Custom Features] menu.
    [H] - Remove all required Microsoft Default Metro Apps (all apps except the Store) using [Remove->Remove Default Metro Apps] menu.
    - Remove all required Windows Components using [Remove->Remove Windows Components] menu...
    ... and when I delete the last two components (Quick Assist and Take Test), errors begin: "Access denied" and "Component does not exist".

    But if I integrate .Net3.5 at the very beginning, then everything goes well and without errors.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. Mvp77

    Mvp77 MDL Novice

    May 16, 2016
    33
    4
    0
    Sorry, I can't read 290 pages.
    Did you solve the Access Denied issue?
    I tried MSMG on Windows 7 HomePremium (desktop and VM).
    No way.
    Access denied for every packages added to the remove list.
     
  5. sergey130270

    sergey130270 MDL Member

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

    Attached Files:

  6. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    5,275
    10,982
    180
    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.

     
  7. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    5,275
    10,982
    180
    Please always do specify the Source OS Image you are using for servicing and which components did you used for removing.

     
  8. Mvp77

    Mvp77 MDL Novice

    May 16, 2016
    33
    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
     
  9. Mvp77

    Mvp77 MDL Novice

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

    MSMG MDL Developer

    Jul 15, 2011
    5,275
    10,982
    180
    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.

     
  11. windows builder

    windows builder MDL Expert

    Sep 13, 2017
    1,994
    1,262
    60
    #5792 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...
  12. Mvp77

    Mvp77 MDL Novice

    May 16, 2016
    33
    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... :)
     
  13. Tiger-1

    Tiger-1 MDL Guru

    Oct 18, 2014
    6,050
    7,386
    210
    ^^
    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
     
  14. Mvp77

    Mvp77 MDL Novice

    May 16, 2016
    33
    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.
     
  15. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    5,275
    10,982
    180
    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.

     
  16. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    5,275
    10,982
    180
    #5797 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.

     
  17. Mvp77

    Mvp77 MDL Novice

    May 16, 2016
    33
    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?
     
  18. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    5,275
    10,982
    180