1. evildjkay

    evildjkay MDL Novice

    Sep 8, 2018
    16
    20
    0
  2. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,414
    15,627
    210
    You can either use the UUP Dump site to get the required ISO or if you have the original base ISO then you can use the DISM or the ToolKit to update the image.

    I did manually integrate the updates to original base ISO 19041.1 and used the unreleased upcoming build of Toolkit to remove the components.

    The new version of Toolkit will be released soon.
     
  3. Supern00b

    Supern00b MDL Addicted

    Dec 30, 2010
    768
    560
    30
    That's awesome!
    It means that we can actually prepare Windows 10 22H2 with the new toolkit.

    Cheers.
     
  4. Presentation Package on 1904x.2006 is not removed via dism method even offline or current installed os.

    i havent seen any toolkit commandline switch for this package removal too.

    Onlly this package is left now to be a complete barebone os 1904x.2006 build without any negative results.

    @MSMG your toolkit is awesome / more then awesome if studied in depth for package removal via both tookithelper & dism method.
    NTLITE only win just with only one + point because of uneeded drivers removal either offline or online or else MSMG can prepare the best of the best offline image for direct deployment.

    Thanks a lot to you once again. Awesome job.
     
  5. inTerActionVRI

    inTerActionVRI MDL Expert

    Sep 23, 2009
    1,770
    3,601
    60
    #23685 inTerActionVRI, Sep 17, 2022
    Last edited: Oct 5, 2022
    https://forums.mydigitallife.net/threads/msmg-toolkit.50572/page-793#post-1606110

    Sent an 2022-09-22 New CustomToolkit updated file attached in the link above and in my signature.

    VirtualCreate_ImageIndexEditions.zip 2022-09-18 (updated with 2022-09-18 @abbodi1406 "uup-converter-wimlib-83")
    Download: in my signature.
    Note: To work with Virtual Create, it is not necessary to extract the file. Just save it to the Toolkit folder.

    Improved Performance when start Make ISO option and after Removing Unwanted Indexes. Optimized the code to avoid repeating the same process some times. Thnks to @bala1 of reports on poor performance when entering the Make ISO option.
    Fixed "Remove Windows Components Using Package List Menu" options not working. Thnks to @bala1
    Brunch ID fix for 20348 and added WHD auto download support for new 20349 build. And new 2022-09-18 VirtualCreate_ImageIndexEditions.zip update.
    Just minor fix, thanks to @GeorgePirkl for testing.
    Merged with the new Toolkit 12.6 [2022-09-01]


    Fixed a problem in Customizing Path to Working Folder for Servicing Image.

    Corrected problems with server versions for use with component removal menus.
    Note 1: During the application only "InstallationType" equal to "Server" will be applied, "Server Core" will be ignored.
    Note 2: For removal via Dism Package List, all Editions are supported.


    * In automatic updates mode was still occurring the repetition of the updates download process, now this bug is corrected.

    Automatic update for Server or Client. When a "Feature Update" and a "Cumulative Update" have the same SSU and the same LCU was all right.
    But when a most current "Cumulative Update" is released, SSU and LCU were 2 versions inside the folder.

    Added options for download choices
    Code:
    ===============================================================================
                         Start Downloading UUP Dump Updates...
    ===============================================================================
    
    ===============================================================================
      Download Updates for Specific Build
    ===============================================================================
    
         [1]   "19041"
         [2]   "19042"
         [3]   "19043"
         [4]   "19044"
         [5]   "19045"
    
    ===============================================================================
    
    Enter Your Choice : 4
    
    UUPDump_Build       : "19044"
    
    
    ===============================================================================
      Getting Build Info Data from UUP Dump...
    ===============================================================================
    
    09/17 00:44:19 [NOTICE] Downloading 1 item(s)
    [#c8ff39 0B/0B CN:1 DL:0B]
    09/17 00:44:22 [NOTICE] Download complete: B:/Toolkit/WHD/aria2_19044_BuildData.txt
    
    Download Results:
    gid   |stat|avg speed  |path/URI
    ======+====+===========+=======================================================
    c8ff39|OK  |    17KiB/s|B:/Toolkit/WHD/aria2_19044_BuildData.txt
    
    Status Legend:
    (OK):download completed.
    
    
    ===============================================================================
      Select "Service Pack Build" you need to download.
    ===============================================================================
    
        [  1]   "2075"
        [  2]   "2006"
        [  3]   "1949"
        [  4]   "1947"
        [  5]   "1889"
        [  6]   "1865"
        [  7]   "1862"
        [  8]   "1826"
        [  9]   "1806"
        [ 10]   "1766"
        [ 11]   "1741"
        [ 12]   "1739"
    
    
    ===============================================================================
    
    Enter Your Choice : 1
    
    Chosen SPBuild      : "2075"
    
    
    ===============================================================================
      Getting "All Info" for downloading Updates...
    ===============================================================================
    
    UUPDump_SPBuild     : "2075"
    UpdateOnly_ID       : "a8eaeb9e-6de2-454c-8022-5b3fb5c8fce8"
    
    
    ===============================================================================
    Retrieving aria2 script for Windows 10 Feature Update ID...
    ===============================================================================
    .
    .
    .
    
    If you have 19041.1 mounted, and select 19044, it will be updated to 19044, not to 19045. It was very automatic and I believe it did not meet everyone.

    After that, a list of the last 12 "Service Pack Build" is displayed on UUP Dump.
    NOTE: For 19045 there are only about 6 so far.

    This has been corrected by deleting only the obsolete SSU and LCU.



    Corrected many small details about integration. Many components should ignore integration when "Installation Type" is "Server Core", so this has been corrected.
    Note: These are problems that have been generated in customizing Custom Toolkit over the time I have been doing this work.


    Several improvements on below code blocks
    Code:
    :Debug
    :BranchID
    :GetImageIndexNo
    :GetImageIndexInfo
    :UnMountImageRegistry
    :RemoveFile
    :RemoveFolder
    :GettingVariableSettingValues
    :StoringVariableSettingValues
    
    Minor improvements on below code blocks. Most of them for servicing LTSC, Server and Ignore Server Core.
    Code:
    :SelectWindowsComponentsMenu
    :RemoveInternetMenu
    :RemoveSystemAppsMenu
    :RemoveComponentsListMenu
    
    Minor fixes
    Code:
    :IntUAP
    :IntInboxApps
    

    Optimization of :IntCustomFeaturesMenu code block
    An analysis of the conditions allowed the possibility of reducing the code block, from 489 to 318 lines.

    Optimization of :Startintegration code block
    The code of removal of temporary remnants of skins integration was improved.

    Optimization of :Removemenu code block
    Automatic menu optimization generated via Toolkithelper with the help of member @Bira.
    A refactor that allowed a reduction in the code block, from 704 lines to 325 lines.

    The UUPDump download code based on the 19045 String make an ISO with some problems that made me suspicious of instability.

    So, I decided to return the search and download by String 19044, as it is stable, and when changing to 19045 were also generated problems with download of the updates to LTSC. This has been corrected predicting that I will put it to search for 19045 again. Then for LTSC the downloads will remain being made based on 19044.

    Fixed a bug that made the update files download to be performed 2 times.
    And some code optimization.
    Added Option to integrate Edge WebView2 MSMG TPK package for w7, w81 and w10.
    Added Support for servicing 19045 build and 19041 to download 19045 updates from UUPDump.
    Fixed minor bug of ISO name for Generating ISO. Thnks to @bala1 for testing.

    Merged with Toolkit_v12.5 [2022-07-20]

    Added a Custom Tweak option for Windows 8.1 and 10. "Set Taskbar to Minimum Size and Small Icons"

    Improved ISO nomenclature system and corrected a problem reported by member @bala1, which affected ISO's name customization by using Target Menu -> Make ISO Option.

    Several Minor Fixes.
    Made several aesthetic changes. The main ones, in the inductification of loops and in the Target Menu. Suggestions of the member @bala1.
    from:
    Code:
    if %%i leq 9 echo.===========================[install.wim, Index :  %%i]===========================
    if %%i gtr 9 echo.===========================[install.wim, Index : %%i]===========================
    
    to:
    Code:
    call :DisplayIndexNumberEdition %%i, "!ImageEdition%%i!"
    
    Code:
    ::-------------------------------------------------------------------------------------------
    :: Function to display Index Number and Edition
    :: Input Parameters [ %~1 : Image Index No, %~2 : Index Image Edition ]
    ::-------------------------------------------------------------------------------------------
    :DisplayIndexNumberEdition
    echo.
    echo.
    echo.===============================================================================
    if %~1 leq 9 echo.            [install.wim, Index :  %~1 - Edition : %~2]
    if %~1 gtr 9 echo.            [install.wim, Index : %~1 - Edition : %~2]
    echo.===============================================================================
    echo.
    
    goto :EOF
    ::-------------------------------------------------------------------------------------------
    
    GenericStart is the default Script Start, but a new method to start with 2 clicks has been added. Let's see if the denied access problems will be part of the past.

    Added an option within the "WHD Updates Menu" to download and put Aria2C in the Toolkit Bin folder that will download the UUP Dump updates, to the build that is being serviced, directly to the folder of this build, in the Toolkit structure.
    NOTE: The code is conditioned to avoid the updates described in the UUP Dump as "Preview".

    Since the integration of SSU, LCU or CU and Enablement in the Core* Editions prior to 19041 no longer works, I put conditions to ignore integration in these indexes.

    Merged with Toolkit_v12.4 [2022-06-29]

    1. Added an external ".\Bin\EnvironmentPath.zip" package with Script file to config Working Folder (it will auto extract one time on Bin folder).
    You can customize your Working Folder by editing the "EnvironmentPath.cmd".
    The current Custom Toolkit Working Folder is "C:\TK\".

    2. Enable/Disable Features now has separate menus and lists options.


    Thnks!

    Edited 2022-09-17: Minor fix thnks to @GeorgePirkl for testing.
    Edited 2022-09-18: Brunch ID fix for 20348 and added WHD auto download support for new 20349 build. And new 2022-09-18 VirtualCreate_ImageIndexEditions.zip update.
    Edited 2022-09-19: Another fix, thnks to @bala1.
    Edited 2022-09-22: Improved performance.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. acer-5100

    acer-5100 MDL Guru

    Dec 8, 2018
    4,001
    2,969
    150
    @MSMG

    I forgot to mention that the nsudo bundled with recent toolkits doesn't work for me, to say better start.cmd fails using the bundled nsudo (which works if I doublecklick on it)

    I went on my old toolkit folder (v11.7) to grab the nsudo there, and I noticed that I already replaced the bundled nsudo (8,2) with nsudo 8.0.0.0 I normally use.

    So the problem is not new although I forgot about it.

    Whatever... toolkit v12.6 works as expected using nsudo 8.0.0.0.
     
  7. shhnedo

    shhnedo MDL Guru

    Mar 20, 2011
    2,095
    2,868
    90
    @acer-5100 I started Nsudo manually, pointed it to the toolkit.cmd and it launched it as per usual, although, @MSMG , I currently have other problems. 12.6 seems to mount winre.wim regardless whether I say Y or N. I understand that doing nothing to the mounted winre.wim will probably result in just unmounting it at the end with no changes, but still, it shouldn't be mounted when you expressly say N. Also, when I go in component removal, the choices seem to be messed up again, as pressing some buttons results in nothing happening, or pressing the "all" button results in some components not changing their state(+ / -).
     
  8. GeorgePirkl

    GeorgePirkl MDL Novice

    Feb 4, 2018
    45
    15
    0
    After licence agrement crash (close) ... try on 2 computers ... original msmg work but ur custom wont for me
     
  9. acer-5100

    acer-5100 MDL Guru

    Dec 8, 2018
    4,001
    2,969
    150
    I know this works, but using the older nsudo is more practical (nsudo 6.2 bundled with TK 8.8 works as well)
     
  10. inTerActionVRI

    inTerActionVRI MDL Expert

    Sep 23, 2009
    1,770
    3,601
    60
    Please, give me some data about:
    What OS version are you using.


    Extract the new Toolkit and Custom Toolkit into a new folder and test one more time.

    So I can get a better idea of what's going on.

    Note: I tested it with 19044.1947 with no problems. with 19045.1889 I had several problems with the functioning of several scripts. I still don't recommend it for daily use.
     
    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
    I have a script (RunAsTrustedInstaller) in my package, to install nSudo and/or PowerRun from the context menu.

    If it is installed from the toolkit folder, it will take nSudo from the toolkit folder and send it to the System32 folder.

    If it is run in any other folder, it will download nSudo previous version which is the latest stable version available for download, and install it from the context menu.

    There is option for PowerRun and uninstall option for both. (always uninstall before re-installing a new version of the same App. You can install nSudo and PowerRun. They do not interfere with each other and you will have both options in the context menu).
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  12. acer-5100

    acer-5100 MDL Guru

    Dec 8, 2018
    4,001
    2,969
    150
    #23693 acer-5100, Sep 17, 2022
    Last edited: Sep 17, 2022

    Right now I'm on 19045.2006 (AMD64) but I can test quickly on whatever you/I like

    May matter that I use both clink and conemu (higly suggested to everyone deals with command line), but I use them since the stoneage and never troubled be.

    P.S. tested on a different machine on Server 20348.1006 and the bundled nsudo works as expected. (clink and conemu are installed as well)
     
  13. acer-5100

    acer-5100 MDL Guru

    Dec 8, 2018
    4,001
    2,969
    150
    #23694 acer-5100, Sep 17, 2022
    Last edited: Sep 17, 2022

    You don't need a special script (or nsudo) to copy something new in system32, explorer is enough.

    You need TI rights to delete, replace (and sometimes rename) system files that are already there

    That said I think I bisected the problem.

    The thing fails using the remote desktop, same machine, same toolkit folder, same nsudo version are working locally or connected remotely via VNC.

    It must be a nasty nsudo regression that no one else noticed.

    I'll try something different than 1904x anyway.
     
  14. GeorgePirkl

    GeorgePirkl MDL Novice

    Feb 4, 2018
    45
    15
    0
    I tested on 22h2 windows 11 custom made by msmg and on 21h2 windows 10 stock build all without defender ... original msmg run normal but when i run ur custom msmg i have problem when i run it with generic laucher or from folder custom msmg i after licence agrement get close cmd with ur forked tool (immediatly after i acept licence agrement get close immediatly)
     
  15. acer-5100

    acer-5100 MDL Guru

    Dec 8, 2018
    4,001
    2,969
    150
    nsudo-tk.png

    I can confirm the problem is the RDP connection, this is server 2019 17763.1852 (march 2021 update)
     
  16. inTerActionVRI

    inTerActionVRI MDL Expert

    Sep 23, 2009
    1,770
    3,601
    60
    Are you extracting from the package, only the "Customtoolkit.cmd" file and the "GenericStart ..." to the Toolkit folder?
    Because Custom Toolkit depends on the contents within the package folders.

    Note: I will separate the content that is an extra. These are only independent utility scripts that use Toolkit's Bin folder for its operation.
    I believe it will be less confusing. I'll just leave an "ExtraUtilities.zip" inside the package.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  17. GeorgePirkl

    GeorgePirkl MDL Novice

    Feb 4, 2018
    45
    15
    0
    I extract hole (all in folder) in to msmg toolkit folder in tk folder in c disk
     
  18. GeorgePirkl

    GeorgePirkl MDL Novice

    Feb 4, 2018
    45
    15
    0
    12.5 version i use without isue
     
  19. inTerActionVRI

    inTerActionVRI MDL Expert

    Sep 23, 2009
    1,770
    3,601
    60
    I simulated what is happening to you and managed to reproduce the problem.
    Check the presence of these files "EnvironmentPath.zip" and "EnvironmentPath.cmd" within the bin folder.

    Reverse the order of these 2 lines (148 and 149) in "CustomToolkit.cmd".
    from:
    Code:
    if "%WorkingFolder%" neq "" if "%WorkingFolder:~-1%" neq "\" set "WorkingFolder=%WorkingFolder%\"
    if "%WorkingFolder%" equ "" set "WorkingFolder=%SystemDRIVE%\TK\"
    to:
    Code:
    if "%WorkingFolder%" equ "" set "WorkingFolder=%SystemDRIVE%\TK\"
    if "%WorkingFolder%" neq "" if "%WorkingFolder:~-1%" neq "\" set "WorkingFolder=%WorkingFolder%\"
    
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...