1. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,414
    15,627
    210
  2. inTerActionVRI

    inTerActionVRI MDL Expert

    Sep 23, 2009
    1,770
    3,601
    60
    I know this is not the right place to ask. But I already researched and found no answer.

    Does anyone know how to obtain Volume Label from an ISO, via cmd?

    Thanks!
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. ultimate_live

    ultimate_live MDL Expert

    Mar 15, 2011
    1,021
    671
    60
    And about Windows-KB890830-x64-V5.85.exe?
    Can it be integrated?
     
  4. fch1993

    fch1993 MDL Senior Member

    Mar 14, 2020
    431
    350
    10

    another issue is :

    If the SxS folder's .NET Framework 3.5 does not match the windows version. (exp. Use Windows 10 20H2 SxS when mount windows 10 LTSC 2019, but the .NET Framework 3.5 in Packs\NetFX35 is right version)
     
  5. Javac75

    Javac75 MDL Senior Member

    Mar 16, 2015
    251
    360
    10
    Code:
    @Echo Off
    Set "fIso=H:\ISOs\WIN7.SP1.UL.ML.July2020.x64.iso"
    FOR /F "usebackq delims=" %%v IN (`powershell -NonI -NoP "& { $(Mount-DiskImage -ImagePath "%fIso%" -NoDriveLetter -PassThru | Get-Volume).FileSystemLabel }"`) DO set "isoVol=%%v"
    powershell -NonI -NoP -C "DisMount-DiskImage -ImagePath "%fIso%"" >Nul 2>&1
    echo %isoVol%
    pause
    exit
    :D
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,414
    15,627
    210
    #18327 MSMG, Jan 30, 2021
    Last edited: Jan 30, 2021
    (OP)
    No it's not supported.

    You can add the update to the image manually

    - Extract the mrt.exe from the update file and copy it to \Windows\System32 folder
    - Add the below entry to SOFTWARE registry hive

    Code:
    [HKEY_LOCAL_MACHINE\TK_SOFTWARE\Microsoft\RemovalTools\MRT]
    "GUID"="0AAB5944-A7BC-4D17-9A3A-2FAB07286EE9"
    
    Note: The GUID 0AAB5944-A7BC-4D17-9A3A-2FAB07286EE9 is for Jan 2021 but it will change for each month, need to identify it from the update, then will add the update for integration.

     
  7. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,414
    15,627
    210
    Do you think the user will mix up the source OS files from different versions?

     
  8. inTerActionVRI

    inTerActionVRI MDL Expert

    Sep 23, 2009
    1,770
    3,601
    60
    #18330 inTerActionVRI, Jan 30, 2021
    Last edited: Jan 30, 2021
    Yes, I had already thought of something similar, but I wanted something more direct, without mount and unmount. Direct from ISO. And without Powershell. But I believe that I would have no other option but on Linux, which is not the case at the moment.
    In other words, I have to stay with the powershell solution.
    I took advantage of your solution. It's more elegant, hehehe.

    Code:
    @echo OFF
    :FileSystemLabel
    set "ISO=%~dp0ISO"
    echo.
    echo.-------------------------------------------------------------------------------
    echo.####Getting ISO Label Name#####################################################
    echo.-------------------------------------------------------------------------------
    echo.
    set ISOLabel=
    set /p ISOLabel=Enter the ISO Volume Label :
    echo.
    for %%f in (%ISO%\*.iso) do (
       set "ISOsource=%%f"
    )
    echo.%ISOsource%
    
    if not defined ISOLabel (
        FOR /F "tokens=* delims=" %%v IN ('PowerShell -NonI -NoP -Command "(Mount-DiskImage -ImagePath '%ISOsource%' -NoDriveLetter -PassThru | Get-Volume).FileSystemLabel"') do (
           set "ISOLabel=%%v"
       )
       PowerShell -NonI -NoP -Command "DisMount-DiskImage -ImagePath '%ISOsource%'" >nul 2>&1
    )
    echo.%ISOLabel%
    pause
    goto :FileSystemLabel
    
    Is there any way to use:
    Code:
    ('PowerShell -NonI -NoP -Command "(Get-DiskImage -ImagePath '%ISOsource%' | Get-Volume).FileSystemLabel"')
    or
    Code:
    ('PowerShell -NonI -NoP -Command "(Get-Volume -DiskImage '%ISOsource%').FileSystemLabel"')
    to avoid ISO mount and unmount?

    Grateful for the help!
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  9. inTerActionVRI

    inTerActionVRI MDL Expert

    Sep 23, 2009
    1,770
    3,601
    60
    #18331 inTerActionVRI, Jan 30, 2021
    Last edited: Feb 1, 2021
    https://forums.mydigitallife.net/threads/msmg-toolkit.50572/page-793#post-1606110

    Sent an 2021-01-30 updated file in the link above.

    Merged with Toolkit 11.2.

    After MSMG release Fixes:
    Fix for :IntWindowsMixedReality to :IntWMR
    Fix for :: Setting Microsoft .NET Framework 3.5 Feature Pack folder path according to Source Image Architecture
    by @MSMG.

    The ISO folder will only serve to keep only the ISO source. Only one ISO should be left inside that folder.
    When saving, an ISOsaves folder will be created to save the other ISOS changed by you.
    Thus, keeping only one ISO inside the folder, the script acts correctly.

    Added auto ISO Label and FileName:
    Option to select ISO Original source Label thanx to @Javanicus
    Automated ISO Label
    Automated ISO File Name

    ===============================================================================
    MSMG ToolKit - Make a DVD ISO Image
    ===============================================================================

    -------------------------------------------------------------------------------
    ####Starting Building a DVD ISO Image##########################################
    -------------------------------------------------------------------------------
    -------------------------------------------------------------------------------
    ####Getting DVD ISO Image Details##############################################
    -------------------------------------------------------------------------------

    -------------------------------------------------------------------------------
    ####Getting ISO Label Name#####################################################
    -------------------------------------------------------------------------------

    Keep just one ISO file in the <C:\ToolKit\ISO> folder

    [O] Original ISO Source Label
    [A] Auto Label
    [P] Personal Label

    Enter ['O'riginal/'A'uto/'P'ersonal] : A

    ISO Label "W10-v1903-x64-MultiEditions"

    -------------------------------------------------------------------------------
    ####Getting ISO File Name######################################################
    -------------------------------------------------------------------------------

    The new ISO file will be saved in <i:\ISOsaves> folder

    [A] Auto File Name
    [P] Personal File Name

    Enter ['A'uto/'P'ersonal] :

    Merged with Toolkit 11.1.
    The system of multiple selections implemented in:
    Language Integration
    Driver Integration
    DaRT integration
    Games Integration
    Tweaks application is also with multi selection.
    Custom Tweaks application is predefined. You can check the code.
    There are many extra registry tweaks added (they have been there since I started the Custom Toolkit).
    Component Removal

    Now, in the custom Toolkit, the custom pre-defined options that were available have been modified and implemented with PreSets.
    Both PreSets and the use of a personalized list will be read and you will be taken to the remove components menu.
    Thus, you can make your own changes, having the flexibility to check the dependencies through a filter to deal with such prerequisites.

    This way, however, it was released so that you can add or remove the main components without removing the dependencies in the spoiler specified below.
    : RemoveSystemAppsMenu
    Removing WindowsDefender will no longer remove SmartScreen, nor WindowsStore
    and remove SmartScreen also no more, it will remove WindowsStore

    : RemoveWindowsAppsMenu
    removing WindowsStore will still remove StickyNotes

    For users who don't want problems, just apply the filter and take a look at the menu lists to see what has changed.
    Or give Start Removing after the lists appear there is a possibility to go back and change something, if necessary.
    In the custom toolkit your choices will appear on the list screen. You can save and use it in the future with the List Removal system.


    Thnks!
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  10. Javac75

    Javac75 MDL Senior Member

    Mar 16, 2015
    251
    360
    10
    Nice optimized... :cheers:


    Do you mean like this..? :)
    - Check if ISO is already mounted

    Code:
    @Echo Off
    Set "ISOsource=H:\ISOs\anyfile.iso"
    FOR /F "tokens=* delims=" %%v IN ('PowerShell -NonI -NoP -Command "if(!(get-DiskImage -ImagePath "%ISOsource%").Attached) { (Mount-DiskImage -ImagePath '%fIso%' -NoDriveLetter -PassThru | Get-Volume).FileSystemLabel } else { (get-DiskImage -ImagePath "%ISOsource%"|Get-Volume).FileSystemLabel }"') do ( set "ISOLabel=%%v" )
    powershell -NonI -NoP -C "DisMount-DiskImage -ImagePath "%ISOsource%" | Out-Null"
    echo %ISOLabel%
    pause
    exit
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  11. inTerActionVRI

    inTerActionVRI MDL Expert

    Sep 23, 2009
    1,770
    3,601
    60
    No. Not that!

    The way you presented it, there are two possibilities.

    1 the ISO is already mounted and the required data is simply obtained;

    2 the ISO has to be mounted to obtain such data.


    I was wondering if there is a way to extract the data without having to mount the ISO with the commands Get-DiskImage, Get-Volume or both. But I don't think so. Only after the image is mounted.

    Thanks, man!
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  12. Javac75

    Javac75 MDL Senior Member

    Mar 16, 2015
    251
    360
    10
    Yeah... you are right...
    I have looked at some files in the toolkit bin folder and a little research for information on them (7z, oscdimg, dvdburn) to use as needed. But I didn't find it. There is no other way for me except to rely with powershell scripts. :D

    You're wellcome, :)
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  13. haremmon

    haremmon MDL Novice

    Aug 29, 2016
    20
    18
    0
    Hi all - I used toolkit v11.2 to generate my win10 image. Then I ran into this issue when trying to install a windows update on my Win10 20H2 - 19042.572.

    Some updates were not installed
    The following updates were not installed:

    Security Update for Windows (KB4598242)

    Filename:
    windows10.0-kb4598242-x64_725aeed030bc68b2d07096503bd26918ac1fe488.msu from MS catalog.

    Anyone has success or suggestions?

    It installed KB4580419 just fine (windows10.0-kb4580419-x64-ndp48_197efbd77177abe76a587359cea77bda5398c594.msu).
     
  14. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,414
    15,627
    210
    So you used a Win10 20H2 - 19042.572 as source, did you removed the components? if yes then the current support build for removing components is 19042.745

     
  15. Yanta

    Yanta MDL Senior Member

    May 21, 2017
    491
    284
    10
    How do I stop this error being generated?
    Cortana was removed from the image, but all PCs get several of these each day.

    Code:
    The server Microsoft.Windows.Cortana_1.11.6.17763_neutral_neutral_cw5n1h2txyewy!CortanaUI did not register with DCOM within the required timeout.
    
     
  16. kusosaito

    kusosaito MDL Junior Member

    Nov 14, 2018
    59
    6
    0
    @MSMG,
    hi, for some mistake i delete TTS (speech) from image with msmg, i didnt notice how..
    but now even if i install it from settings another software dont see that i have speech engine...
    can you please say if there is way to back it on work system? bc i alredy setup everythig...
    and also how i can add it in my image for future, to not re-do everything from zero..?