1. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,411
    15,487
    210
    Ok will test with the Enterprise N edition.

     
  2. ingviowarr

    ingviowarr MDL Senior Member

    Dec 14, 2009
    345
    362
    10
  3. Mayjoko

    Mayjoko MDL Junior Member

    Oct 15, 2015
    59
    29
    0
    #18064 Mayjoko, Jan 5, 2021
    Last edited: Jan 5, 2021
    I mentioned Microsoft Edge Chromium integration causing pending.xml for anyone doing troubleshooting, if I recall, the readme doesn't mention this, only that .Net 3.5 should be applied after cleaning and not before due to the cleanup error message for pending.xml which is normal. Just providing informat. (LTSC 2019 16377.1637 x64)

    Also, I have found the problem causing DISM (dism /online /cleanup-image /scanhealth & /restorehealth. Error: 2. The system cannot find the file specified., it happens when I add Microsoft Visual C++ Runtime packages on LTSC 2019. Even on the base image with no changes. I've been trying to figure it out for a week+. I have not tested Powershell 7 integration, but it's probably fine.

    Thank you for your hard work MSMG, hopefully this saves you or someone else some time troubleshooting. I cannot get the logs from the VM, sorry.
     
  4. Javac75

    Javac75 MDL Junior Member

    Mar 16, 2015
    89
    63
    0
    #18066 Javac75, Jan 5, 2021
    Last edited: Jan 5, 2021
    Dear @MSMG,

    I created a special script to install fonts into the image.
    This script is not mine, I collected it from various existing sites and adapted it to suit the needs of installing fonts.

    Put custom Fonts folder to toolkit\Custom\Files\
    Put AddOffFonts.ps1 to Bin folder.

    Run from batch file (Toolkit.cmd - :IntCustomFiles)

    Code:
    set "CustomFonts=%CustomFiles%\Fonts"
    if exist "%CustomFonts%\*.ttf" (
    call :MountImageRegistry "%InstallMount%\%%i"
    PowerShell -nop -c "%Bin%\AddOffFonts.ps1 -mountPath %InstallMount%\%%i\Windows\Fonts -fontsPath %CustomFonts%"
    call :UnMountImageRegistry
    )
    
    Successful when applied to Win10 images 19041 and 17763 builds. I've tried it.

    Please feel free to use it or not for more completing your great project.

    Enjoy.

    Edit:
    Add load and unload registry command.

    Edit 2:
    Forget to commenting the $fExist.Close() line.
     

    Attached Files:

  5. Robotnik247

    Robotnik247 MDL Junior Member

    Nov 21, 2012
    83
    12
    0
    Silly question but does .NET 5 cover 3.5 as well?
     
  6. ingviowarr

    ingviowarr MDL Senior Member

    Dec 14, 2009
    345
    362
    10
    Nope. This is not about "components" or removing parts using MSMG or whatever. This is about M$ bad design.
    M$ had a several attempts to fix NCSI bugs and "yellow trianlge" with updates, but it still working weird for many people.

    Just reconfigure your NCSI - this fix their bad way of working, plus it will become fast and safe.
     
  7. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,411
    15,487
    210
    Will add the info in readme.txt regarding Edge Chromium integration order.

    Microsoft Visual C++ Runtime packages aren't part of the image then why it's giving error with /cleanup-image /scanhealth, need to check if it is replacing any file in the image.

     
  8. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,411
    15,487
    210
    Will it registers the fonts in the registry for offline images or just copies the fonts to the <Windows\Fonts> folder?

     
  9. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,411
    15,487
    210
    Need to check

     
  10. Javac75

    Javac75 MDL Junior Member

    Mar 16, 2015
    89
    63
    0
    Yes. The fonts will registered and copied to mountImg\windows\fonts.
     
  11. Zanza-kun

    Zanza-kun MDL Junior Member

    May 28, 2012
    87
    15
    0
    I don't have a yellow triangle, I just can't connect to the address from my browser (other adress works), I'm already using Mozilla's NCSI. At first I thought it came from KMS VL but it's not that.
     
  12. olris

    olris MDL Novice

    Mar 9, 2019
    22
    5
    0
  13. xCyBx

    xCyBx MDL Senior Member

    Aug 6, 2018
    316
    604
    10
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  14. olris

    olris MDL Novice

    Mar 9, 2019
    22
    5
    0
  15. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,411
    15,487
    210