1. rorewe4314

    rorewe4314 MDL Member

    Jun 18, 2020
    107
    22
    10
    MSMG, I meant turn it into Windows 7 or something similar.
     
  2. forslaey

    forslaey MDL Novice

    Mar 4, 2021
    12
    6
    0
    Hello. Did I understand correctly that Win 11 Boot And Upgrade FiX KiT v2.0 allows you to prepare an ISO image with the possibility of further updates on the old hardware? (sorry my english).
     
  3. Enthousiast

    Enthousiast MDL Tester

    Oct 30, 2009
    49,647
    103,306
    450
    On 22000.xxx normal hotfixes don't check for the requirements (MSFT can change that at anytime but not expected to happen).

    Feature Updates aka full upgrades need attention, when by WU just renaming/replacing/removing the existing appraiserres,dll in the bt~sources folder is enough, by ISO you can replace the existing appraiserres.dll with the one from a 15063 aka 1703 ISO, probably removing and renaming should work too but i did not test those scenarios.
     
  4. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,414
    15,608
    210
    #20564 MSMG, Sep 30, 2021
    Last edited: Sep 30, 2021
    (OP)
    Is the Source OS you are using Windows 10 or 11 and Do you want an exact Windows 7 like experience?

    Then you can retain the below components this will give the same experience, If you want you can retain Camera, Calculator and Sound Recorder App.

    Here File Explorer is not the Windows Explorer instead the UWP Modern version of File Manager.

    WindowsStoreClient can be retained for DCH drivers installation.

    Code:
    InternetExplorer
    FirstLogonAnimation
    GameExplorer
    SpeechRecognition
    WindowsMediaPlayer
    WindowsPhotoViewer
    WinSAT
    KernelDebugging
    WindowsErrorReporting
    HomeGroup
    MultiPointConnector
    RemoteAssistance
    DeviceLockdown
    EaseOfAccessThemes
    EasyTransfer
    FileHistory
    ManualSetup
    Paint
    SecurityCenter
    StepsRecorder
    SystemRestore
    WindowsBackup
    WindowsFirewall
    Wordpad
    AADBrokerPlugin
    AccountsControl
    OOBENetworkCaptivePortal
    OOBENetworkConnectionFlow
    ParentalControls
    SmartScreen
    WindowsDefender
    WindowsStoreClient
    XboxIdentityProvider
    
     
  5. inTerActionVRI

    inTerActionVRI MDL Expert

    Sep 23, 2009
    1,748
    3,575
    60
    For Inplace Upgrade I just added a command to Rename.

    Code:
           reg.exe add "HKLM\TK_SYSTEM\Setup\LabConfig" /v "BypassCPUCheck" /t REG_DWORD /d "1" /f >nul 2>&1
           reg.exe add "HKLM\TK_SYSTEM\Setup\LabConfig" /v "BypassRAMCheck" /t REG_DWORD /d "1" /f >nul 2>&1
           reg.exe add "HKLM\TK_SYSTEM\Setup\LabConfig" /v "BypassSecureBootCheck" /t REG_DWORD /d "1" /f >nul 2>&1
           reg.exe add "HKLM\TK_SYSTEM\Setup\LabConfig" /v "BypassStorageCheck" /t REG_DWORD /d "1" /f >nul 2>&1
           reg.exe add "HKLM\TK_SYSTEM\Setup\LabConfig" /v "BypassTPMCheck" /t REG_DWORD /d "1" /f >nul 2>&1
    
           echo.
           echo.Un-Mounting Image Registry...
           call :UnMountImageRegistry
    
           echo.
           echo.
           echo.##### Bypass Hardware Requisites Checking for InPlace Upgrade #################
           rem call :RemoveFile "%DVD%\sources\appraiserres.dll"
           echo.Renaming from: "%DVD%\sources\appraiserres.dll"
           echo.           to: "appraiserres.dll.BKP"
           if exist "%DVD%\sources\appraiserres.dll" ren "%DVD%\sources\appraiserres.dll" "appraiserres.dll.BKP"
           echo.
    
     
  6. inTerActionVRI

    inTerActionVRI MDL Expert

    Sep 23, 2009
    1,748
    3,575
    60
    #20567 inTerActionVRI, Sep 30, 2021
    Last edited: Oct 1, 2021
    I did the tests by renaming. Done an InPlace Upgrade from the Build 22000.194 to Build 22463. It worked right. Only then, I added it to Custom Toolkit. I thought it was interesting to keep the BKP there for any eventuality.
     
  7. zero cool root

    zero cool root MDL Senior Member

    Jun 17, 2011
    382
    161
    10
    The command below, disable all profile Windows Firewall

    Code:
    netsh advfirewall set allprofiles state off
    
     
  8. iskakfatoni

    iskakfatoni MDL Novice

    Mar 19, 2010
    13
    1
    0
    Still facing same issues , even with latest Toolkit.cmd
     
  9. inTerActionVRI

    inTerActionVRI MDL Expert

    Sep 23, 2009
    1,748
    3,575
    60
    Open Toolkit.cmd with Notepad and replace all:
    from
    Code:
    Windows6.1-KB5001027
    
    to
    Code:
    Windows8.1-KB5001027
    
    So you should look for this line and change again to how it was previously.
    from
    Code:
    call :AddPackage "%InstallMount%\%%i", "%EdgeChromium%\Windows8.1-KB5001027-%ImageArchitecture%.cab"
    
    to
    Code:
    call :AddPackage "%InstallMount%\%%i", "%EdgeChromium%\Windows6.1-KB5001027-%ImageArchitecture%.cab"
    

    Take the test and report to us.
     
  10. inTerActionVRI

    inTerActionVRI MDL Expert

    Sep 23, 2009
    1,748
    3,575
    60
    #20571 inTerActionVRI, Oct 1, 2021
    Last edited: Oct 3, 2021
    https://forums.mydigitallife.net/threads/msmg-toolkit.50572/page-793#post-1606110

    Sent an 2021-10-01 New Custom Toolkit updated file attached in the link above.

    Merged made with the Official Toolkit 11.8 from 2021-09-17 to 2021-09-29.

    1. Since my code writing method with the idea of reducing lines was making complicated the merge tasks. As the code was drowned in complications, difficult to readability for other devs. I decided to twist my code, in the sense of wiping. Expanded parts of the code that were in just one line for multiple lines in order to improve the reading of it. Mainly in the "for (loop) command thanks to a tip learned in the @abbodi1406 scripts.
    And, of course learning every day with @MSMG. In addition to the solutions brought in the Toolkit script, he always answers some people asks that brings new doubts and new learning.

    2. In Inbox Apps:
    2.1. A detail was modified to indicate what is not present in the packs, before continuing with inboxapps integration.
    2.2. Fixed - A problem created by custom toolkit modifications by implementing the multi-selection system of inboxapps that repeated the final optimization that should be once for each index, but was repeating by the amount of apps selected times the quantity of indexes. As much as the whole process was automatic, this caused a very accentuated delay.

    3. Added - Condition for integration of Sun Valley Icons Skin Pack only for Builds below 21348.

    4. Some minor code upgrade on Tweaks and...
    4.1. Added - Simple Bypass Hardware Requisites Checking for InPlace Upgrade.

    5. WMP Skin for x64 now apply in WMP Program Files(x86) folder too.

    6. Adicionada uma opção de Custom PreSet para "Windows 7 Components Experience Edition" baseada na lista de componentes a serem mantido que o MSMG disponibilizou.

    7. Fixed Edge Chromium Integration for w81.

    OBS: Supplementary information for Devs: After the implementation of Windows 11 support I found some bugs related to the use of subsequent conditions of "not equal" associated with the use of "else" in the same block (NEQ NEQ ELSE). It does not work.
    Ex: The use (neq w10 neq w11) so that a block block could work for both W7 and W81 and an "else" for when w10 or w11, but this does not work:

    In this case, what comes in the else block is completely ignored not being executed. I suppose a conflict occurs.
    Code:
           if "%SelectedSourceOS%" neq "w10" if "%SelectedSourceOS%" neq "w11" (
               echo.Performing Tasks for w7 or w81...
           ) else (
               echo.Performing Tasks for w10 or w11...
           )
           
    To correct this, the possible way is just as below.
    Code:
           if "%SelectedSourceOS%" neq "w10" if "%SelectedSourceOS%" neq "w11" (
               echo.Performing Tasks for w7 or w81...
           )
           if "%SelectedSourceOS%" neq "w7" if "%SelectedSourceOS%" neq "w81" (
               echo.Performing Tasks for w10 or w11...
           )
           

    8. VirtualCreate_ImageIndexEditions.zip (2021-09-20 updated with @abbodi1406 "uup-converter-wimlib-72u"

    Merge made with the fourth version of the Official Toolkit 11.7 on the day 2021-08-23.

    1. Fixed "Sun Valley Icons Skin" integration:
    * for w7 and w81, thnks to @Bira suggestion.
    * for w10 build 18362 by changing geq "18363" to geq "18362".
    * Added "Windows Photo Viewer Skin" and "Icons Skin" in the Custom Integrate for W7 and W81 menu.
    NOTE: "Windows Media Player Skin" break Windows Media Player for W7 and W81.
    Thnks by tests made by @Bira.

    2. Added the condition to Integrate Windows Portable Devices
    :: Checking whether exists N Editions supported for Windows Portable Devices Integration are selected as source.
    If only non-N editions are selected, the following message will be displayed:

    3. VirtualCreate_ImageIndexEditions.zip (2021-08-24 updated with @abbodi1406 "uup-converter-wimlib-69"


    Thnks!
     
  11. rorewe4314

    rorewe4314 MDL Member

    Jun 18, 2020
    107
    22
    10

    In my experience I can't make an image less than 4.2 gb, and I've tried deleting almost everything! How do others do Super Lite?

    p.s
    This question has to do with the fact that the system image becomes mammoth with each release.
     
  12. brz.2k2

    brz.2k2 MDL Novice

    Jul 24, 2015
    11
    6
    0
    Same here. My last good ISO is sitting at 3.8GB. Before I remember one option to convert the WIM image to ESD and have one LTSC 17763.1 at 2.6GB. It saved a lot of space.
     
  13. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,414
    15,608
    210
    #20574 MSMG, Oct 2, 2021
    Last edited: Oct 2, 2021
    (OP)
    Tested the Edge Chromium and have fixed the file not found issue, will upload the newer version of Toolkit, do check out.

    Code:
    ===============================================================================
              MSMG ToolKit - Integrate Microsoft Edge Chromium Browser
    ===============================================================================
    
    -------------------------------------------------------------------------------
    ####Starting Integrating Microsoft Edge Chromium Browser#######################
    -------------------------------------------------------------------------------
    
        Image                    : Install.wim
        Image Index              : 1
        Image Architecture       : x64
        Image Version            : 6.3.9600.17415.0
    
    -------------------------------------------------------------------------------
    ####Integrating Microsoft Edge Chromium Browser################################
    -------------------------------------------------------------------------------
    
    ===========================[Install.wim, Index : 1]============================
    
    -------------------------------------------------------------------------------
    Integrating Microsoft Edge Chromium Browser Package...
    -------------------------------------------------------------------------------
    
    Deployment Image Servicing and Management tool
    Version: 10.0.22000.1
    
    Image Version: 6.3.9600.17246
    
    Processing 1 of 1 - Adding package Package_for_KB5001027~31bf3856ad364e35~amd64~~6.3.1.2
    [==========================100.0%==========================]
    The operation completed successfully.
    
    -------------------------------------------------------------------------------
    Integrating Microsoft Edge Chromium Browser Group Policy Base Package...
    -------------------------------------------------------------------------------
    
    Deployment Image Servicing and Management tool
    Version: 10.0.22000.1
    
    Applying image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    -------------------------------------------------------------------------------
    Integrating Microsoft Edge Chromium Browser Group Policy [en-US] Package...
    -------------------------------------------------------------------------------
    
    Deployment Image Servicing and Management tool
    Version: 10.0.22000.1
    
    Applying image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    -------------------------------------------------------------------------------
    ####Finished Integrating Microsoft Edge Chromium Browser#######################
    -------------------------------------------------------------------------------
    
    ===============================================================================
    
    Press any key to continue . . .
    
     
  14. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,414
    15,608
    210
    Though moving the removal of Manual Setup outside the loop solves the issue of repeatedly removing the same thing, still one issue is there, when only ManualSetup has been selected for removal then the Removal will say no components selected.

    So, I have made changes to the script like this

    Code:
    :: Getting Install Image Index Architecture
    call :GetImageArchitecture "%InstallWim%", %DefaultIndexNo% >nul
    
    for %%i in (C_AdobeFlashForWindows,C_EdgeChromium,C_InternetExplorer,C_FirstLogonAnimation,C_GameExplorer,C_SnippingTool,C_SpeechRecognition,C_WindowsMediaPlayer,C_WindowsPhotoViewer,C_WinSAT,C_AssignedAccess,C_CEIP,C_FaceRecognition,C_KernelDebugging,C_LocationService,C_PicturePassword,C_PinEnrollment,C_UnifiedTelemetryClient,C_WiFiNetworkManager,C_WindowsErrorReporting,C_WindowsInsiderHub,C_HomeGroup,C_MultiPointConnector,C_RemoteAssistance,C_DeviceLockdown,C_EaseOfAccessThemes,C_EasyTransfer,C_FileHistory,C_ManualSetup,C_Paint,C_SecurityCenter,C_StepsRecorder,C_SystemRestore,C_WindowsBackup,C_WindowsFirewall,C_WindowsSubsystemForLinux,C_WindowsToGo,C_Wordpad,C_AADBrokerPlugin,C_AccountsControl,C_AssignedAccessLockApp,C_AsyncTextService,C_BioEnrollment,C_CallingShellApp,C_CapturePicker,C_CBSPreview,C_ContentDeliveryManager,C_Cortana,C_CredDialogHost,C_ECApp,C_EdgeDevToolsClient,C_Edge,C_FileExplorer,C_LockApp,C_MapControl,C_NarratorQuickStart,C_OneDrive,C_OOBENetworkCaptivePortal,C_OOBENetworkConnectionFlow,C_ParentalControls,C_PeopleExperienceHost,C_PPIProjection,C_QuickAssist,C_RetailDemoContent,C_SecureAssessmentBrowser,C_SettingSync,C_SkypeORTC,C_SmartScreen,C_Win32WebViewHost,C_WindowsDefender,C_WindowsMixedReality,C_WindowsReaderPDF,C_WindowsStoreClient,C_XboxClient,C_XboxGameCallableUI,C_XGpuEjectDialog,C_3DViewer,C_AdvertisingXaml,C_Alarms,C_BingWeather,C_BingNews,C_Calculator,C_Camera,C_ClientWebExperience,C_CommunicationsApps,C_DesktopAppInstaller,C_FeedbackHub,C_GamingApp,C_GetHelp,C_Getstarted,C_HEIFImageExtension,C_Maps,C_Messaging,C_MixedRealityPortal,C_OfficeHub,C_OfficeOneNote,C_OneConnect,C_Notepad,C_Paint3D,C_People,C_Photos,C_Print3D,C_ServicesStoreEngagement,C_PowerAutomateDesktop,C_ScreenSketch,C_SkypeApp,C_SolitaireCollection,C_SoundRecorder,C_StickyNotes,C_StorePurchaseApp,C_Terminal,C_Todos,C_VP9VideoExtensions,C_WalletService,C_WebMediaExtensions,C_WebpImageExtension,C_WindowsStoreApp,C_XboxApp,C_XboxGameOverlay,C_XboxGamingOverlay,C_XboxIdentityProvider,C_XboxSpeechToTextOverlay,C_XboxTCUI,C_YourPhone,C_ZuneMusic,C_ZuneVideo) do (
        if "%%i" neq "C_ManualSetup" if "%%i" neq "C_WindowsFirewall" if "!%%i!" equ "-" (
            for /f "tokens=2 delims=_" %%j in ("%%i") do (
                set "Components=!Components!%%j;"
            )
        )
    )
    
    if "%Components%" equ "" if "%C_ManualSetup%" equ "+" (
        echo.No Windows Components have been selected for removal...
        goto :Stop
    )
    
    echo.-------------------------------------------------------------------------------
    echo.####Starting Removing Windows Components#######################################
    echo.-------------------------------------------------------------------------------
    echo.
    echo.    Image                    : Install.wim
    echo.    Image Index              : %ImageIndexNo%
    echo.    Image Architecture       : %ImageArchitecture%
    echo.    Image Version            : %ImageVersion%.%ImageServicePackBuild%.%ImageServicePackLevel%
    echo.
    echo.-------------------------------------------------------------------------------
    echo.####Removing Windows Components################################################
    echo.-------------------------------------------------------------------------------
    
    if "%Components%" neq "" (
        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.
    
                :: Removing Windows Components
                %ToolKitHelper% "%InstallMount%\%%i" "%Components%"
            )
        )
    )
    
    if "%C_ManualSetup%" equ "-" (
        echo.
        %ToolKitHelper% "%InstallMount%\%DefaultIndexNo%" "ManualSetup"
        echo.
    )
    

    Now it works properly without any issue

    Code:
    ===============================================================================
                      MSMG ToolKit - Removing Windows Components
    ===============================================================================
    
    -------------------------------------------------------------------------------
    ####Starting Removing Windows Components#######################################
    -------------------------------------------------------------------------------
    
        Image                    : Install.wim
        Image Index              : 1
        Image Architecture       : x64
        Image Version            : 10.0.22000.1.0
    
    -------------------------------------------------------------------------------
    ####Removing Windows Components################################################
    -------------------------------------------------------------------------------
    
    ===========================[Install.wim, Index : 1]============================
    
    MSMG ToolKit Commandline Helper
    Version: 1.0.5184.0
    
    Image Version: 10.0.22000.1
    
    Component : WindowsToGo
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    MSMG ToolKit Commandline Helper
    Version: 1.0.5184.0
    
    Image Version: 10.0.22000.1
    
    Component : ManualSetup
    
    Removing Package files...
    
    The operation completed successfully.
    
    -------------------------------------------------------------------------------
    ####Finished Removing Windows Components#######################################
    -------------------------------------------------------------------------------
    
    ===============================================================================
    
    Press any key to continue . . .
    

     
  15. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,414
    15,608
    210
    To maintain Windows Update compatibility, I have made changes to the removal program to retain majority of the files and folders in WinSxS folder and so the size reduction is less than in earlier versions.

     
  16. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,414
    15,608
    210
    Those having issues with removing Widgets from Windows 11 non English source OS, the problem might be is due to NSudo or the folder path contents having special characters.

    Trying removing the same folder from NSudo cmd prompt also gives the same error

    Code:
    Microsoft Windows [Version 10.0.22458.1000]
    (c) Microsoft Corporation. All rights reserved.
    
    D:\Toolkit>rd /q /s "Mount\Install\1\Program Files\WindowsApps\MicrosoftWindows.Client.WebExperience_321.14700.0.9_x64__cw5n1h2txyewy"
    Mount\Install\1\Program Files\WindowsApps\MicrosoftWindows.Client.WebExperience_321.14700.0.9_x64__cw5n1h2txyewy\Dashboard\WebContent\node_modules\@fluentui\theme\node_modules\@uifabric\utilities\lib-amd\customizations\useCustomizationSettings.js - The system cannot find the path specified.
    Mount\Install\1\Program Files\WindowsApps\MicrosoftWindows.Client.WebExperience_321.14700.0.9_x64__cw5n1h2txyewy\Dashboard\WebContent\node_modules\@fluentui\theme\node_modules\@uifabric\utilities\lib-commonjs\customizations\CustomizerContext.js - The system cannot find the path specified.
    Mount\Install\1\Program Files\WindowsApps\MicrosoftWindows.Client.WebExperience_321.14700.0.9_x64__cw5n1h2txyewy\Dashboard\WebContent\node_modules\@fluentui\theme\node_modules\@uifabric\utilities\lib-commonjs\customizations\mergeCustomizations.js - The system cannot find the path specified.
    Mount\Install\1\Program Files\WindowsApps\MicrosoftWindows.Client.WebExperience_321.14700.0.9_x64__cw5n1h2txyewy\Dashboard\WebContent\node_modules\@fluentui\theme\node_modules\@uifabric\utilities\lib-commonjs\customizations\useCustomizationSettings.js - The system cannot find the path specified.
    Mount\Install\1\Program Files\WindowsApps\MicrosoftWindows.Client.WebExperience_321.14700.0.9_x64__cw5n1h2txyewy\Dashboard\WebContent\node_modules\@fluentui\theme\node_modules\@uifabric\utilities\lib-commonjs\renderFunction\composeRenderFunction.js - The system cannot find the path specified.
    Mount\Install\1\Program Files\WindowsApps\MicrosoftWindows.Client.WebExperience_321.14700.0.9_x64__cw5n1h2txyewy\Dashboard\WebContent\node_modules\@fluentui\theme\node_modules\@uifabric\utilities\lib-commonjs\warn\warnConditionallyRequiredProps.js - The system cannot find the path specified.
    
    D:\Toolkit>dir "Mount\Install\1\Program Files\WindowsApps\MicrosoftWindows.Client.WebExperience_321.14700.0.9_x64__cw5n1h2txyewy"
     Volume in drive D is Programs
     Volume Serial Number is 1A20-EFFF
    
     Directory of D:\Toolkit\Mount\Install\1\Program Files\WindowsApps\MicrosoftWindows.Client.WebExperience_321.14700.0.9_x64__cw5n1h2txyewy
    
    02-10-2021  20:12    <DIR>          .
    02-10-2021  20:12    <DIR>          Dashboard
                   0 File(s)              0 bytes
                   2 Dir(s)  48,027,373,568 bytes free
    
    D:\Toolkit>
    

    But this won't happen with English source images even though there is no change in contents of this folder with respective to language, will try to fix it soon.
     
  17. Tiger-1

    Tiger-1 MDL Guru

    Oct 18, 2014
    7,894
    10,734
    240
    Hello MSMG But this is already valid in version 11.8?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  18. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,414
    15,608
    210
    Yes, someone had reported about this using newer Toolkit.cmd where I had added a temporary fix for the issue but it seems it's not working.

    Initially I though it might be the issue of ToolKitHelper.exe but even using NSudo Cmd it's not getting deleting.

     
  19. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,414
    15,608
    210