1. graver.x

    graver.x MDL Senior Member

    Jan 18, 2020
    347
    484
    10
    No, it's not necessary for me.
    Thank you!
     
  2. inTerActionVRI

    inTerActionVRI MDL Expert

    Sep 23, 2009
    1,748
    3,575
    60
    Until I understand logic I'll leave it as it is. I'm still confused. For when we do not understand, it seems that we are taking meaningless steps. When I understand I continue.

    Will there be NET6 for W7 and W81? If there is no, I will keep the NET5 options for both.
     
  3. roedel

    roedel MDL Junior Member

    Jun 3, 2010
    81
    57
    0
    #21323 roedel, Nov 12, 2021
    Last edited: Nov 12, 2021
    Thanks for the new version @MSMG

    I think I´ve found a "bug":

    In this menu

    upload_2021-11-12_18-23-3.png


    3 give me

    upload_2021-11-12_18-23-27.png


    5 give me also

    upload_2021-11-12_18-23-46.png

    Source OS is Win11 .258 german

    Or does the new version don´t work with .258? Only with .1 and .318?
     
  4. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,414
    15,608
    210
    #21324 MSMG, Nov 12, 2021
    Last edited: Nov 12, 2021
    (OP)
    For example

    - Import this key to registry

    Code:
    [HKEY_LOCAL_MACHINE\SOFTWARE\dotnet\Setup\InstalledVersions\x64\sharedhost]
    "Path"="C:\Program Files\dotnet\"
    
    - Open the registry editor and navigate to the above key.

    - Double click on Path sub value.

    - Change C:\Program Files to %Program Files% and click Ok.

    - Right click on sharedhost key in the left pane and choose export to file

    - Now this becomes the new reg settings.

    Code:
    [HKEY_LOCAL_MACHINE\SOFTWARE\dotnet\Setup\InstalledVersions\x64\sharedhost]
    "Path"="\"%Program Files%\\dotnet\\\""
    
    Here Path is of type REG_SZ, suppose if it's REG_EXPAND_SZ then the exported reg will show like this

    Code:
    [HKEY_LOCAL_MACHINE\SOFTWARE\dotnet\Setup\InstalledVersions\x64\sharedhost]
    "Path"=hex(2):22,00,25,00,50,00,72,00,6f,00,67,00,72,00,61,00,6d,00,20,\
      00,46,00,69,00,6c,00,65,00,73,00,25,00,5c,00,64,00,6f,00,74,00,6e,00,65,00,\
      74,00,5c,00,22,00,00,00
    

    Yes there will be updated NET6 and PowerShell 7 packs for W7 and W81, just need some time to create it as I need to prepare the ISO with prerequisite updates for it to install and create the packs.

     
  5. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,414
    15,608
    210
  6. inTerActionVRI

    inTerActionVRI MDL Expert

    Sep 23, 2009
    1,748
    3,575
    60
    Yes, this I know the path between "\ ..."\. If a command is not fully added with the path and flags between "\ ..."\, this gives many problems. Importing some paths of this type to run through the context menu with the git was where I suffered to learn.

    I had never noticed this difference. I did not know that REG_EXPAND_SZ could be a path between "\ ..."\ in hex.
     
  7. Windir7812

    Windir7812 MDL Novice

    Sep 1, 2016
    2
    0
    0
    MSMG,Can you please tell me what caused the OOBEKEYBOARD OOBEREGION error when installing Windows 11 22000.258 RU? I removed all components except
    InternetExplorer
    WindowsMediaPlayer
    WindowsFirewall
    AADBrokerPlugin
    AccountsControl
    XboxIdentityProvider
    XboxGameCallableUI
    StorePurchaseApp
    WindowsStoreApp
    WindowsStoreClient

    There components were no errors when deleting
    Toolkit 11.9 is located at C:/Toolkit
     
  8. inTerActionVRI

    inTerActionVRI MDL Expert

    Sep 23, 2009
    1,748
    3,575
    60
    I had not even thought of the personalized packs, I thought that official development and compatibility had been ceased with W7 and W81, that's why I had asked.
    So at the moment, provisionally, I will only put the NET5 packs for W7 and W81 inside the NET6 folder, so that the script runs.
     
  9. inTerActionVRI

    inTerActionVRI MDL Expert

    Sep 23, 2009
    1,748
    3,575
    60
    You have to keep all the needed for oobe.
    You can see this in the components descriptions in the all Categorys of the Remove menus.
     
  10. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,414
    15,608
    210
    Speech Recognition

     
  11. Feartamixg

    Feartamixg MDL Addicted

    May 15, 2016
    783
    629
    30
    Done testing and I don't think the Win32Calc is being integrated into x86 images. Does not show in Start menu or when I press the Calculator key on my keyboard.

    Shall rebuild with ToolKit again to ensure this is not just user error on my part.
     
  12. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,414
    15,608
    210
    If it's Windows 11 then the shortcut will be available inside Windows Tools.

     
  13. Feartamixg

    Feartamixg MDL Addicted

    May 15, 2016
    783
    629
    30
    No this is with Windows 10.
     
  14. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,414
    15,608
    210
    Then will check with the 32-bit, I did tested only 64-bit.

     
  15. graver.x

    graver.x MDL Senior Member

    Jan 18, 2020
    347
    484
    10
  16. Feartamixg

    Feartamixg MDL Addicted

    May 15, 2016
    783
    629
    30
    Could just be a simple user error However I did also search for Win32Calc.exe and was able to find in 64-bit, but not in 32-bit.
     
  17. inTerActionVRI

    inTerActionVRI MDL Expert

    Sep 23, 2009
    1,748
    3,575
    60
    #21337 inTerActionVRI, Nov 12, 2021
    Last edited: Nov 12, 2021
    @MSMG,
    change from
    ARM64-Bit
    to
    arm64

    from
    Code:
    if errorlevel 2 (
       reg delete "HKCU\Console\%%SystemRoot%%_system32_cmd.exe" /f >nul
    
       color 00
       endlocal EnableExtensions EnableDelayedExpansion
    
       exit
    )
    
    to
    Code:
    if errorlevel 2 (
       reg delete "HKCU\Console\%%SystemRoot%%_system32_cmd.exe" /f >nul
    
       color 00
       endlocal
    
       exit
    )
    
    Remove
    Code:
    set HostBuildBranch=
    
    and
    Code:
    for /f "tokens=3 delims= " %%j in ('reg query "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion" /v "BuildBranch" ^| find "REG_SZ"') do (set HostBuildBranch=%%j)
    
    Here, the geq 1903 option will always be performed, as all buids will be above 10000.
    from
    Code:
    if "%HostBuild%" leq "1809" (
       for /f "tokens=3 delims= " %%k in ('reg query "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion" /v "ReleaseId" ^| find "REG_SZ"') do (set HostDisplayVersion=%%k)
    )
    if "%HostBuild%" geq "1903" (
       for /f "tokens=3 delims= " %%k in ('reg query "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion" /v "DisplayVersion" ^| find "REG_SZ"') do (set HostDisplayVersion=%%k)
    )
    
    shoud be...
    to
    Code:
    if "%HostBuild%" lss "19041" (
      for /f "tokens=3 delims= " %%k in ('reg query "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion" /v "ReleaseId" ^| find "REG_SZ"') do (set HostDisplayVersion=%%k)
    )
    if "%HostBuild%" geq "19041" (
      for /f "tokens=3 delims= " %%k in ('reg query "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion" /v "DisplayVersion" ^| find "REG_SZ"') do (set HostDisplayVersion=%%k)
    )
    
    or optimize to
    Code:
    for /f "tokens=3 delims= " %%j in ('reg query "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion" /f "ReleaseId" ^| find "REG_SZ"') do (set /A HostReleaseVersion=%%j & if "%%j" lss "2004" set /A HostDisplayVersion=%%j)
    if "%HostDisplayVersion%" equ "" for /f "tokens=3 delims= " %%k in ('reg query "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion" /v "DisplayVersion" ^| find "REG_SZ"') do (set HostDisplayVersion=%HostReleaseVersion% %%k)
    

    and optimize
    from
    Code:
    for /f "tokens=3*" %%p in ('reg query "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion" /v "ProductName" ^| find "ProductName"') do (
       if "%HostBuild%" lss "21996" (
           set "HostOSName=%%p %%q"
       ) else (
           set "HostOSName=%%p 11"
       )
    )
    for /f "tokens=3 delims= " %%r in ('reg query "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion" /v "UBR" ^| find "REG_DWORD"') do (set /a HostServicePackBuild=%%r)
    for /f "tokens=4-5 delims=. " %%s in ('ver 2^>nul') do set "HostVersion=%%s.%%t"
    
    to
    Code:
    for /f "tokens=7 delims=[]. " %%r in ('ver 2^>nul') do (set /A HostServicePackBuild=%%r)
    for /f "tokens=4-5 delims=[]. " %%s in ('ver 2^>nul') do (set "HostVersion=%%s.%%t" & set "HostOSName=Windows %%s %HostEdition% %HostInstallationType%" & if "%HostBuild%" geq "21996" set "HostOSName=!HostOSName:10=11!")
    

    Here, just add /11 in the echo commands.
    from
    Code:
    :: Checking whether the HOST OS is Windows 7 and selected Source OS is Windows 10/11
    if "%HostVersion%" equ "6.1" if "%SelectedSourceOS%" neq "w7" if "%SelectedSourceOS%" neq "w81" (
       echo.
       echo.ToolKit cannot service Windows 10 Source OS on Windows 7 HOST OS...
       echo.
       echo.ToolKit requires a Windows 8.1/10 HOST OS for servicing Windows 10 Source OS...
       goto :Stop
    )
    
    to
    Code:
    :: Checking whether the HOST OS is Windows 7 and selected Source OS is Windows 10/11
    if "%HostVersion%" equ "6.1" if "%SelectedSourceOS%" neq "w7" if "%SelectedSourceOS%" neq "w81" (
       echo.
       echo.ToolKit cannot service Windows 10/11 Source OS on Windows 7 HOST OS...
       echo.
       echo.ToolKit requires a Windows 8.1/10/11 HOST OS for servicing Windows 10 Source OS...
       goto :Stop
    )
    
     
  18. Feartamixg

    Feartamixg MDL Addicted

    May 15, 2016
    783
    629
    30
    Finished my test and it was indeed a user error on my part! Sorry to bother you!
     
  19. Feartamixg

    Feartamixg MDL Addicted

    May 15, 2016
    783
    629
    30
    #21339 Feartamixg, Nov 12, 2021
    Last edited: Nov 12, 2021

    Attached Files:

  20. Great_Gwyn

    Great_Gwyn MDL Novice

    Jun 4, 2020
    13
    6
    0
    Thanks for the new version. This tool is simply amazing.

    On the other hand, is there any reason why .NET 3.5 is not available in the Packs folder?

    Thanks beforehand.