1. 正义羊

    正义羊 MDL Senior Member

    Feb 21, 2016
    260
    160
    10
    @MSMG ,
    According to the original code, the three formats are as follows: 9 or less, more than 9, less than or equal to 99, and greater than 99. However, according to the original code, when I tried to select the source image, when there were more than 9 indexes, ToolKit crashed.
    I made a little change to this part of the code, in ToolKit v13.4 lines 24654~24661:
    from
    Code:
                if "%%b" neq "arm64" (
                    if %%a leq 9 echo.^|   %%a   ^| %%b  ^|%%c>>%ImageInfo%
                    if %%a gtr 9 if %%a lss 99 echo.^|   %%a  ^| %%b  ^|%%c>>%ImageInfo%
                    if %%a gtr 99 echo.^|   %%a ^| %%b  ^|%%c>>%ImageInfo%
                )
                if "%%b" equ "arm64" (
                    if %%a leq 9 echo.^|   %%a   ^| %%b^|%%c>>%ImageInfo%
                    if %%a gtr 9 if %%a lss 99 echo.^|   %%a  ^| %%b^|%%c>>%ImageInfo%
                    if %%a gtr 99 echo.^|   %%a ^| %%b^|%%c>>%ImageInfo%
    to
    Code:
                if "%%b" neq "arm64" (
                    if %%a lss 10 echo.^|   %%a   ^| %%b  ^|%%c>>%ImageInfo%
                    if %%a geq 10 if %%a lss 100 echo.^|   %%a  ^| %%b  ^|%%c>>%ImageInfo%
                    if %%a geq 100 echo.^|   %%a ^| %%b  ^|%%c>>%ImageInfo%
                )
                if "%%b" equ "arm64" (
                    if %%a lss 10 echo.^|   %%a   ^| %%b^|%%c>>%ImageInfo%
                    if %%a geq 10 if %%a lss 100 echo.^|   %%a  ^| %%b^|%%c>>%ImageInfo%
                    if %%a geq 100 echo.^|   %%a ^| %%b^|%%c>>%ImageInfo%
    Why +1 on the number of indexes (%%a) that limit is really just a simple math question.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. inTerActionVRI

    inTerActionVRI MDL Expert

    Sep 23, 2009
    1,770
    3,601
    60
    #25702 inTerActionVRI, Jun 21, 2023
    Last edited: Jun 21, 2023
    Calm down, man! I provisionally made it available, because it wasn't fair that something I did, which was buggy, remains in your way.
    About autounattend.xml corrections were made considering the autounattend he provided.

    About the Support Warning message: about the added color and about where the message will remain displayed...
    We have to wait for the final word from the MSMG.
    After all, this can change according to his ideas.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. Talking about warning message, why it appeared when I imported LTSC 2021 in your current test version?
     
  4. inTerActionVRI

    inTerActionVRI MDL Expert

    Sep 23, 2009
    1,770
    3,601
    60
    #25704 inTerActionVRI, Jun 21, 2023
    Last edited: Jun 21, 2023
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. imlost2

    imlost2 MDL Member

    Aug 5, 2013
    183
    185
    10
    Ventoy can boot any Windows ISO you put on it. My download just contains files that can configure Ventoy's interface to look the way it is pictured in my post as well as give guidance about using MSMG.

    I hope that helps.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. imlost2

    imlost2 MDL Member

    Aug 5, 2013
    183
    185
    10
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  7. Yes, I used Toolkit_TESTING.
    I just entered username with (S) command and applied that using (W). Any other steps like machine name, organization name - I skipped those.
    I'll send my autounattend.xml file tomorrow, since I need to recreate ISO again and don't have enough time for that at the moment.
    (btw, I tested it on LTSC iso, also pls could you check my previous question about Pro/LTSC thing, I need some clarity on that question)
     
  8. inTerActionVRI

    inTerActionVRI MDL Expert

    Sep 23, 2009
    1,770
    3,601
    60
    #25708 inTerActionVRI, Jun 21, 2023
    Last edited: Jun 21, 2023
    For 19044.1288 this shouldn't happen.

    I'll check it out.

    The AutoUnattend.xml is in DVD folder.

    What ISO language did you use there is some Locale language? For example: like Default Language is en-US and Locale is en-IN.
     
    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
    I understood. Translations generate strange intonation.

    And I edited the message before you had replied. Now I edited to translate a part that was missing to translate.

    You haven't stepped on any nerves, no. heheheh Just thought you might have wasted some time. But then when the MSMG makes the final changes, you make your changes.

    The expression "Stay calm" in Brazil is a natural expression. In English "Stay calm" or "Calm down", I already noticed that it sounds incisive. And I don't know how I could say it any other way. Maybe say something like, "don't worry about it now."
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  10. heller390

    heller390 MDL Novice

    Jun 20, 2020
    21
    1
    0
    Which version is better to do an in place update from win 10 pro 19041.6 2004 ?
     
  11. inTerActionVRI

    inTerActionVRI MDL Expert

    Sep 23, 2009
    1,770
    3,601
    60
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  12. inTerActionVRI

    inTerActionVRI MDL Expert

    Sep 23, 2009
    1,770
    3,601
    60
    A line of code is missing, but that doesn't interfere with the script's operation. So it's already fixed. However it didn't just affect the LTSC you mentioned, the message was being displayed for whatever was used.

    I took the opportunity to add information about which SPBuilds are supported based on the Build being read.


    I'm just waiting for your autounattend.xml to be sent, so I can check what's going on.


    Has anyone else had issues with autounattend?
    Can you send me print of the Unattend menu Info?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  13. inTerActionVRI

    inTerActionVRI MDL Expert

    Sep 23, 2009
    1,770
    3,601
    60
    But it's supposed to have <!-- opening and --> closing the comment. so it should not be read when the xml is called.

    In the past the problems were related to settings for components that users removed.

    I removed those settings. And regarding that, everything is working, now the error is another one. It may be related to wrong language detection.

    But I have to wait for the friend to send me his autounattend.

    What is your host's language? Sends a printout of the displayed data that appears in Option F of the Unattended menu. It might give me useful information.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  14. tempdrive1

    tempdrive1 MDL Member

    Aug 29, 2021
    103
    135
    10
    This is how the XML started with the original 13.4:


    <!--*************************************************
    Installation Notes:
    -------------------
    This "Autounattend.xml" file works for both installation modes: Legacy BIOS-based (MBR) and UEFI-based (GPT).
    This method will show the UI (User Interface): in the INDEX (Windows Editions) selection, disk configuration (partition settings) and user account.
    If you need to set preferences for automating disk partitioning, you need to make a Autounattend.xml file for each installation media:
    1) For MBR mode (based on legacy BIOS)
    2) For UEFI-based mode (GPT)
    This is due to the specific differences required in the configuration for each of the partition tables.
    **************************************************-->

    <?xml version="1.0" encoding="utf-8"?>

    <unattend xmlns="urn:schemas-microsoft-com:unattend">



    There is ------------------- (double hyphen) below Installation Notes:, and also, <?xml version="1.0" encoding="utf-8"?> comes only after them.

    <SetupUILanguage>
    <UILanguage>en-US</UILanguage>​
    </SetupUILanguage>
    <SystemLocale>en-US</SystemLocale>
    <UILanguage>en-US</UILanguage>
    <UILanguageFallback>en-US</UILanguageFallback>
    <UserLocale>en-US</UserLocale>

    I guess this is what you needed (copied from the same xml).
    I did not try with this corrected .XML as I actually only fixed it now - I was using some random stuff from the web to make it work back then, but generally I do not like the idea of hardcoded user setup when CloudHostExperience is removed, so I am looking for a workaround to have CloudHostExperience removed, but also make OOBE work - so far without success, but I have been looking into other things during past 2 weeks, so for now it is only on my TODO list.
     
  15. tempdrive1

    tempdrive1 MDL Member

    Aug 29, 2021
    103
    135
    10
    The parsing error from Enluaphelis' screenshot should refer to this kind of content, as I was also getting the error for the first line with this kind of content, and even validators will refer to the same line, so I am confident that these are the issues people are facing.
     
  16. haris_mdlf69

    haris_mdlf69 MDL Addicted

    Oct 23, 2018
    657
    1,235
    30
    I created an autounattend.xml but sadly it works only with 19041.XXXX build even after removing all components, when EP(21H2/22H2) update integrated in base ISO it stuck at blank screen as mentioned by MSMG after username login screen:(
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  17. I did it on 19044.1288 LTSC 2021 as well. Autounattend didn't work. Gonna send my autounattend.xml in a 20 minutes by @inTerActionVRI request.
     
  18. haris_mdlf69

    haris_mdlf69 MDL Addicted

    Oct 23, 2018
    657
    1,235
    30
    Fyi the one I mentioned in my post is made by me via Windows ADK
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  19. inTerActionVRI

    inTerActionVRI MDL Expert

    Sep 23, 2009
    1,770
    3,601
    60
    The "double hyphen" I was thinking you were talking about was the one that ends the comment with the "greater than" character -->. This is correct, you have to end the comment like this.

    I'm going to put spaces between the hyphen and test.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...