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
    Think the updated image version when the CU is integrated is not getting verified in the Language Pack Integration code.

    Will check the script.


     
  2. JLT2000

    JLT2000 MDL Novice

    Nov 3, 2020
    36
    14
    0
    #18682 JLT2000, Mar 4, 2021
    Last edited: Mar 4, 2021
    OK.

    Setup works with both LP, but Windows wont install correctly, OS is failing when installing updates

    Is it possible to use component store cleanup, without resetbase ? if i do not enable resetbase [M] option

    Cleanup resetbase does not all the time get 100%, this happens only on boot.wim an winre.wim, install.wim always gets 100% strange

    But at least, it is Sfc error free
     
  3. Iftekar Khan

    Iftekar Khan MDL Novice

    Jan 12, 2019
    14
    7
    0
    Awaiting a new version with all the bugs fixed... :)
     
  4. forslaey

    forslaey MDL Novice

    Mar 4, 2021
    7
    5
    0
    MSMG ToolKit - Remove System Components Menu

    A/B swap the values, thanks
     
  5. ceo54

    ceo54 MDL Senior Member

    Aug 13, 2015
    471
    105
    10
    #18685 ceo54, Mar 4, 2021
    Last edited: Mar 4, 2021
    @MSMG, I replaced the command from the toolkit v9.8 for the Oscdimg and it appears to be working now. MSMG bud, thank you for making this tool on my request and changing it to my liking. You're the best!

    Leaving the code here for anyone who might find it useful.

    Code:
    @echo off
    color 1f
    title Bootable ISO Maker
    
    setlocal EnableExtensions EnableDelayedExpansion
    
    :: Getting HOST architecture
    If exist "%WinDir%\SysWOW64" set "Oscdimg=%~dp0oscdimg64.exe"
    If not exist "%WinDir%\SysWOW64" set "Oscdimg=%~dp0oscdimg.exe"
    
    set "DVD=%~dp0DVD"
    set "BIOSBoot=%DVD%\boot\etfsboot.com"
    set "UEFIBoot=%DVD%\efi\microsoft\boot\efisys.bin"
    set "ISO=%~dp0ISO"
    set ISOLabel=
    set ISOFileName=
    
    cls
    echo.===============================================================================
    echo.                        Make a Bootable DVD ISO Image
    echo.===============================================================================
    echo.
    echo.-------------------------------------------------------------------------------
    echo.####Starting Building a DVD ISO Image##########################################
    echo.-------------------------------------------------------------------------------
    echo.
    :: Getting ISO Label Name
    set /p ISOLabel=Enter ISO Volume Label :
    echo.
    
    :: Getting ISO Filename
    set /p ISOFileName=Enter ISO Filename :
    echo.
    
    :: Building a Bootable DVD ISO Image for Booting with BIOS/UEFI Systems
    echo.-------------------------------------------------------------------------------
    echo.####Building a DVD ISO Image###################################################
    echo.-------------------------------------------------------------------------------
    if "%ISOLabel%" equ "" (
        if exist "%UEFIBoot%" "%Oscdimg%" -bootdata:2#p0,e,b"%BIOSBoot%"#pEF,e,b"%UEFIBoot%" -o -h -m -u2 -udfver102 "%DVD%" "%ISO%\%ISOFileName%.iso"
        if not exist "%UEFIBoot%" "%Oscdimg%" -bootdata:1#p0,e,b"%BIOSBoot%" -o -h -m -u2 -udfver102 "%DVD%" "%ISO%\%ISOFileName%.iso"
    )
    
    if "%ISOLabel%" neq "" (
        if exist "%UEFIBoot%" "%Oscdimg%" -bootdata:2#p0,e,b"%BIOSBoot%"#pEF,e,b"%UEFIBoot%" -o -h -m -u2 -udfver102 -l"%ISOLabel%" "%DVD%" "%ISO%\%ISOFileName%.iso"
        if not exist "%UEFIBoot%" "%Oscdimg%" -bootdata:1#p0,e,b"%BIOSBoot%" -o -h -m -u2 -udfver102 -l"%ISOLabel%" "%DVD%" "%ISO%\%ISOFileName%.iso"
    )
    echo.
    echo.-------------------------------------------------------------------------------
    echo.####Finished Building a DVD ISO Image##########################################
    echo.-------------------------------------------------------------------------------
    echo.
    echo.===============================================================================
    echo.
    pause
    
    set ISOSource=
    set ISOLabel=
    set ISOFileName=
    
    color 00
    endlocal EnableExtensions EnableDelayedExpansion
    
    exit
     
  6. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    5,430
    11,396
    180
    Will check with 1607 image and report back.

    Yes you can use component store cleanup, without resetbase and it's normal for progress bar not showing 100% every time.

    Only for v2004 and above the cleanup is causing the ghost SFC error.

     
  7. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    5,430
    11,396
    180
    Check the download link for Toolkit.cmd, copy it to the current Toolkit version and replace it.

     
  8. rorewe4314

    rorewe4314 MDL Junior Member

    Jun 18, 2020
    70
    17
    0
    #18688 rorewe4314, Mar 5, 2021
    Last edited: Mar 5, 2021

    Do I need to mount the image first? If so, how can I list the packages in the txt file?


    In general, what should the entire script look like?

    p.s
    Do not quite understand!
     
  9. Rr0

    Rr0 MDL Member

    Jul 8, 2017
    151
    13
    10
    Is Feature update to Windows 10, version 21H1 (19043.844) amd64 from UUP dump supported?
    I see it can remove components but when I tried integrating f.i. DirectX9c applied something to the image and returned lines of errors about the register. I accidentally closed it before coping full text. It was something like can't write to the registry, it's in use by another process, something like this. The same with dotnet5.
    But besides that, it works fine. Enabling WSL kinda works, doesn't install Linux kernel. TFTP works. I don't remember what else but it mostly works.

    To remove everything but keep
    Sticky Notes
    Onenote
    Microsoft Store
    everything related to games and Xbox
    weather
    clock, stopper, countdown (alarms?)
    photos app, but not exactly - I need this feature to trim a video

    Could you advise what's 99% 95% 90% 80% safe to remove?
     
  10. forslaey

    forslaey MDL Novice

    Mar 4, 2021
    7
    5
    0
    With the new version of toolkit.cmd on 03/04/2021, when integrating updates from 804 to 844, I also observed errors when writing to the registry. "Invalid section name".
     
  11. geese howard

    geese howard MDL Junior Member

    Aug 18, 2009
    75
    12
    0
  12. Tiger-1

    Tiger-1 MDL Guru

    Oct 18, 2014
    6,208
    7,533
    210
    Hello MSMG well I have had a problem that irritates me a lot because I still couldn't solve it see then: on my second disc I have a file called D: \ found.000 in which I can't remove it by any chance (access denied) Do you have any suggestion? thank you in advance
     
  13. geese howard

    geese howard MDL Junior Member

    Aug 18, 2009
    75
    12
    0
    The file named "found.000" is from chkdsk, it puts these folders and files inside the folder when it finds corrupted fragments on the partition, instead of deleting them it puts them here.

    Windows lists .CHK files as “recovered file fragments”. A single .CHK file can actually contain one or more complete files, fragments of a single file, or fragments of many files. unfortunately you usually won’t be able to recover much data from .CHK files.

    The reason you are even seeing it is because you have "show hidden files" enabled in windows explorer. They usually aren't visable to the user.

    Try manually deleting them from the command prompt with administrator privileges. Or you could just leave them, if the are small sized it isn't going to mess with anything.

    If you keep on seeing new files created here, it could be a sign your hdd is starting to fail. It wouldn't be a bad idea to check it's smart status.
     
  14. Tiger-1

    Tiger-1 MDL Guru

    Oct 18, 2014
    6,208
    7,533
    210
    ok I already know almost the whole process to remove this annoying file but I believe that there is a missing command in cmd that I have not yet discovered; and as for the health of my 2nd disc I have already tested it with the appropriate program and it is 100% so I must wait for our master and see what he says anyway thanks for your attention :)
     
  15. RaiyvaN

    RaiyvaN MDL Senior Member

    Sep 23, 2009
    302
    347
    10
    @Tiger-1 ,

    try to use this script.
    with adm privileges

    The script will find it on all drives and ask if you want to remove it.
     

    Attached Files:

  16. Mahmoud Makhamra

    Mahmoud Makhamra MDL Novice

    Jan 13, 2021
    2
    0
    0
    Thank you for this great tool
    But I have a question: how can I make (edge) the default browser through the tool in the Windows version (10 ltsc)
     
  17. Tiger-1

    Tiger-1 MDL Guru

    Oct 18, 2014
    6,208
    7,533
    210
    #18698 Tiger-1, Mar 6, 2021
    Last edited: Mar 7, 2021
    Hello RaiyvaN thank you very much for your help, I really appreciate your attitude but I still have the same problem "access denied" I tried everything I used takeownership in the file
    I opened the property on the advanced security tab there, I also took over with full control over the file but ... the damn thing WILL NOT let me remove this s**t ;):mad:
    EDIT: see this
    EDIT 2: Oh s**t! after installing NSUDO v8.0.1 Update 1 as Administrator and (trying to) open the unfortunate file D: \ found.000 the file just doesn't open with any of the settings what may be happening? :eek:
     

    Attached Files:

    • chk.JPG
      chk.JPG
      File size:
      37.4 KB
      Views:
      19
  18. geese howard

    geese howard MDL Junior Member

    Aug 18, 2009
    75
    12
    0
    Boot in command prompt and try to delete
     
  19. Enthousiast

    Enthousiast MDL Tester

    Oct 30, 2009
    35,561
    59,624
    450
    #18700 Enthousiast, Mar 6, 2021
    Last edited: Mar 6, 2021
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...