1. Tiger-1

    Tiger-1 MDL Guru

    Oct 18, 2014
    8,326
    11,613
    270
    #19621 Tiger-1, Jun 16, 2021
    Last edited: Jun 16, 2021
    @MSMG well finished doing my work using the new and fantastic version of Toolkit 11.6 and for this I also used the new ISO of Windows 11 version Pro en-US x64 (with "only 11 versions inside in ISO" but using my criteria to work with Toolkit for example did not remove anything from the operating system or practically my new Windows is intact in its structure; to be clearer only I used the custom and necessary customizations I applied the modifications made, I did the conversion of install.wim to install.esd this way I got an ISO with only 3.2 GB and finally I should install new Windows 11 this morning remembering that I hope to be lucky with the drivers is all or nothing !!! and after the system installed and working I must use the sfc command to verify there is a more serious problem and from there is that I go into action with what I learned after much study and research to get clearer: I must disable tons of "things" that I think of useless to my view and several modifications that for now it is best not to publish anything until I can check if the system is stable and reliable of course finalizing tomorrow I should give my opinion about it ...
    Edit: This PC does not meet the minimal conditions for the system to be installed so go back to old but reliable W10LTSC 2019 ;):(
     
    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
    Typo:

    Captrue Picker
    to
    Capture Picker
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,414
    15,627
    210
    With the current Win32Calc pack there's no arm64 files for Win32Calc.

    Fixed the .NETFX35 extra condition.

     
  4. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,414
    15,627
    210
    NetFX48 %PackageVersion%.%PackageServicePackBuild% is not same for 14393 and 16299.

    You can reduce it like this

    Code:
    if "%SelectedSourceOS%" equ "w10" (
       if "%ImageBuild%" geq "14393" if "%ImageBuild%" leq "15063" (
          set "NetFX48Pkg=Microsoft-Windows-NetFX48-Package~31bf3856ad364e35~%PackageArchitecture%~~10.0.14393.0.cab"
          set "NetFX48LpPkg=Microsoft-Windows-NetFX48-Package~31bf3856ad364e35~%PackageArchitecture%~%ImageDefaultLanguage%~10.0.14393.0.cab"
       )
    
       if "%ImageBuild%" geq "16299" if "%ImageBuild%" leq "17763" (
          set "NetFX48Pkg=Microsoft-Windows-NetFX48-Package~31bf3856ad364e35~%PackageArchitecture%~~10.0.16299.15.cab"
          set "NetFX48LpPkg=Microsoft-Windows-NetFX48-Package~31bf3856ad364e35~%PackageArchitecture%~%ImageDefaultLanguage%~10.0.16299.15.cab"
       )
    )
    
     
  5. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,414
    15,627
    210
    Thanks for testing, will check with your list of components removed.

     
  6. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,414
    15,627
    210
    Thanks Corrected.

     
  7. rorewe4314

    rorewe4314 MDL Member

    Jun 18, 2020
    107
    22
    10
    Code:
    DisableDriversUpdates
    Reg add "HKLM\TK_SOFTWARE\Policies\Microsoft\Windows\Device Metadata" /v "PreventDeviceMetadataFromNetwork" /t REG_DWORD /d "1" /f >nul
    Reg add "HKLM\TK_SOFTWARE\Policies\Microsoft\Windows\DriverSearching" /v "DontPromptForWindowsUpdate" /t REG_DWORD /d "1" /f >nul
    Reg add "HKLM\TK_SOFTWARE\Policies\Microsoft\Windows\DriverSearching" /v "DontSearchWindowsUpdate" /t REG_DWORD /d "1" /f >nul
    Reg add "HKLM\TK_SOFTWARE\Policies\Microsoft\Windows\DriverSearching" /v "DriverUpdateWizardWuSearchEnabled" /t REG_DWORD /d "0" /f >nul
    Reg add "HKLM\TK_SOFTWARE\Policies\Microsoft\Windows\DriverSearching" /v "SearchOrderConfig" /t REG_DWORD /d "1" /f >nul
    Reg add "HKLM\TK_SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate" /v "ExcludeWUDriversInQualityUpdate" /t REG_DWORD /d "1" /f >nul
    MSMG, Are these settings related to updating Windows (I mean, are drivers downloaded using this method or is there some other method)?
     
  8. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,414
    15,627
    210
    The settings are used to get the device driver info and download driver files from Windows Update.

     
  9. inTerActionVRI

    inTerActionVRI MDL Expert

    Sep 23, 2009
    1,770
    3,601
    60
    No. Not the same, My bad. I thought that as the values are defined there at the beginning of the toolkit it could be done like this.
    So, for this specific pack it won't work because of using the same pack for many builds. Now, yes... I saw this grotesque detail that I let slip, hehehe

    Understood. I was confused by this because in the :IntWin32Calc session there was:
    Code:
    :: Setting Package Index and Architecture
    if "%ImageArchitecture%" equ "x86" set "PackageIndex=1"
    if "%ImageArchitecture%" equ "x64" set "PackageIndex=2"
    if "%ImageArchitecture%" equ "arm64" set "PackageIndex=3"
    
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  10. inTerActionVRI

    inTerActionVRI MDL Expert

    Sep 23, 2009
    1,770
    3,601
    60
    It escapes my knowledge a little. I learned how to deal with bug hunting and code optimization, but with regards to windows related details, I first learned the paths and logic for managing images, so I know more about removal, tweaks and menu customizations.

    About data capture and integration of anything and, properly about the packages, I still have to study a lot, so I only keep what MSMG develops and help suggesting the optimizations if I see something interesting to be done.

    Therefore, we have to wait for the MSMG to comment on it.
     
    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
    #19631 inTerActionVRI, Jun 16, 2021
    Last edited: Jun 16, 2021
    @MSMG,
    For :IntOfficeUWPApps would it be necessary to implement the same improvement that was made in InboxApps?

    from
    *.appxbundle
    to
    *.*xbundle


    edit:
    :IntWindowsSetupMediaUpdates
    for /f "tokens=* delims=" %%a in ('%DISM% /Get-WimInfo /WimFile:%BootWim% /Index:1 ^| findstr /i Default') do ( set ImageDefaultLanguage=%%a )
    set ImageDefaultLanguage=%ImageDefaultLanguage:~1,-11%

    :GetImageIndexInfo
    for /f "tokens=* delims=" %%j in ('%DISM% /Get-ImageInfo /ImageFile:"%~1" /Index:%~2 ^| findstr /i Default') do (set ImageDefaultLanguage=%%j)
    set ImageDefaultLanguage=%ImageDefaultLanguage:~1,-10%

    There are these two definitions for language.
    Which would be correct?

    Or is there some relationship with the specific application?


    In the session :IntWindowsSetupMediaUpdates I believe there is a need to place a condition if "%IsBootImageSelected%" equ "No" or place it directly on the menu option if "%IsBootImageSelected%" equ "Yes" echo. [.......
    Code:
    :IntWindowsSetupMediaUpdates
    
    setlocal
    
    cls
    echo.===============================================================================
    echo.                  MSMG ToolKit - Update Windows Setup Media
    echo.===============================================================================
    echo.
    
    if "%IsBootImageSelected%" equ "No" (
       echo.Windows Setup Boot Image is not selected...
       echo.
       echo.Please Choose Windows Setup Boot Image while selecting Source...
       pause
       goto :IntWHDUpdatesMenu
    )
    
    set IndexNo=
    .
    .
    .
    
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  12. MarvelX7

    MarvelX7 MDL Member

    Jun 1, 2021
    235
    243
    10
    @MSMG
    Is it possible to add acronis boot cd with iso for Win10 duel boot style ¿
    thanks
     
  13. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,414
    15,627
    210
    I do just rename the original cab file to it's internal package name, you can check the hashes.

     
  14. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,414
    15,627
    210
    MS has stopped Office Desktop UWP Apps, in future this feature will be removed from Toolkit.

    :IntWindowsSetupMediaUpdates this is used to get the default image language only from boot.wim to extract the Windows Setup Media updated resource files.

    This function was added at the start before the MS started releasing Windows Setup Media update cab files.

    Where as :GetImageIndexInfo function gets all the parameters of the image

    Yes you can replace it by :GetImageIndexInfo if you don't mind extra execution of commands in this function.

    And Yes it requires the condition to check if the boot.wim is selected or not.

     
  15. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,414
    15,627
    210
    For this you may need to modify the Windows Boot manager to add the Acronis Boot CD entry.

     
  16. MarvelX7

    MarvelX7 MDL Member

    Jun 1, 2021
    235
    243
    10
    more info would be appreciated.
    Thanks for answer.
     
  17. inTerActionVRI

    inTerActionVRI MDL Expert

    Sep 23, 2009
    1,770
    3,601
    60
    @MSMG,

    I wanted to indicate where the code section comes from and the for command that was used so you can better understand my question.
    But I expressed myself poorly earlier.

    So,

    Within these sessions, there is the construction of the "ImageDefaultLanguage" variable.
    Are there any errors in these lines? Or are they related to where the for loop gets the data from?
    in :IntWindowsSetupMediaUpdates
    "set ImageDefaultLanguage=%ImageDefaultLanguage:~1,-11%"

    and in :GetImageIndexInfo
    "set ImageDefaultLanguage=%ImageDefaultLanguage:~1,-10%"

    I was curious about the removal of the 1st character and the final 10 or 11 characters from the variable value.

    Is that why I asked which one was right, or are both correct?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  18. Yanta

    Yanta MDL Senior Member

    May 21, 2017
    491
    284
    10
    I've just discovered that the SafeSearch settings in SystemSettings>Search are broken.
    1809 LTSC using toolkit v10.4 (Because it uses 17763.1 image).

    What did I remove that broke it? What is it's dependency?
     
  19. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,414
    15,627
    210
    Do you want to Acronis boot image to Hard drive (System) or to the Windows Bootable USB drive?

     
  20. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,414
    15,627
    210
    The difference in code is due to this ( set ImageDefaultLanguage=%%a ) and (set ImageDefaultLanguage=%%a).
    See the space after %%a which will add an extra space to the value assigned to ImageDefaultLanguage and that's why "%ImageDefaultLanguage:~1,-11%" is used.

    Ofcourse this can be changed to use (set ImageDefaultLanguage=%%a) and "set ImageDefaultLanguage=%ImageDefaultLanguage:~1,-10%"

    It's just the code hasn't been optimized for this function.