1. Igor147

    Igor147 MDL Member

    Oct 20, 2016
    144
    67
    10
    @MSMG
    How to remove these components?
    2023-01-31_111025.jpg 2023-01-31_111043.jpg
     
  2. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,412
    15,485
    210
  3. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,412
    15,485
    210
    1) Get the 10.0.22621.1105 msu file (windows11.0-kb5022303-x64_87d49704f3f7312cddfe27e45ba493048fdd1517.msu) and using 7-zip extract the below files to Toolkit's <WHD\w11\x64\10.0.22621> folder

    SSU-22621.898-x64.cab
    Windows11.0-KB5022303-x64.psf
    Windows11.0-KB5022303-x64.cab

    2) Mount the source using Toolkit

    3) Use the Integrate -> Integrate Windows Updates -> Integrate WHD Update Pack -> Integrate WHD General Updates -> Integrate to Windows Setup Install Image menu to integrate the updates to the image.

    4) Apply the changes to the source

    5) Make ISO and copy the ISO for backup purpose

    6) Mount the source using Toolkit

    7) Remove the components

    8) Apply the changes to the source
     
  4. Igor147

    Igor147 MDL Member

    Oct 20, 2016
    144
    67
    10
    No, it's not worth adding. I just wondered if it was possible to remove it in the toolkit.
     
  5. case-sensitive

    case-sensitive MDL Expert

    Nov 7, 2013
    1,680
    726
    60
    @ 0ProBoy0

    I dont want to diss the tool or its maker . Its a very good tool and it works .

    I hope you solved your problem .

    Your talking abiut dependancys ......... and i'm saying .......... noone knows what microsoft is going to put in future updates .......... not wich componants ......... and not whats bundled with what .......or what future dependancys .

    That means that a better strategy is to make a base working image / C copy that hasnt been in the net .......... and update it each month ......... and then i if you feel the need cut bits out .

    I asked what you want to achieve because often people are trying to achieve things that cutting doesnt do . Questions like ...... does cutting things make your system faster = No ......... dors it make it safer = Maybe .......... does it stop it phoneing home = No .......... does it stop updates = No .............. so whats the point ?

    If you want to stop it phoneing home and updateing ......... put a firewall / IP blocker in your router ?


    If your still interested in cutting things tell us what youve cut out and then other people can tell you their experience .
     
  6. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,412
    15,485
    210
    Forgot to mention that the ToolkitHelper_Templates list needs to be updated to include WebView2SDK entry.
     
  7. bala1

    bala1 MDL Member

    May 2, 2015
    178
    149
    10
    nice
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  8. Gibral

    Gibral MDL Junior Member

    Jan 11, 2023
    66
    2
    0
    Thanks! Another thing I can extract msu from NetFramework481 update? In this case, which folder would I place the extraction?
     
  9. Gibral

    Gibral MDL Junior Member

    Jan 11, 2023
    66
    2
    0
    Where do I export and then import removals?
     
  10. Gibral

    Gibral MDL Junior Member

    Jan 11, 2023
    66
    2
    0
    how do i disable or uninstall windows update? I believe it is importing some list in customize, can someone tell me where I put this list or can someone put a list with this option?
     
  11. dotMDLF

    dotMDLF MDL Novice

    Jul 20, 2015
    5
    9
    0
    #24614 dotMDLF, Feb 1, 2023
    Last edited: Feb 1, 2023
    Knowledge? No, it was my first try in PowerShell!

    @inTerActionVRI

    My new Changes...

    1: Descending Sorting [Hashtable]
    2: Always save Reg Files as Unicode

    Code:
    foreach ($file in $input_values) {
        [System.Collections.ArrayList]$content = Get-content -Path $file | Where { $_ -notmatch "^(\s+)?;|^\s*$" }
        [string]$output = ""
        [string]$tmpkey = ""
        foreach($line in $content) {
            if ($line -match "^\[.*\]$") {
                foreach($key in $equivalents.Keys | sort -Descending ) {
                    if ($line.ToLower().Contains($key.ToLower())) {
                        $tmpkey = $key.Replace("\","\\").Replace("[","\[").Replace("]","\]")
                        $line = "`r`n" + $line -ireplace $tmpkey, $equivalents[$key]
                    }
                }
            }
            $output +=$line + "`r`n"
        }
        Set-Content -Path ($targetdir + $file.Name) -Encoding "unicode" -Value $output
    }
    
     
  12. inTerActionVRI

    inTerActionVRI MDL Expert

    Sep 23, 2009
    1,626
    3,361
    60
    #24615 inTerActionVRI, Feb 1, 2023
    Last edited: Feb 1, 2023
    Nice, in this way is very optimized way.
    But adding an empty line between the previous Key content and the next key doesn't happen correctly. But it should happen. I didn't find out why this happens, since it is determined that in the keys, empty lines will be added and the key with the due equivalence replaced.
    But I solved it by making some conditions that seem redundant, however they serve to solve other problems.
    Creating the variable newLine is necessary so that comparison between previous line and current line are used if changing the original value of line the code gets messy. But it is also possible to do. Of course it is necessary to set PreviousLine in the correct place.

    $key.Replace("\","\\").Replace("[","\[").Replace("]","\]")
    This statement is not needed. Only in lines with path.


    For optimize the equivalents hash table, you can eliminate the square brackets, then remove the lines with negative sign.
     
  13. Gibral

    Gibral MDL Junior Member

    Jan 11, 2023
    66
    2
    0
    Where do I find complete lists for me to choose the lines I want to leave and take?
     
  14. inTerActionVRI

    inTerActionVRI MDL Expert

    Sep 23, 2009
    1,626
    3,361
    60
    In ".\Toolkit\Bin\Lists" folder.

    Take a look in the templates for creating your file with the 0 byte files in root of \Lists.
     
  15. Gibral

    Gibral MDL Junior Member

    Jan 11, 2023
    66
    2
    0
    That's what I want the template with the filled lists for me to edit. Lists of disablefeatures, enablefeatures, removeapplist eremovepkglist. Has anyone had it or have they seen it
     
  16. inTerActionVRI

    inTerActionVRI MDL Expert

    Sep 23, 2009
    1,626
    3,361
    60
    Swear you're not kidding?

    Did you go to the folder I suggested?

    Have you seen the template folders?

    Have you seen the txt files that are in there?


    For the List of features template, you decide wht features you want to put in the Disable or Enable list. Put only what you want to change.
     
  17. imlost2

    imlost2 MDL Member

    Aug 5, 2013
    100
    114
    10
    Is it a lost cause looking on the Net for language packs for Windows 11 22H2? I've also tried to capture a Windows download to no avail using the Language & region dialog page to incorporate into a clean install.wim. But multiple files are downloaded to my PC, not a single .cab or .mui file. Anyone have any luck with adding language packs?