MSMG ToolKit

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

  1. Tiger-1

    Tiger-1 MDL Guru

    Oct 18, 2014
    5,992
    7,261
    180
    Hmm is no longer easy to disable this on the task scheduler ...:thinking:
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. ingviowarr

    ingviowarr MDL Senior Member

    Dec 14, 2009
    273
    225
    10
    #19062 ingviowarr, Apr 8, 2021
    Last edited: Apr 8, 2021
    Why? Shcheduler and Autologgers - the easiest part of the game.

    • Scheduler (CreateObjectTask)
    Code:
    schtasks /Change /TN "Microsoft\Windows\CloudExperienceHost\CreateObjectTask" /Disable
    If no access, then launch cmd/PS via PowerRun and do it. (Before it was OK even without PowerRun).

    Autologger (CloudExperienceHostOobe)
    Code:
    reg delete "HKLM\SYSTEM\CurrentControlSet\Control\WMI\AutoLogger\CloudExperienceHostOobe" /f
     
  3. Tiger-1

    Tiger-1 MDL Guru

    Oct 18, 2014
    5,992
    7,261
    180
    yep friend, I forgot about this command ;):D
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. ingviowarr

    ingviowarr MDL Senior Member

    Dec 14, 2009
    273
    225
    10
    Guys, please, find this tweak. Maestro westlife also asking for this.
     
  5. loweistudio

    loweistudio MDL Novice

    Jan 13, 2021
    6
    3
    0
    Hello everyone, sorry for being a noob in Customizing Windows 10.

    I ran the MSMG Toolkit and debloated a Win 1909 Pro Iso and tested it in a VM without DISM or SFC errors.
    I wanted to use the AIO-Debloater to strip extra features on my debloated ISO (previously stripped by MSMG) as recommended by @ingviowarr :
    However, I can't figure out how to run the .cmd file to edit the ISO.
    Any README file or instructions could help.
     
  6. ingviowarr

    ingviowarr MDL Senior Member

    Dec 14, 2009
    273
    225
    10
    @loweistudio
    See Chapter 2.1) and put 2 files (cmd & iso) into the corresponded folders.
    Run cmd (as Admin) and follow the 4 screens that will appear one by one.
    Just select / unselect items (Ctrl+LMB) according to my screenshots.
     
  7. loweistudio

    loweistudio MDL Novice

    Jan 13, 2021
    6
    3
    0
    #19067 loweistudio, Apr 8, 2021
    Last edited: Apr 8, 2021
    Thanks for your swift reply @ingviowarr

    I did put the custom files in their respective folders but when i start the .cmd script, i get no response from it!
    I tried to apply everything you said in your post but it seems i'm blocked on this step.
     
  8. ingviowarr

    ingviowarr MDL Senior Member

    Dec 14, 2009
    273
    225
    10
    @loweistudio
    Ensure your current Account included into Admin group. Look at the classic User Management:
    Run -> lusrmgr.msc
     
  9. loweistudio

    loweistudio MDL Novice

    Jan 13, 2021
    6
    3
    0
    I am indeed administrator of my account.
    Could you send me ,by any chance, a screenshot of your folder and its organization ? Where you run the script off.
    It might be coming from me ,doing something wrong with the pasting of files.
     
  10. ingviowarr

    ingviowarr MDL Senior Member

    Dec 14, 2009
    273
    225
    10
    D:\ISO\W10AIO-Debloater_RaiyvaN2MDL.cmd
    D:\ISO\ISOsource\*.iso

    Aslo run from Explorer (64-bit), not from some "File Manager" (32-bit)
    Or may be it's a VM ?
     
  11. loweistudio

    loweistudio MDL Novice

    Jan 13, 2021
    6
    3
    0
    I use XYplorer but never had problems running scripts off it.
    The script i uses is the updated version "W10Debloater.cmd".
    My structure looks like this:

    MSMG Toolkit > Iso > bin (included with the script)
    MSMG Toolkit > ISO > ISOsource > debloatedwin.iso
    MSMG Toolkit > ISO > W10Debloater.cmd
     
  12. ingviowarr

    ingviowarr MDL Senior Member

    Dec 14, 2009
    273
    225
    10
    #19072 ingviowarr, Apr 8, 2021
    Last edited: Apr 8, 2021
    Oh, brother. I'm also an old user of this Software masterpiece (yes, true "Software", from the big first letter in this case).
    BUT. REMEMBER:

    1) Never launch such scripts from 32-bit apps.
    For example, AutoSettingsPS will not work from XYplorer (32-bit), but will work from Explorer (64-bit)

    2) You have spaces iside the path. Get rid of this.
    Example: Use "MSMG" instead of " MSMG Toolkit"

    3) Make folder names as short as you can.
    Example: Use "MSMG" instead of " MSMG Toolkit"

    4) Just copy everything (just 2 files - script & iso) into the new locations on the disk, like I show to you above.

    Now you are cool hacker.
     
  13. loweistudio

    loweistudio MDL Novice

    Jan 13, 2021
    6
    3
    0
    I ran it from the explorer shell but it did not work again for me.
    The script just starts and then the window disapears quickly ; so it's wrong on my end.
    But where?
     
  14. mdl052020

    mdl052020 MDL Addicted

    May 31, 2020
    544
    617
    30
    Pl discuss Debloater Script on its own thread related to updated debloater script by its dev.
    it has some modifications . msmg will be angry if his toolkit fans including me will discuss irrelevant stuff here on his thread.
    i hope my request will be considered.
     
  15. loweistudio

    loweistudio MDL Novice

    Jan 13, 2021
    6
    3
    0
    #19075 loweistudio, Apr 8, 2021
    Last edited: Apr 8, 2021
    Last post on this case: i did manage to make the script run by deletting the former instance (with Unlocker) then extracting the Toolkit and copying the files.
    Thanks a ton @ingviowarr for the precious help. And sorry @mdl052020 it was not my intention to hijack the thread.
     
  16. ingviowarr

    ingviowarr MDL Senior Member

    Dec 14, 2009
    273
    225
    10
    I can't remember he was angry in the thread. I like the freedom of his welcome thread very much.
    Nevertheless, I agree that we should behave sensibly.
     
  17. RaiyvaN

    RaiyvaN MDL Member

    Sep 23, 2009
    246
    269
    10
    #19078 RaiyvaN, Apr 8, 2021
    Last edited: Apr 10, 2021 at 01:38
    Solved several problems resulting from the implemented changes, for the multiple integration features. I had asked for feedback on integration errors, since this part was in beta, but I did not receive it. However, the Custom Toolkit is stable, and I will post a new version tomorrow.

    For problems were related to folder paths: @MSMG, I implemented the "PackageBuild" system in a standardized way to correct this detail in other integrations that were failing, I completely eliminated the use of% ImageVersion% both for the paths and for the identification of the names of the packs.

    Typo fixed at Integrate Dedup an "echo." was indicating the wrong language.


    I have a question:

    is WinRE.wim exactly the same for all Indexes?
    Or would there be any specific difference?

    If it is totally the same, I have another way to optimize a little more.
     
  18. Yanta

    Yanta MDL Senior Member

    May 21, 2017
    266
    131
    10
    Indeed, the easiest part. But even if there was an issue with unable to disable task like access denied (as there are on some of the tasks that keep waiting up the computer), you can use psexec from sysinernals to complete the task..

    psexec -i -s schtasks /Change /TN "Microsoft\Windows\CloudExperienceHost\CreateObjectTask" /Disable

    I have added all of the parts in my script to disable the task, remove autologgers and other registry tweaks. Now I just need the code to remove the package.
     
  19. Yanta

    Yanta MDL Senior Member

    May 21, 2017
    266
    131
    10
    Wouldn't worry me if it was 200 lines of code. My script is now 10,000 lines long.