Do you want to add removal of these components? Some may be needed for Start Menu or System Tray flyouts, System Apps.
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
@ 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 .
Forgot to mention that the ToolkitHelper_Templates list needs to be updated to include WebView2SDK entry.
Thanks! Another thing I can extract msu from NetFramework481 update? In this case, which folder would I place the extraction?
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?
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 }
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.
In ".\Toolkit\Bin\Lists" folder. Take a look in the templates for creating your file with the 0 byte files in root of \Lists.
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
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.
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?