1. ceo54

    ceo54 MDL Addicted

    Aug 13, 2015
    969
    465
    30
    I need to locate my posts in this thread for references. Anyone knows how Can I search my posts in this specific thread only ?

    Any help will be greatly appreciated, thanks.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. inTerActionVRI

    inTerActionVRI MDL Expert

    Sep 23, 2009
    1,770
    3,601
    60
    #24362 inTerActionVRI, Jan 3, 2023
    Last edited: Jan 3, 2023
    Posted by member:
    Put your nick.

    Mark the "Search this thread only" box.


    Or:
    To the right of "More" click on "the down arrow" and select
    Your Posts
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. ceo54

    ceo54 MDL Addicted

    Aug 13, 2015
    969
    465
    30
    Done, thanks.

    Now I can proceed with the new project.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. ceo54

    ceo54 MDL Addicted

    Aug 13, 2015
    969
    465
    30
    #24364 ceo54, Jan 3, 2023
    Last edited: Jan 3, 2023
    @MSMG I reported a bug in the toolkit on may 2020 here to which you said is on your to do list here but unfortunately this is still not sorted. This project is still pending and with Windows 8.1 now going EOL, I need it. Will it be possible for you to take a look at it ?

    Consider it a humble request.

    Thank you for the kind support.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. bala1

    bala1 MDL Member

    May 2, 2015
    179
    150
    10
    try this:
    F:\TOOLKIT
    ok
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. Yanta

    Yanta MDL Senior Member

    May 21, 2017
    491
    284
    10
    #24366 Yanta, Jan 3, 2023
    Last edited: Jan 4, 2023
    I'm using v12.9 of the toolkit. I'm working with a 21H2 LTSC 19044.2251 ISO and removing almost everything. Keeping capture picker, win32calc, notepad, firewall and not much else.
    When i install from the drive created using Rufus and when I run the following commands it fails.

    Code:
    net user Geoff xxxxxx /ADD /passwordchg:no /expires:never /active:yes /fullname:"Geoff Duncan" >>%LogFile% 2>&1
    net user Chris xxxxxx /ADD /passwordchg:no /expires:never /active:yes /fullname:"Chris Duncan" >>%LogFile% 2>&1
    net user Gabrielle xxxxxx /ADD /passwordchg:no /expires:never /active:yes /fullname:"Gabrielle Duncan" >>%LogFile% 2>&1
    net user Lounge xxxxxx /ADD /passwordchg:no /expires:never /active:yes /fullname:"Lounge" >>%LogFile% 2>&1
    net user Rumpus xxxxxx /ADD /passwordchg:no /expires:never /active:yes /fullname:"Rumpus" >>%LogFile% 2>&1
    
    I get the following errors;

    Code:
    The user or group account specified cannot be found.
    
    The user was successfully created but could not be added
    to the USERS local group.
    
    More help is available by typing NET HELPMSG 3774.
    
    The user or group account specified cannot be found.
    
    The user was successfully created but could not be added
    to the USERS local group.
    
    More help is available by typing NET HELPMSG 3774.
    
    The user or group account specified cannot be found.
    
    The user was successfully created but could not be added
    to the USERS local group.
    
    More help is available by typing NET HELPMSG 3774.
    
    The user or group account specified cannot be found.
    
    The user was successfully created but could not be added
    to the USERS local group.
    
    More help is available by typing NET HELPMSG 3774.
    
    The user or group account specified cannot be found.
    
    The user was successfully created but could not be added
    to the USERS local group.
    
    More help is available by typing NET HELPMSG 3774.
    
    Did I remove something I shouldn't have?
    I don't have this problem on 1809 LTSC

    EDIT: Correction, I just found that during the Windows installation when asked for "Who uses this computer" the user account created is NOT added to the USERS local group on BOTH 1809 and 21H2.

    I can add accounts on 1809 without errors. See below... Only account on PC (Other than guest and administrator), not part of USERS group
     

    Attached Files:

  7. inTerActionVRI

    inTerActionVRI MDL Expert

    Sep 23, 2009
    1,770
    3,601
    60
    @MSMG,
    I took a look at the code in ARP.cmd.

    Please look at:
    echo. Do you want to Hide installed VC++ package from Uninstall Programs list ?
    and
    rem Hiding installed VC++ package from Uninstall Programs list
    if "%MVC%" neq "" (
    Code:
    ::-------------------------------------------------------------------------------------------
    :: Function to Integrate Microsoft Visual C++ Runtime
    ::-------------------------------------------------------------------------------------------
    :IntVCRuntime
    
    setlocal
    
    cls
    echo.===============================================================================
    echo.            MSMG ToolKit - Integrate Microsoft Visual C++ Runtime
    echo.===============================================================================
    echo.
    
    :: Getting Install Image Index Architecture
    call :GetImageArchitecture "%InstallWim%", %DefaultIndexNo% >nul
    
    :: Setting Microsoft Visual C++ Runtime Pack folder path
    set "VCRuntime=%VCRuntime%\%SelectedSourceOS%"
    
    :: Checking whether Microsoft Visual C++ Runtime Pack file exist
    if not exist "%VCRuntime%\VC.tpk" (
       echo.Microsoft Visual C++ Runtime Pack file "VC.tpk" not found...
       echo.
       echo.Please copy the above file to ^<Packs\VCRuntime\%SelectedSourceOS%^> folder...
       goto :Stop
    )
    
    if "%SelectedSourceOS%" equ "w7" if not exist "%VCRuntime%\Windows6.1-KB3118401-%ImageArchitecture%.cab" (
       echo.Microsoft Visual C++ Runtime Pack file "Windows6.1-KB3118401-%ImageArchitecture%.cab" not found...
       echo.
       echo.Please copy the above file to ^<Packs\VCRuntime\%SelectedSourceOS%^> folder...
       goto :Stop
    )
    
    if "%SelectedSourceOS%" equ "w81" if not exist "%VCRuntime%\Windows8.1-KB3118401-%ImageArchitecture%.cab" (
       echo.Microsoft Visual C++ Runtime Pack file "Windows8.1-KB3118401-%ImageArchitecture%.cab" not found...
       echo.
       echo.Please copy the above file to ^<Packs\VCRuntime\%SelectedSourceOS%^> folder...
       goto :Stop
    )
    
    for %%i in (Certificates, VC_2005, VC_2008, VC_2010, VC_2012, VC_2013, VC_2022, VC_Legacy) do (
       if not exist "%VCRuntime%\%%i_%ImageArchitecture%.reg" (
           echo.Microsoft Visual C++ Runtime Pack file "%%i_%ImageArchitecture%.reg" not found...
           echo.
           echo.Please copy the above file to ^<Packs\VCRuntime\%SelectedSourceOS%^> folder...
           goto :Stop
       )
    )
    
    echo.===============================================================================
    echo. Do you want to Hide installed VC++ package from Uninstall Programs list ?
    echo.===============================================================================
    echo.
    choice /C:NY /N /M "Enter Your Choice... ['Y'es/'N'o] : "
    if errorlevel 2 (
       set "MVC=Microsoft Visual C++"
       set "_natkey=HKLM\TK_SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall"
       set "_wowkey=HKLM\TK_SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall"
    )
    
    echo.-------------------------------------------------------------------------------
    echo.####Started Integrating Microsoft Visual C++ Runtime###########################
    echo.-------------------------------------------------------------------------------
    echo.
    echo.    Image                    : Install.wim
    echo.    Image Index              : %ImageIndexNo%
    echo.    Image Architecture       : %ImageArchitecture%
    echo.    Image Version            : %ImageVersion%.%ImageServicePackBuild%.%ImageServicePackLevel%
    echo.
    echo.-------------------------------------------------------------------------------
    echo.####Integrating Microsoft Visual C++ Runtime###################################
    echo.-------------------------------------------------------------------------------
    
    for /l %%i in (1, 1, %ImageCount%) do (
       if exist "%InstallMount%\%%i" (
           echo.
           if not %%i gtr 9 echo.===========================[Install.wim, Index : %%i]============================
           if %%i gtr 9 echo.==========================[Install.wim, Index : %%i]============================
           echo.
    
           :: Getting Image Index Information
           call :GetImageIndexInfo "%InstallWim%", %%i >nul
    
           if "%SelectedSourceOS%" neq "w10" if "%SelectedSourceOS%" neq "w11" (
               echo.-------------------------------------------------------------------------------
               echo.Integrating Microsoft Visual C++ Prerequiste Update Package...
               echo.-------------------------------------------------------------------------------
               if "%SelectedSourceOS%" equ "w7" call :AddPackage "%InstallMount%\%%i", "%VCRuntime%\Windows6.1-KB3118401-%ImageArchitecture%.cab"
               if "%SelectedSourceOS%" equ "w81" call :AddPackage "%InstallMount%\%%i", "%VCRuntime%\Windows8.1-KB3118401-%ImageArchitecture%.cab"
           )
    
           echo.-------------------------------------------------------------------------------
           echo.Integrating Microsoft Visual C++ Runtime Package...
           echo.-------------------------------------------------------------------------------
           call :ApplyImage "%VCRuntime%\VC.tpk", %PackageIndex%, "%InstallMount%\%%i"
           echo.-------------------------------------------------------------------------------
           echo.Importing Microsoft Visual C++ Runtime Registry Settings...
           echo.-------------------------------------------------------------------------------
           echo.
           echo.Mounting Image Registry...
           call :MountImageRegistry "%InstallMount%\%%i"
           echo.Importing Registry Settings to Image Registry...
    
           for %%i in (Certificates, VC_2005, VC_2008, VC_2010, VC_2012, VC_2013, VC_2022, VC_Legacy) do (
               call :ImportRegistry2Image "%VCRuntime%\%%i_%ImageArchitecture%.reg"
           )
    
           rem Hiding installed VC++ package from Uninstall Programs list
           if "%MVC%" neq "" (
               rem echo.
               rem echo._natkey
               for %%G in (
                   "%MVC% 2005 Redistributable"
                   "%MVC% 2008 Redistributable"
                   "%MVC% 2010  %ImageArchitecture% Redistributable"
                   "%MVC% 2010 %ImageArchitecture% Redistributable"
                   "%MVC% 2012 %ImageArchitecture% Additional Runtime"
                   "%MVC% 2012 %ImageArchitecture% Minimum Runtime"
                   "%MVC% 2013 %ImageArchitecture% Additional Runtime"
                   "%MVC% 2013 %ImageArchitecture% Minimum Runtime"
                   "%MVC% 14 %ImageArchitecture% Additional Runtime"
                   "%MVC% 14 %ImageArchitecture% Minimum Runtime"
                   "%MVC% 2015 %ImageArchitecture% Additional Runtime"
                   "%MVC% 2015 %ImageArchitecture% Minimum Runtime"
                   "%MVC% 2017 %ImageArchitecture% Additional Runtime"
                   "%MVC% 2017 %ImageArchitecture% Minimum Runtime"
                   "%MVC% 2019 %ImageArchitecture% Additional Runtime"
                   "%MVC% 2019 %ImageArchitecture% Minimum Runtime"
                   "%MVC% 2022 %ImageArchitecture% Additional Runtime"
                   "%MVC% 2022 %ImageArchitecture% Minimum Runtime"
                   "Microsoft Visual Studio 2010 Tools for Office Runtime"
                   "Microsoft Visual Basic/C++ Runtime"
               ) do (
                   for /f "tokens=7 delims=\" %%# in ('reg.exe query "%_natkey%" /s /f %%G 2^>nul ^| findstr.exe /I "HKEY_LOCAL_MACHINE"') do (
                       rem echo.%%#
                       rem Hide
                       reg.exe add "%_natkey%\%%#" /v "SystemComponent" /t REG_DWORD /d "1" /f >nul 2>&1
                       rem Show
                       rem reg.exe delete "%_natkey%\%%#" /v "SystemComponent" /f >nul 2>&1
                   )
               )
    
               rem echo.
               rem echo._wowkey
               if /I "%ImageArchitecture%" equ "x64" (
                   for %%G in (
                       "%MVC% 2005 Redistributable"
                       "%MVC% 2008 Redistributable"
                       "%MVC% 2010  x86 Redistributable"
                       "%MVC% 2010 x86 Redistributable"
                       "%MVC% 2012 x86 Additional Runtime"
                       "%MVC% 2012 x86 Minimum Runtime"
                       "%MVC% 2013 x86 Additional Runtime"
                       "%MVC% 2013 x86 Minimum Runtime"
                       "%MVC% 14 x86 Additional Runtime"
                       "%MVC% 14 x86 Minimum Runtime"
                       "%MVC% 2015 x86 Additional Runtime"
                       "%MVC% 2015 x86 Minimum Runtime"
                       "%MVC% 2017 x86 Additional Runtime"
                       "%MVC% 2017 x86 Minimum Runtime"
                       "%MVC% 2019 x86 Additional Runtime"
                       "%MVC% 2019 x86 Minimum Runtime"
                       "%MVC% 2022 x86 Additional Runtime"
                       "%MVC% 2022 x86 Minimum Runtime"
                       "Microsoft Visual Studio 2010 Tools for Office Runtime"
                       "Microsoft Visual Basic/C++ Runtime"
                   ) do (
                       for /f "tokens=8 delims=\" %%# in ('reg.exe query "%_wowkey%" /s /f %%G 2^>nul ^| findstr.exe /I "HKEY_LOCAL_MACHINE"') do (
                           rem echo.%%#
                           rem Hide
                           reg.exe add "%_wowkey%\%%#" /v "SystemComponent" /t REG_DWORD /d "1" /f >nul 2>&1
                           rem Show
                           rem reg.exe delete "%_wowkey%\%%#" /v "SystemComponent" /f >nul 2>&1
                       )
                   )
               )
           )
    
           echo.Un-Mounting Image Registry...
           call :UnMountImageRegistry
       )
    )
    
    echo.
    echo.-------------------------------------------------------------------------------
    echo.####Finished Integrating Microsoft Visual C++ Runtime##########################
    echo.-------------------------------------------------------------------------------
    
    :Stop
    
    @OpenSourceGhost you can test if you want. Just replace that in Toolkit.cmd from line 11748 to 11854 or 11855.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  8. blackfriar

    blackfriar MDL Novice

    Sep 3, 2017
    4
    0
    0
    Hi,
    I have used MSMG Toolkit v13.1 to remove windows applications from "Win11_22H2_EnglishInternational_x64v1.iso" file but without success (failed even after several attempts).
    There were no error messages at all and all other functions worked flawlessly.
    Can someone help me in this matter ?
    Many thanks in advance for your kind help.
     
  9. Supern00b

    Supern00b MDL Addicted

    Dec 30, 2010
    768
    560
    30
    What is the exact source build number you used and where did you get it from?
    What did you try to remove, Windows components? By means of a list or manually?

    Cheers.
     
  10. blackfriar

    blackfriar MDL Novice

    Sep 3, 2017
    4
    0
    0
    #24370 blackfriar, Jan 5, 2023
    Last edited: Jan 5, 2023
    The build number is 22621.963 downloaded from the offical MS webpage.
    I have used the following way to remove windows apps:
    [3] Remove => [1] Remove Windows Components => [1] Select Windows Components => [7] Windows Apps
    None of the selected apps have been removed (e.g. Tips, Voice recorder, Windows Mail etc)
     
  11. inTerActionVRI

    inTerActionVRI MDL Expert

    Sep 23, 2009
    1,770
    3,601
    60
    It sounds like you don't go back to the main removal menu to apply your removal choices.

    I believe that's it.

    You select everything you want to remove with the "minus" (negative) sign and go back to using the start remove component option.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  12. blackfriar

    blackfriar MDL Novice

    Sep 3, 2017
    4
    0
    0
    #24372 blackfriar, Jan 5, 2023
    Last edited: Jan 5, 2023
    You are wrong. I went back to the main menu and did the following.
    [4] Customize => [8] Apply tweaks => disabled some components here (e.g. disable Cortana, Windows Defender)
    [5] Apply => [2] Apply & Save changes to source image => double "Y"
    [6] Target => [1] Make a DVD ISO image

    I think I should have done the [2] Start removing Windows components step as well but I missed it.
     
  13. blackfriar

    blackfriar MDL Novice

    Sep 3, 2017
    4
    0
    0
    #24373 blackfriar, Jan 5, 2023
    Last edited: Jan 5, 2023
    I have experienced another interesting thing.
    If I run start.cmd in "normal" mode there is no problem but
    when start.cmd is run as administrator my antivirus software finds an infected file (toolkit.cmd infected by BAT\KillAV.NFN).
    This is not a confidence-inspiring thing (KillAV means kill antivirus software) !!!
    I think this software will be deleted from my computer.
     
  14. MIMMO61

    MIMMO61 MDL Senior Member

    Aug 19, 2009
    379
    108
    10
    Good evening
    I ask where is it possible to download the previous versions of ToolKit, I need them to do some comparison tests.
    Thank you
    ---------------------------------------------
    I found, in the Toolkit>Archive folder.
    Sorry.
     
  15. inTerActionVRI

    inTerActionVRI MDL Expert

    Sep 23, 2009
    1,770
    3,601
    60
    #24375 inTerActionVRI, Jan 5, 2023
    Last edited: Jan 5, 2023
    Well, from what you answered me, it seems to me that I'm not mistaken. What it sounds like is what it is.
    Don't go back to Main Menu, go back to Main Remove Windows Components Menu. So there's an option similar to that in the Customize menu.

    Yes, well that option.
    [2] Start Removing Windows Components

    Read the main post and the readme.txt file.
    In readme.txt note the Known Issues: section.



    This is a false positive as it has functions to remove SmartScreen, Windows Defender, etc.

    It's your choice.

    Everyone has been using it for years.

    sometimes someone appears commenting on a false positive.

    In all tools found on this or any forum that are related to customizing something proprietary, you can expect this.

    But staying cautious is always a great idea.

    Do what you want to do, inside VMs. I started like that until I got confident that it wasn't the tool that caused me any harm. But yes, me, inexperienced and breaking the system.:D:D:D:D
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  16. MIMMO61

    MIMMO61 MDL Senior Member

    Aug 19, 2009
    379
    108
    10
    Good evening.
    I am using Toolkit 13.1 with W11 22621.963, I am asking if it is possible and how to do to insert Windows features.
    Such as NET fw 3.5, Directplay, NFS Services etc..
    Thank you very much
     
  17. Yanta

    Yanta MDL Senior Member

    May 21, 2017
    491
    284
    10
    Can someone please verify my tests;

    1. If you rename your computer but don't reboot and then try to create a user using net user you will get an error about user not being added to the local users group.

    2. When installing Windows after creating the default/primary user at the OOBE step that use is not added to the users localgroup.
     
  18. n3ro97

    n3ro97 MDL Member

    Oct 17, 2018
    105
    63
    10
  19. MIMMO61

    MIMMO61 MDL Senior Member

    Aug 19, 2009
    379
    108
    10
  20. roedel

    roedel MDL Junior Member

    Jun 3, 2010
    82
    58
    0
    #24380 roedel, Jan 7, 2023
    Last edited: Jan 7, 2023
    I don´t know what you´re doing but here it works perfect

    upload_2023-1-7_11-28-44.png

    And I have removed and tweaked a lot on my windows. It´s not a VM

    Edit: But you´re right. It doesn´t work in my VM.