1. Igor147

    Igor147 MDL Member

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

    case-sensitive MDL Expert

    Nov 7, 2013
    1,681
    743
    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 .
     
  3. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,414
    15,627
    210
    Forgot to mention that the ToolkitHelper_Templates list needs to be updated to include WebView2SDK entry.
     
  4. bala1

    bala1 MDL Member

    May 2, 2015
    179
    150
    10
    nice
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. Gibral

    Gibral MDL Junior Member

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

    Gibral MDL Junior Member

    Jan 11, 2023
    92
    3
    0
    Where do I export and then import removals?
     
  7. Gibral

    Gibral MDL Junior Member

    Jan 11, 2023
    92
    3
    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?
     
  8. dotMDLF

    dotMDLF MDL Novice

    Jul 20, 2015
    5
    9
    0
    #24589 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
    }
    
     
  9. inTerActionVRI

    inTerActionVRI MDL Expert

    Sep 23, 2009
    1,770
    3,601
    60
    #24590 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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  10. Gibral

    Gibral MDL Junior Member

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

    inTerActionVRI MDL Expert

    Sep 23, 2009
    1,770
    3,601
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  12. Gibral

    Gibral MDL Junior Member

    Jan 11, 2023
    92
    3
    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
     
  13. inTerActionVRI

    inTerActionVRI MDL Expert

    Sep 23, 2009
    1,770
    3,601
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  14. imlost2

    imlost2 MDL Member

    Aug 5, 2013
    183
    185
    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?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  15. inTerActionVRI

    inTerActionVRI MDL Expert

    Sep 23, 2009
    1,770
    3,601
    60
    #24596 inTerActionVRI, Feb 1, 2023
    Last edited: Feb 1, 2023
    You will find it in ISO format with several language packs. MSMG posted here a few pages ago.

    https://forums.mydigitallife.net/threads/msmg-toolkit.50572/page-1218#post-1770857
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  16. imlost2

    imlost2 MDL Member

    Aug 5, 2013
    183
    185
    10
    #24597 imlost2, Feb 1, 2023
    Last edited: Feb 1, 2023
    Big thanks. I presume I just extract the cab files from the WinPE_OCs folder to the \LanguagePacks\w11 folder in Toolkit?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  17. Gibral

    Gibral MDL Junior Member

    Jan 11, 2023
    92
    3
    0
    Desculpe, falta de atenção minha. Você sabe qual linha para desabilitar ou desinstalar o windows update?
     
  18. Supern00b

    Supern00b MDL Addicted

    Dec 30, 2010
    768
    560
    30
    Can't you write in english? For f**ks sake.
     
  19. Gibral

    Gibral MDL Junior Member

    Jan 11, 2023
    92
    3
    0
    Sorry, my lack of attention. Do you know which line to disable or uninstall windows update?