1. rulman

    rulman MDL Member

    Jan 25, 2012
    105
    22
    10
    I have to manually open new folder and copy the files myself.
    Automatically when I download "WHDownloader 0.0.2.4" and "Windows 8.1"
    "Additional\Windows10" downloads files to this folder path.
    This folder path "Extra\WithoutKB3125574\_Windows10" does not exist.

    So the codes need to be updated to "Additional\Windows10" for Windows 8.1.
    WHDownloader\Updates\Windows8.1-Update3-x64\Additional\Windows10
    WHDownloader\Updates\Windows8.1-x64\Additional\Windows10
    WHDownloader\Updates\Windows7-x86\Additional\Windows10

    The downloaded folder is automatically here. "WithoutKB3125574\_Windows10"
    This is invalid.


    Also ;
    Is it normal that these two are not added?

    An error occurred trying to open - D:\Toolkit_v12.0\Temp\Updates\Windows8.1-KB3014442-x64.cab Error: 0x80070003
    An error occurred trying to open -

    KB3014442
    w81\x64\Baseline\Windows8.1-KB3014442-x64.msu

    While this folder is in the path, the installation did not occur and gave an error. Then when I put it in any other folder, it loaded automatically.
    I tried to integrate the whole system at least 5 times. I got the same error on all of them.
    "Windows Embedded 8.1 Industry Pro"
    If you have time, you can try it yourself!

    Finally, Net 4.8 KB4486105 shows that it is integrated without any problems. But we can see that when the system is opened or the package list is not integrated.
     
  2. inTerActionVRI

    inTerActionVRI MDL Expert

    Sep 23, 2009
    1,770
    3,601
    60
    In this case we have to wait for MSMG expertise. He decides what can be improved in the integrations. When I collaborate with optimizations, these optimizations are more related to code reduction (amount of characters used), but to effect the same task. With regard to this path "\WithoutKB3125574\_Windows10", He must have had some special reason to have implemented this routine in the code. My customizations are more related to menus and basic implementations unrelated to system integrations.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. inTerActionVRI

    inTerActionVRI MDL Expert

    Sep 23, 2009
    1,770
    3,601
    60
    Checks if the cab is in the folder.

    I believe a line in the code, for the extraction of this MSU, is absent.

    You can use Bandizip to manually extract the CAB package from the MSU package and check if there is a need to rename the file to "Windows8.1-KB3014442-x64.cab". Note: Extract only the cab.

    or change in Toolkit
    from:
    Code:
    :: Windows 8.1 with Update (IR3 Build : 6.3.9600.17031)
    if "%SelectedSourceOS%" equ "w81" if "%ImageServicePackBuild%" equ "17031" (
       if exist "%Updates%\Windows8.1-KB3021910-%ImageArchitecture%*.msu" expand "%Updates%\Windows8.1-KB3021910-%ImageArchitecture%*.msu" -F:Win*.cab "%Temp%\Updates" >nul
       if exist "%Updates%\Windows8.1-KB5001403-%ImageArchitecture%*.msu" expand "%Updates%\Windows8.1-KB5001403-%ImageArchitecture%*.msu" -F:Win*.cab "%Temp%\Updates" >nul
       if exist "%Updates%\Windows8.1-KB3000850-%ImageArchitecture%*.msu" expand "%Updates%\Windows8.1-KB3000850-%ImageArchitecture%*.msu" -F:Win*.cab "%Temp%\Updates" >nul
       if exist "%Updates%\Windows8.1-KB2934018-%ImageArchitecture%*.msu" expand "%Updates%\Windows8.1-KB2934018-%ImageArchitecture%*.msu" -F:Win*.cab "%Temp%\Updates" >nul
       if exist "%Updates%\Windows8.1-KB3003057-%ImageArchitecture%*.msu" expand "%Updates%\Windows8.1-KB3003057-%ImageArchitecture%*.msu" -F:Win*.cab "%Temp%\Updates" >nul
    
       :: Copy .CAB files from .MSU package files to CAB Temporary folder
       if exist "%Updates%\Windows8.1-KB3021910-%ImageArchitecture%*.cab" %XCopy% "%Updates%\Windows8.1-KB3021910-%ImageArchitecture%*.cab" "%Temp%\Updates" >nul
       if exist "%Updates%\Windows8.1-KB5001403-%ImageArchitecture%*.cab" %XCopy% "%Updates%\Windows8.1-KB5001403-%ImageArchitecture%*.cab" "%Temp%\Updates" >nul
       if exist "%Updates%\Windows8.1-KB3000850-%ImageArchitecture%*.cab" %XCopy% "%Updates%\Windows8.1-KB3000850-%ImageArchitecture%*.cab" "%Temp%\Updates" >nul
       if exist "%Updates%\Windows8.1-KB2934018-%ImageArchitecture%*.cab" %XCopy% "%Updates%\Windows8.1-KB2934018-%ImageArchitecture%*.cab" "%Temp%\Updates" >nul
       if exist "%Updates%\Windows8.1-KB3003057-%ImageArchitecture%*.cab" %XCopy% "%Updates%\Windows8.1-KB3003057-%ImageArchitecture%*.cab" "%Temp%\Updates" >nul
    )
    
    :: Windows 8.1 with Update Refresh (IR4 Build : 6.3.9600.17056)
    if "%SelectedSourceOS%" equ "w81" if "%ImageServicePackBuild%" equ "17056" (
       if exist "%Updates%\Windows8.1-KB3021910-%ImageArchitecture%*.msu" expand "%Updates%\Windows8.1-KB3021910-%ImageArchitecture%*.msu" -F:Win*.cab "%Temp%\Updates" >nul
       if exist "%Updates%\Windows8.1-KB5001403-%ImageArchitecture%*.msu" expand "%Updates%\Windows8.1-KB5001403-%ImageArchitecture%*.msu" -F:Win*.cab "%Temp%\Updates" >nul
       if exist "%Updates%\Windows8.1-KB3000850-%ImageArchitecture%*.msu" expand "%Updates%\Windows8.1-KB3000850-%ImageArchitecture%*.msu" -F:Win*.cab "%Temp%\Updates" >nul
       if exist "%Updates%\Windows8.1-KB3003057-%ImageArchitecture%*.msu" expand "%Updates%\Windows8.1-KB3003057-%ImageArchitecture%*.msu" -F:Win*.cab "%Temp%\Updates" >nul
    
       :: Copy .CAB files from .MSU package files to CAB Temporary folder
       if exist "%Updates%\Windows8.1-KB3021910-%ImageArchitecture%*.cab" %XCopy% "%Updates%\Windows8.1-KB3021910-%ImageArchitecture%*.cab" "%Temp%\Updates" >nul
       if exist "%Updates%\Windows8.1-KB5001403-%ImageArchitecture%*.cab" %XCopy% "%Updates%\Windows8.1-KB5001403-%ImageArchitecture%*.cab" "%Temp%\Updates" >nul
       if exist "%Updates%\Windows8.1-KB3000850-%ImageArchitecture%*.cab" %XCopy% "%Updates%\Windows8.1-KB3000850-%ImageArchitecture%*.cab" "%Temp%\Updates" >nul
       if exist "%Updates%\Windows8.1-KB3003057-%ImageArchitecture%*.cab" %XCopy% "%Updates%\Windows8.1-KB3003057-%ImageArchitecture%*.cab" "%Temp%\Updates" >nul
    )
    
    
    to
    Code:
    :: Windows 8.1 with Update (IR3 Build : 6.3.9600.17031)
    if "%SelectedSourceOS%" equ "w81" if "%ImageServicePackBuild%" equ "17031" (
       if exist "%Updates%\Windows8.1-KB3021910-%ImageArchitecture%*.msu" expand "%Updates%\Windows8.1-KB3021910-%ImageArchitecture%*.msu" -F:Win*.cab "%Temp%\Updates" >nul
       if exist "%Updates%\Windows8.1-KB5001403-%ImageArchitecture%*.msu" expand "%Updates%\Windows8.1-KB5001403-%ImageArchitecture%*.msu" -F:Win*.cab "%Temp%\Updates" >nul
       if exist "%Updates%\Windows8.1-KB3000850-%ImageArchitecture%*.msu" expand "%Updates%\Windows8.1-KB3000850-%ImageArchitecture%*.msu" -F:Win*.cab "%Temp%\Updates" >nul
       if exist "%Updates%\Windows8.1-KB2934018-%ImageArchitecture%*.msu" expand "%Updates%\Windows8.1-KB2934018-%ImageArchitecture%*.msu" -F:Win*.cab "%Temp%\Updates" >nul
       if exist "%Updates%\Windows8.1-KB3003057-%ImageArchitecture%*.msu" expand "%Updates%\Windows8.1-KB3003057-%ImageArchitecture%*.msu" -F:Win*.cab "%Temp%\Updates" >nul
       if exist "%Updates%\Windows8.1-KB3014442-%ImageArchitecture%*.msu" expand "%Updates%\Windows8.1-KB3014442-%ImageArchitecture%*.msu" -F:Win*.cab "%Temp%\Updates" >nul
    
       :: Copy .CAB files from .MSU package files to CAB Temporary folder
       if exist "%Updates%\Windows8.1-KB3021910-%ImageArchitecture%*.cab" %XCopy% "%Updates%\Windows8.1-KB3021910-%ImageArchitecture%*.cab" "%Temp%\Updates" >nul
       if exist "%Updates%\Windows8.1-KB5001403-%ImageArchitecture%*.cab" %XCopy% "%Updates%\Windows8.1-KB5001403-%ImageArchitecture%*.cab" "%Temp%\Updates" >nul
       if exist "%Updates%\Windows8.1-KB3000850-%ImageArchitecture%*.cab" %XCopy% "%Updates%\Windows8.1-KB3000850-%ImageArchitecture%*.cab" "%Temp%\Updates" >nul
       if exist "%Updates%\Windows8.1-KB2934018-%ImageArchitecture%*.cab" %XCopy% "%Updates%\Windows8.1-KB2934018-%ImageArchitecture%*.cab" "%Temp%\Updates" >nul
       if exist "%Updates%\Windows8.1-KB3003057-%ImageArchitecture%*.cab" %XCopy% "%Updates%\Windows8.1-KB3003057-%ImageArchitecture%*.cab" "%Temp%\Updates" >nul
       if exist "%Updates%\Windows8.1-KB3014442-%ImageArchitecture%*.cab" %XCopy% "%Updates%\Windows8.1-KB3014442-%ImageArchitecture%*.cab" "%Temp%\Updates" >nul
    )
    
    :: Windows 8.1 with Update Refresh (IR4 Build : 6.3.9600.17056)
    if "%SelectedSourceOS%" equ "w81" if "%ImageServicePackBuild%" equ "17056" (
       if exist "%Updates%\Windows8.1-KB3021910-%ImageArchitecture%*.msu" expand "%Updates%\Windows8.1-KB3021910-%ImageArchitecture%*.msu" -F:Win*.cab "%Temp%\Updates" >nul
       if exist "%Updates%\Windows8.1-KB5001403-%ImageArchitecture%*.msu" expand "%Updates%\Windows8.1-KB5001403-%ImageArchitecture%*.msu" -F:Win*.cab "%Temp%\Updates" >nul
       if exist "%Updates%\Windows8.1-KB3000850-%ImageArchitecture%*.msu" expand "%Updates%\Windows8.1-KB3000850-%ImageArchitecture%*.msu" -F:Win*.cab "%Temp%\Updates" >nul
       if exist "%Updates%\Windows8.1-KB3003057-%ImageArchitecture%*.msu" expand "%Updates%\Windows8.1-KB3003057-%ImageArchitecture%*.msu" -F:Win*.cab "%Temp%\Updates" >nul
       if exist "%Updates%\Windows8.1-KB3014442-%ImageArchitecture%*.msu" expand "%Updates%\Windows8.1-KB3014442-%ImageArchitecture%*.msu" -F:Win*.cab "%Temp%\Updates" >nul
    
       :: Copy .CAB files from .MSU package files to CAB Temporary folder
       if exist "%Updates%\Windows8.1-KB3021910-%ImageArchitecture%*.cab" %XCopy% "%Updates%\Windows8.1-KB3021910-%ImageArchitecture%*.cab" "%Temp%\Updates" >nul
       if exist "%Updates%\Windows8.1-KB5001403-%ImageArchitecture%*.cab" %XCopy% "%Updates%\Windows8.1-KB5001403-%ImageArchitecture%*.cab" "%Temp%\Updates" >nul
       if exist "%Updates%\Windows8.1-KB3000850-%ImageArchitecture%*.cab" %XCopy% "%Updates%\Windows8.1-KB3000850-%ImageArchitecture%*.cab" "%Temp%\Updates" >nul
       if exist "%Updates%\Windows8.1-KB3003057-%ImageArchitecture%*.cab" %XCopy% "%Updates%\Windows8.1-KB3003057-%ImageArchitecture%*.cab" "%Temp%\Updates" >nul
       if exist "%Updates%\Windows8.1-KB3014442-%ImageArchitecture%*.cab" %XCopy% "%Updates%\Windows8.1-KB3014442-%ImageArchitecture%*.cab" "%Temp%\Updates" >nul
    )
    
    You can verify that only the lines related to KB3014442 were added. There are 4 blocks of code. In each block, it is the last line.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. inTerActionVRI

    inTerActionVRI MDL Expert

    Sep 23, 2009
    1,770
    3,601
    60
    #21944 inTerActionVRI, Jan 3, 2022
    Last edited: Jan 5, 2022
    An example of reducing code related to the above modification:

    Not tested, but it should work.

    to change in Toolkit
    from:
    Code:
    :: Windows 8.1 RTM (Build : 6.3.9600.16384)
    if "%SelectedSourceOS%" equ "w81" if %ImageServicePackBuild% equ 16384 (
       if exist "%Updates%\Windows8.1-KB3021910-%ImageArchitecture%*.msu" expand "%Updates%\Windows8.1-KB3021910-%ImageArchitecture%*.msu" -F:Win*.cab "%Temp%\Updates" >nul
       if exist "%Updates%\RTM\Windows8.1-KB2919355-%ImageArchitecture%*.msu" expand "%Updates%\RTM\Windows8.1-KB2919355-%ImageArchitecture%*.msu" -F:Win*.cab "%Temp%\Updates" >nul
       if exist "%Updates%\Windows8.1-KB3000850-%ImageArchitecture%*.msu" expand "%Updates%\Windows8.1-KB3000850-%ImageArchitecture%*.msu" -F:Win*.cab "%Temp%\Updates" >nul
       if exist "%Updates%\RTM\Windows8.1-KB2932046-%ImageArchitecture%*.msu" expand "%Updates%\RTM\Windows8.1-KB2932046-%ImageArchitecture%*.msu" -F:Win*.cab "%Temp%\Updates" >nul
       if exist "%Updates%\Windows8.1-KB2934018-%ImageArchitecture%*.msu" expand "%Updates%\Windows8.1-KB2934018-%ImageArchitecture%*.msu" -F:Win*.cab "%Temp%\Updates" >nul
       if exist "%Updates%\RTM\Windows8.1-KB2937592-%ImageArchitecture%*.msu" expand "%Updates%\RTM\Windows8.1-KB2937592-%ImageArchitecture%*.msu" -F:Win*.cab "%Temp%\Updates" >nul
       if exist "%Updates%\RTM\Windows8.1-KB2938439-%ImageArchitecture%*.msu" expand "%Updates%\RTM\Windows8.1-KB2938439-%ImageArchitecture%*.msu" -F:Win*.cab "%Temp%\Updates" >nul
       if exist "%Updates%\RTM\Windows8.1-KB2938772-%ImageArchitecture%*.msu" expand "%Updates%\RTM\Windows8.1-KB2938772-%ImageArchitecture%*.msu" -F:Win*.cab "%Temp%\Updates" >nul
       if exist "%Updates%\Windows8.1-KB3003057-%ImageArchitecture%*.msu" expand "%Updates%\Windows8.1-KB3003057-%ImageArchitecture%*.msu" -F:Win*.cab "%Temp%\Updates" >nul
       if exist "%Updates%\Windows8.1-KB5001403-%ImageArchitecture%*.msu" expand "%Updates%\Windows8.1-KB5001403-%ImageArchitecture%*.msu" -F:Win*.cab "%Temp%\Updates" >nul
    
       :: Copy .CAB files from .MSU package files to CAB Temporary folder
       if exist "%Updates%\Windows8.1-KB3021910-%ImageArchitecture%*.cab" %XCopy% "%Updates%\Windows8.1-KB3021910-%ImageArchitecture%*.cab" "%Temp%\Updates" >nul
       if exist "%Updates%\RTM\Windows8.1-KB2919355-%ImageArchitecture%*.cab" %XCopy% "%Updates%\RTM\Windows8.1-KB2919355-%ImageArchitecture%*.cab" "%Temp%\Updates" >nul
       if exist "%Updates%\Windows8.1-KB3000850-%ImageArchitecture%*.cab" %XCopy% "%Updates%\Windows8.1-KB3000850-%ImageArchitecture%*.cab" "%Temp%\Updates" >nul
       if exist "%Updates%\RTM\Windows8.1-KB2932046-%ImageArchitecture%*.cab" %XCopy% "%Updates%\RTM\Windows8.1-KB2932046-%ImageArchitecture%*.cab" "%Temp%\Updates" >nul
       if exist "%Updates%\Windows8.1-KB2934018-%ImageArchitecture%*.cab" %XCopy% "%Updates%\Windows8.1-KB2934018-%ImageArchitecture%*.cab" "%Temp%\Updates" >nul
       if exist "%Updates%\RTM\Windows8.1-KB2937592-%ImageArchitecture%*.cab" %XCopy% "%Updates%\RTM\Windows8.1-KB2937592-%ImageArchitecture%*.cab" "%Temp%\Updates" >nul
       if exist "%Updates%\RTM\Windows8.1-KB2938439-%ImageArchitecture%*.cab" %XCopy% "%Updates%\RTM\Windows8.1-KB2938439-%ImageArchitecture%*.cab" "%Temp%\Updates" >nul
       if exist "%Updates%\RTM\Windows8.1-KB2938772-%ImageArchitecture%*.cab" %XCopy% "%Updates%\RTM\Windows8.1-KB2938772-%ImageArchitecture%*.cab" "%Temp%\Updates" >nul
       if exist "%Updates%\Windows8.1-KB3003057-%ImageArchitecture%*.cab" %XCopy% "%Updates%\Windows8.1-KB3003057-%ImageArchitecture%*.cab" "%Temp%\Updates" >nul
       if exist "%Updates%\Windows8.1-KB5001403-%ImageArchitecture%*.cab" %XCopy% "%Updates%\Windows8.1-KB5001403-%ImageArchitecture%*.cab" "%Temp%\Updates" >nul
    )
    
    :: Windows 8.1 with Update (IR3 Build : 6.3.9600.17031)
    if "%SelectedSourceOS%" equ "w81" if "%ImageServicePackBuild%" equ "17031" (
       if exist "%Updates%\Windows8.1-KB3021910-%ImageArchitecture%*.msu" expand "%Updates%\Windows8.1-KB3021910-%ImageArchitecture%*.msu" -F:Win*.cab "%Temp%\Updates" >nul
       if exist "%Updates%\Windows8.1-KB5001403-%ImageArchitecture%*.msu" expand "%Updates%\Windows8.1-KB5001403-%ImageArchitecture%*.msu" -F:Win*.cab "%Temp%\Updates" >nul
       if exist "%Updates%\Windows8.1-KB3000850-%ImageArchitecture%*.msu" expand "%Updates%\Windows8.1-KB3000850-%ImageArchitecture%*.msu" -F:Win*.cab "%Temp%\Updates" >nul
       if exist "%Updates%\Windows8.1-KB2934018-%ImageArchitecture%*.msu" expand "%Updates%\Windows8.1-KB2934018-%ImageArchitecture%*.msu" -F:Win*.cab "%Temp%\Updates" >nul
       if exist "%Updates%\Windows8.1-KB3003057-%ImageArchitecture%*.msu" expand "%Updates%\Windows8.1-KB3003057-%ImageArchitecture%*.msu" -F:Win*.cab "%Temp%\Updates" >nul
    
       :: Copy .CAB files from .MSU package files to CAB Temporary folder
       if exist "%Updates%\Windows8.1-KB3021910-%ImageArchitecture%*.cab" %XCopy% "%Updates%\Windows8.1-KB3021910-%ImageArchitecture%*.cab" "%Temp%\Updates" >nul
       if exist "%Updates%\Windows8.1-KB5001403-%ImageArchitecture%*.cab" %XCopy% "%Updates%\Windows8.1-KB5001403-%ImageArchitecture%*.cab" "%Temp%\Updates" >nul
       if exist "%Updates%\Windows8.1-KB3000850-%ImageArchitecture%*.cab" %XCopy% "%Updates%\Windows8.1-KB3000850-%ImageArchitecture%*.cab" "%Temp%\Updates" >nul
       if exist "%Updates%\Windows8.1-KB2934018-%ImageArchitecture%*.cab" %XCopy% "%Updates%\Windows8.1-KB2934018-%ImageArchitecture%*.cab" "%Temp%\Updates" >nul
       if exist "%Updates%\Windows8.1-KB3003057-%ImageArchitecture%*.cab" %XCopy% "%Updates%\Windows8.1-KB3003057-%ImageArchitecture%*.cab" "%Temp%\Updates" >nul
    )
    
    :: Windows 8.1 with Update Refresh (IR4 Build : 6.3.9600.17056)
    if "%SelectedSourceOS%" equ "w81" if "%ImageServicePackBuild%" equ "17056" (
       if exist "%Updates%\Windows8.1-KB3021910-%ImageArchitecture%*.msu" expand "%Updates%\Windows8.1-KB3021910-%ImageArchitecture%*.msu" -F:Win*.cab "%Temp%\Updates" >nul
       if exist "%Updates%\Windows8.1-KB5001403-%ImageArchitecture%*.msu" expand "%Updates%\Windows8.1-KB5001403-%ImageArchitecture%*.msu" -F:Win*.cab "%Temp%\Updates" >nul
       if exist "%Updates%\Windows8.1-KB3000850-%ImageArchitecture%*.msu" expand "%Updates%\Windows8.1-KB3000850-%ImageArchitecture%*.msu" -F:Win*.cab "%Temp%\Updates" >nul
       if exist "%Updates%\Windows8.1-KB3003057-%ImageArchitecture%*.msu" expand "%Updates%\Windows8.1-KB3003057-%ImageArchitecture%*.msu" -F:Win*.cab "%Temp%\Updates" >nul
    
       :: Copy .CAB files from .MSU package files to CAB Temporary folder
       if exist "%Updates%\Windows8.1-KB3021910-%ImageArchitecture%*.cab" %XCopy% "%Updates%\Windows8.1-KB3021910-%ImageArchitecture%*.cab" "%Temp%\Updates" >nul
       if exist "%Updates%\Windows8.1-KB5001403-%ImageArchitecture%*.cab" %XCopy% "%Updates%\Windows8.1-KB5001403-%ImageArchitecture%*.cab" "%Temp%\Updates" >nul
       if exist "%Updates%\Windows8.1-KB3000850-%ImageArchitecture%*.cab" %XCopy% "%Updates%\Windows8.1-KB3000850-%ImageArchitecture%*.cab" "%Temp%\Updates" >nul
       if exist "%Updates%\Windows8.1-KB3003057-%ImageArchitecture%*.cab" %XCopy% "%Updates%\Windows8.1-KB3003057-%ImageArchitecture%*.cab" "%Temp%\Updates" >nul
    )
    
    :: Windows 8.1 with Update Refresh (IR5 Build : 6.3.9600.17415)
    if "%SelectedSourceOS%" equ "w81" if "%ImageServicePackBuild%" equ "17415" (
       if exist "%Updates%\Windows8.1-KB3021910-%ImageArchitecture%*.msu" expand "%Updates%\Windows8.1-KB3021910-%ImageArchitecture%*.msu" -F:Win*.cab "%Temp%\Updates" >nul
       if exist "%Updates%\Windows8.1-KB5001403-%ImageArchitecture%*.msu" expand "%Updates%\Windows8.1-KB5001403-%ImageArchitecture%*.msu" -F:Win*.cab "%Temp%\Updates" >nul
    
       :: Copy .CAB files from .MSU package files to CAB Temporary folder
       if exist "%Updates%\Windows8.1-KB3021910-%ImageArchitecture%*.cab" %XCopy% "%Updates%\Windows8.1-KB3021910-%ImageArchitecture%*.cab" "%Temp%\Updates" >nul
       if exist "%Updates%\Windows8.1-KB5001403-%ImageArchitecture%*.cab" %XCopy% "%Updates%\Windows8.1-KB5001403-%ImageArchitecture%*.cab" "%Temp%\Updates" >nul
    )
    
    to
    Code:
    :: Windows 8.1
    if "%SelectedSourceOS%" equ "w81" (
       for %%# in (
           2919355
           2932046
           2937592
           2938439
           2938772
       ) do (
           set "KB%%#=RTM"
       )
    
       for %%# in (
           3021910
           2919355
           3000850
           2932046
           2934018
           2937592
           2938439
           2938772
           3003057
           5001403
           3014442
       ) do (
           :: RTM ^(Build : 6.3.9600.16384^)
           if "%ImageServicePackBuild%" equ "16384" (
               if "!KB%%#!" equ "" if exist "%Updates%\Windows8.1-KB%%#-%ImageArchitecture%*.msu" expand "%Updates%\Windows8.1-KB%%#-%ImageArchitecture%*.msu" -F:Win*.cab "%Temp%\Updates" >nul
               if "!KB%%#!" equ "RTM" if exist "%Updates%\RTM\Windows8.1-KB%%#-%ImageArchitecture%*.msu" expand "%Updates%\RTM\Windows8.1-KB%%#-%ImageArchitecture%*.msu" -F:Win*.cab "%Temp%\Updates" >nul
               :: Copy .CAB files from .MSU package files to CAB Temporary folder
               if "!KB%%#!" equ "" if exist "%Updates%\Windows8.1-KB%%#-%ImageArchitecture%*.cab" %XCopy% "%Updates%\Windows8.1-KB3021910-%ImageArchitecture%*.cab" "%Temp%\Updates" >nul
               if "!KB%%#!" equ "RTM" if exist "%Updates%\RTM\Windows8.1-KB%%#-%ImageArchitecture%*.cab" %XCopy% "%Updates%\RTM\Windows8.1-KB%%#-%ImageArchitecture%*.cab" "%Temp%\Updates" >nul
           )
           :: with Update ^(IR3 Build : 6.3.9600.17031^)
           if "%ImageServicePackBuild%" equ "17031" if "!KB%%#!" equ "" (
               if exist "%Updates%\Windows8.1-KB%%#-%ImageArchitecture%*.msu" expand "%Updates%\Windows8.1-KB%%#-%ImageArchitecture%*.msu" -F:Win*.cab "%Temp%\Updates" >nul
               :: Copy .CAB files from .MSU package files to CAB Temporary folder
               if exist "%Updates%\Windows8.1-KB%%#-%ImageArchitecture%*.cab" %XCopy% "%Updates%\Windows8.1-KB%%#-%ImageArchitecture%*.cab" "%Temp%\Updates" >nul
           )
           :: with Update Refresh ^(IR4 Build : 6.3.9600.17056^)
           if "%ImageServicePackBuild%" equ "17056" if "!KB%%#!" equ "" if "%%#" neq "2934018" (
               if exist "%Updates%\Windows8.1-KB%%#-%ImageArchitecture%*.msu" expand "%Updates%\Windows8.1-KB%%#-%ImageArchitecture%*.msu" -F:Win*.cab "%Temp%\Updates" >nul
               :: Copy .CAB files from .MSU package files to CAB Temporary folder
               if exist "%Updates%\Windows8.1-KB%%#-%ImageArchitecture%*.cab" %XCopy% "%Updates%\Windows8.1-KB%%#-%ImageArchitecture%*.cab" "%Temp%\Updates" >nul
           )
           :: with Update Refresh ^(IR5 Build : 6.3.9600.17415^)
           if "%ImageServicePackBuild%" equ "17415" if "!KB%%#!" equ "" if "%%#" neq "2934018" if "%%#" neq "3000850" if "%%#" neq "3003057" if "%%#" neq "3014442" (
               if exist "%Updates%\Windows8.1-KB%%#-%ImageArchitecture%*.msu" expand "%Updates%\Windows8.1-KB%%#-%ImageArchitecture%*.msu" -F:Win*.cab "%Temp%\Updates" >nul
               :: Copy .CAB files from .MSU package files to CAB Temporary folder
               if exist "%Updates%\Windows8.1-KB%%#-%ImageArchitecture%*.cab" %XCopy% "%Updates%\Windows8.1-KB%%#-%ImageArchitecture%*.cab" "%Temp%\Updates" >nul
           )
       )
    )
    
    EDIT: Optimized and shortened for the entire session (Windows 8.1) for extraction of the .cab packages from .msu packages.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. rulman

    rulman MDL Member

    Jan 25, 2012
    105
    22
    10
  6. inTerActionVRI

    inTerActionVRI MDL Expert

    Sep 23, 2009
    1,770
    3,601
    60
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  7. rulman

    rulman MDL Member

    Jan 25, 2012
    105
    22
    10
    @inTerActionVRI
    Thank you very much for your patience and interest.
    I'll test when the new version is released (updated).

    In addition, addons packages have not been released yet.
    For example, the packages I use the most are; "NetFX48" and "VCRuntime"
     
  8. Ace2

    Ace2 MDL Guru

    Oct 10, 2014
    2,206
    1,909
    90
    #21948 Ace2, Jan 4, 2022
    Last edited: Jan 5, 2022
    Windows 10.0.19041.1 Core - uninstall a SystemApps manually.

    Update: add code to AddSuggestedFoldersToLibraryDialog.bat
    Code:
    Reg.exe delete "HKLM\SOFTWAR\Microsoft\Windows\CurrentVersion\Appx\AppxAllUserStore\InboxApplications\F46D4000-FD22-4DB4-AC8E-4E1DDDE828FE_10.0.19041.1_neutral_neutral_cw5n1h2txyewy" /f
    AddSuggestedFoldersToLibraryDialog.bat
    Code:
    @Echo On
    
    Reg.exe load HKLM\SOFTWAR C:\mount\Windows\System32\config\SOFTWARE
    
    Reg.exe add "HKLM\SOFTWAR\Microsoft\Windows\CurrentVersion\Appx\AppxAllUserStore\Applications\F46D4000-FD22-4DB4-AC8E-4E1DDDE828FE_10.0.19041.1_neutral_neutral_cw5n1h2txyewy" /v "Path" /t REG_SZ /d "X:\Windows\SystemApps\Microsoft.Windows.AddSuggestedFoldersToLibraryDialog_cw5n1h2txyewy\AppxManifest.xml" /f
    Reg.exe delete "HKLM\SOFTWAR\Microsoft\Windows\CurrentVersion\SideBySide\Winners\amd64_microsoft-windows-a...appxmain.resources_31bf3856ad364e35_en-us_32cf6d05fdc40b74" /f
    Reg.exe delete "HKLM\SOFTWAR\Microsoft\Windows\CurrentVersion\SideBySide\Winners\amd64_microsoft-windows-a..rarydialog.appxmain_31bf3856ad364e35_none_7409fa9449a78a23" /f
    Reg.exe delete "HKLM\SOFTWAR\Microsoft\Windows\CurrentVersion\SideBySide\Winners\amd64_microsoft-windows-a..arydialog.appxsetup_31bf3856ad364e35_none_a172054253f1a9b7" /f
    
    Reg.exe unload HKLM\SOFTWAR
    
    PowerShell -C "Get-AppXProvisionedPackage -Path C:\mount | Remove-AppxProvisionedPackage -Path C:\mount"
    
    rmdir /q /s C:\mount\Windows\SystemApps\Microsoft.Windows.AddSuggestedFoldersToLibraryDialog_cw5n1h2txyewy
    
    sfc /scannow /offbootdir=C:\mount /offwindir=C:\mount\windows
    pause
    Result
    Code:
    C:\Program Files\PowerRun>Reg.exe load HKLM\SOFTWAR C:\mount\Windows\System32\config\SOFTWARE
    The operation completed successfully.
    
    C:\Program Files\PowerRun>Reg.exe add "HKLM\SOFTWAR\Microsoft\Windows\CurrentVersion\Appx\AppxAllUserStore\Applications\F46D4000-FD22-4DB4-AC8E-4E1DDDE828FE_10.0.19041.1_neutral_neutral_cw5n1h2txyewy" /v "Path" /t REG_SZ /d "X:\Windows\SystemApps\Microsoft.Windows.AddSuggestedFoldersToLibraryDialog_cw5n1h2txyewy\AppxManifest.xml" /f
    The operation completed successfully.
    
    C:\Program Files\PowerRun>Reg.exe delete "HKLM\SOFTWAR\Microsoft\Windows\CurrentVersion\SideBySide\Winners\amd64_microsoft-windows-a...appxmain.resources_31bf3856ad364e35_en-us_32cf6d05fdc40b74" /f
    The operation completed successfully.
    
    C:\Program Files\PowerRun>Reg.exe delete "HKLM\SOFTWAR\Microsoft\Windows\CurrentVersion\SideBySide\Winners\amd64_microsoft-windows-a..rarydialog.appxmain_31bf3856ad364e35_none_7409fa9449a78a23" /f
    The operation completed successfully.
    
    C:\Program Files\PowerRun>Reg.exe delete "HKLM\SOFTWAR\Microsoft\Windows\CurrentVersion\SideBySide\Winners\amd64_microsoft-windows-a..arydialog.appxsetup_31bf3856ad364e35_none_a172054253f1a9b7" /f
    The operation completed successfully.
    
    C:\Program Files\PowerRun>Reg.exe unload HKLM\SOFTWAR
    The operation completed successfully.
    
    C:\Program Files\PowerRun>PowerShell -C "Get-AppXProvisionedPackage -Path C:\mount | Remove-AppxProvisionedPackage -Path C:\mount"
    
    
    Path          : C:\mount
    Online        : False
    RestartNeeded : False
    
    
    C:\Program Files\PowerRun>rmdir /q /s C:\mount\Windows\SystemApps\Microsoft.Windows.AddSuggestedFoldersToLibraryDialog_cw5n1h2txyewy
    
    C:\Program Files\PowerRun>sfc /scannow /offbootdir=C:\mount /offwindir=C:\mount\windows
    
    Beginning system scan.  This process will take some time.
    
    
    Windows Resource Protection did not find any integrity violations.
    
    C:\Program Files\PowerRun>pause
    Press any key to continue . . .
     
  9. ingviowarr

    ingviowarr MDL Senior Member

    Dec 14, 2009
    345
    363
    10
    #21949 ingviowarr, Jan 4, 2022
    Last edited: Jan 5, 2022
    @Ace2

    I have a small questions.

    1) Does this preserve the ability to pin folders to the "Quck Access" after removal of the "AddSuggestedFoldersToLibraryDialog"?
    (I'm really not intersted in "Library" at all, but interested in pinning folders to "Quck Access").

    2) Can your template be used for others SystemApps removal?

    Thanks.
     
  10. Ace2

    Ace2 MDL Guru

    Oct 10, 2014
    2,206
    1,909
    90
    1)Don't know
    2)Yes but you would need to find the right
    Code:
    appxmain.resources
    .appxmain
    .appxsetup
    for others SystemApps
     
  11. Ace2

    Ace2 MDL Guru

    Oct 10, 2014
    2,206
    1,909
    90
    Windows 10.0.19041.1 Core - uninstall SystemApps manually.
    TEST.bat
    Code:
    @Echo On
    
    Reg.exe load HKLM\SOFTWAR C:\mount\Windows\System32\config\SOFTWARE
    
    Reg.exe add "HKLM\SOFTWAR\Microsoft\Windows\CurrentVersion\Appx\AppxAllUserStore\Deprovisioned\F46D4000-FD22-4DB4-AC8E-4E1DDDE828FE_cw5n1h2txyewy" /f
    Reg.exe delete "HKLM\SOFTWAR\Microsoft\Windows\CurrentVersion\Appx\AppxAllUserStore\InboxApplications\F46D4000-FD22-4DB4-AC8E-4E1DDDE828FE_10.0.19041.1_neutral_neutral_cw5n1h2txyewy" /f
    Reg.exe delete "HKLM\SOFTWAR\Microsoft\Windows\CurrentVersion\SideBySide\Winners\amd64_microsoft-windows-a...appxmain.resources_31bf3856ad364e35_en-us_32cf6d05fdc40b74" /f
    Reg.exe delete "HKLM\SOFTWAR\Microsoft\Windows\CurrentVersion\SideBySide\Winners\amd64_microsoft-windows-a..rarydialog.appxmain_31bf3856ad364e35_none_7409fa9449a78a23" /f
    Reg.exe delete "HKLM\SOFTWAR\Microsoft\Windows\CurrentVersion\SideBySide\Winners\amd64_microsoft-windows-a..arydialog.appxsetup_31bf3856ad364e35_none_a172054253f1a9b7" /f
    
    Reg.exe add "HKLM\SOFTWAR\Microsoft\Windows\CurrentVersion\Appx\AppxAllUserStore\Deprovisioned\E2A4F912-2574-4A75-9BB0-0D023378592B_cw5n1h2txyewy" /f
    Reg.exe delete "HKLM\SOFTWAR\Microsoft\Windows\CurrentVersion\Appx\AppxAllUserStore\InboxApplications\E2A4F912-2574-4A75-9BB0-0D023378592B_10.0.19041.1_neutral_neutral_cw5n1h2txyewy" /f
    Reg.exe delete "HKLM\SOFTWAR\Microsoft\Windows\CurrentVersion\SideBySide\Winners\amd64_microsoft-windows-a...appxmain.resources_31bf3856ad364e35_en-us_6083dc0710847ae5" /f
    Reg.exe delete "HKLM\SOFTWAR\Microsoft\Windows\CurrentVersion\SideBySide\Winners\amd64_microsoft-windows-appresolverux.appxmain_31bf3856ad364e35_none_a1f93ca5320d2384" /f
    Reg.exe delete "HKLM\SOFTWAR\Microsoft\Windows\CurrentVersion\SideBySide\Winners\amd64_microsoft-windows-a..esolverux.appxsetup_31bf3856ad364e35_none_e58e74a63f603e16" /f
    
    Reg.exe add "HKLM\SOFTWAR\Microsoft\Windows\CurrentVersion\Appx\AppxAllUserStore\Deprovisioned\1527c705-839a-4832-9118-54d4Bd6a0c89_cw5n1h2txyewy" /f
    Reg.exe delete "HKLM\SOFTWAR\Microsoft\Windows\CurrentVersion\Appx\AppxAllUserStore\InboxApplications\1527c705-839a-4832-9118-54d4Bd6a0c89_10.0.19041.1_neutral_neutral_cw5n1h2txyewy" /f
    Reg.exe delete "HKLM\SOFTWAR\Microsoft\Windows\CurrentVersion\SideBySide\Winners\amd64_microsoft-windows-f...appxmain.resources_31bf3856ad364e35_en-us_b5eb82abefa1f12b" /f
    Reg.exe delete "HKLM\SOFTWAR\Microsoft\Windows\CurrentVersion\SideBySide\Winners\amd64_microsoft-windows-filepicker.appxmain_31bf3856ad364e35_none_bd25e61e0cfac8ac" /f
    Reg.exe delete "HKLM\SOFTWAR\Microsoft\Windows\CurrentVersion\SideBySide\Winners\amd64_microsoft-windows-filepicker.appxsetup_31bf3856ad364e35_none_ff4acfec37ce9656" /f
    
    Reg.exe unload HKLM\SOFTWAR
    
    rmdir /q /s C:\mount\Windows\SystemApps\Microsoft.Windows.AddSuggestedFoldersToLibraryDialog_cw5n1h2txyewy
    rmdir /q /s C:\mount\Windows\SystemApps\Microsoft.Windows.AppResolverUX_cw5n1h2txyewy
    rmdir /q /s C:\mount\Windows\SystemApps\Microsoft.Windows.FilePicker_cw5n1h2txyewy
    
    sfc /scannow /offbootdir=C:\mount /offwindir=C:\mount\windows
    pause
    Results:
    Code:
    C:\Program Files\PowerRun>Reg.exe load HKLM\SOFTWAR C:\mount\Windows\System32\config\SOFTWARE
    The operation completed successfully.
    
    C:\Program Files\PowerRun>Reg.exe add "HKLM\SOFTWAR\Microsoft\Windows\CurrentVersion\Appx\AppxAllUserStore\Deprovisioned\F46D4000-FD22-4DB4-AC8E-4E1DDDE828FE_cw5n1h2txyewy" /f
    The operation completed successfully.
    
    C:\Program Files\PowerRun>Reg.exe delete "HKLM\SOFTWAR\Microsoft\Windows\CurrentVersion\Appx\AppxAllUserStore\InboxApplications\F46D4000-FD22-4DB4-AC8E-4E1DDDE828FE_10.0.19041.1_neutral_neutral_cw5n1h2txyewy" /f
    The operation completed successfully.
    
    C:\Program Files\PowerRun>Reg.exe delete "HKLM\SOFTWAR\Microsoft\Windows\CurrentVersion\SideBySide\Winners\amd64_microsoft-windows-a...appxmain.resources_31bf3856ad364e35_en-us_32cf6d05fdc40b74" /f
    The operation completed successfully.
    
    C:\Program Files\PowerRun>Reg.exe delete "HKLM\SOFTWAR\Microsoft\Windows\CurrentVersion\SideBySide\Winners\amd64_microsoft-windows-a..rarydialog.appxmain_31bf3856ad364e35_none_7409fa9449a78a23" /f
    The operation completed successfully.
    
    C:\Program Files\PowerRun>Reg.exe delete "HKLM\SOFTWAR\Microsoft\Windows\CurrentVersion\SideBySide\Winners\amd64_microsoft-windows-a..arydialog.appxsetup_31bf3856ad364e35_none_a172054253f1a9b7" /f
    The operation completed successfully.
    
    C:\Program Files\PowerRun>Reg.exe add "HKLM\SOFTWAR\Microsoft\Windows\CurrentVersion\Appx\AppxAllUserStore\Deprovisioned\E2A4F912-2574-4A75-9BB0-0D023378592B_cw5n1h2txyewy" /f
    The operation completed successfully.
    
    C:\Program Files\PowerRun>Reg.exe delete "HKLM\SOFTWAR\Microsoft\Windows\CurrentVersion\Appx\AppxAllUserStore\InboxApplications\E2A4F912-2574-4A75-9BB0-0D023378592B_10.0.19041.1_neutral_neutral_cw5n1h2txyewy" /f
    The operation completed successfully.
    
    C:\Program Files\PowerRun>Reg.exe delete "HKLM\SOFTWAR\Microsoft\Windows\CurrentVersion\SideBySide\Winners\amd64_microsoft-windows-a...appxmain.resources_31bf3856ad364e35_en-us_6083dc0710847ae5" /f
    The operation completed successfully.
    
    C:\Program Files\PowerRun>Reg.exe delete "HKLM\SOFTWAR\Microsoft\Windows\CurrentVersion\SideBySide\Winners\amd64_microsoft-windows-appresolverux.appxmain_31bf3856ad364e35_none_a1f93ca5320d2384" /f
    The operation completed successfully.
    
    C:\Program Files\PowerRun>Reg.exe delete "HKLM\SOFTWAR\Microsoft\Windows\CurrentVersion\SideBySide\Winners\amd64_microsoft-windows-a..esolverux.appxsetup_31bf3856ad364e35_none_e58e74a63f603e16" /f
    The operation completed successfully.
    
    C:\Program Files\PowerRun>Reg.exe add "HKLM\SOFTWAR\Microsoft\Windows\CurrentVersion\Appx\AppxAllUserStore\Deprovisioned\1527c705-839a-4832-9118-54d4Bd6a0c89_cw5n1h2txyewy" /f
    The operation completed successfully.
    
    C:\Program Files\PowerRun>Reg.exe delete "HKLM\SOFTWAR\Microsoft\Windows\CurrentVersion\Appx\AppxAllUserStore\InboxApplications\1527c705-839a-4832-9118-54d4Bd6a0c89_10.0.19041.1_neutral_neutral_cw5n1h2txyewy" /f
    The operation completed successfully.
    
    C:\Program Files\PowerRun>Reg.exe delete "HKLM\SOFTWAR\Microsoft\Windows\CurrentVersion\SideBySide\Winners\amd64_microsoft-windows-f...appxmain.resources_31bf3856ad364e35_en-us_b5eb82abefa1f12b" /f
    The operation completed successfully.
    
    C:\Program Files\PowerRun>Reg.exe delete "HKLM\SOFTWAR\Microsoft\Windows\CurrentVersion\SideBySide\Winners\amd64_microsoft-windows-filepicker.appxmain_31bf3856ad364e35_none_bd25e61e0cfac8ac" /f
    The operation completed successfully.
    
    C:\Program Files\PowerRun>Reg.exe delete "HKLM\SOFTWAR\Microsoft\Windows\CurrentVersion\SideBySide\Winners\amd64_microsoft-windows-filepicker.appxsetup_31bf3856ad364e35_none_ff4acfec37ce9656" /f
    The operation completed successfully.
    
    C:\Program Files\PowerRun>Reg.exe unload HKLM\SOFTWAR
    The operation completed successfully.
    
    C:\Program Files\PowerRun>rmdir /q /s C:\mount\Windows\SystemApps\Microsoft.Windows.AddSuggestedFoldersToLibraryDialog_cw5n1h2txyewy
    
    C:\Program Files\PowerRun>rmdir /q /s C:\mount\Windows\SystemApps\Microsoft.Windows.AppResolverUX_cw5n1h2txyewy
    
    C:\Program Files\PowerRun>rmdir /q /s C:\mount\Windows\SystemApps\Microsoft.Windows.FilePicker_cw5n1h2txyewy
    
    C:\Program Files\PowerRun>sfc /scannow /offbootdir=C:\mount /offwindir=C:\mount\windows
    
    Beginning system scan.  This process will take some time.
    
    
    Windows Resource Protection did not find any integrity violations.
    
    C:\Program Files\PowerRun>pause
    Press any key to continue . . .
     
  12. Tiger-1

    Tiger-1 MDL Guru

    Oct 18, 2014
    8,326
    11,604
    270
    @Ace2
    very good job friend congrats :thumbsup:
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  13. Tiger-1

    Tiger-1 MDL Guru

    Oct 18, 2014
    8,326
    11,604
    270
    This dawn made a new job using the image of the w10 IOT LTSC x64 and what was my surprise about the final size of the ISO only 2.3.gb and my first impression is that this version is the best of all of Windows 10 that already I modified; I have to thank once again @MSMG and also to the new PS version 7.2.1
    :D
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  14. Jingzin

    Jingzin MDL Addicted

    Nov 10, 2021
    666
    536
    30
    I like win 11 better its more resource hungry but looks better.
     
  15. Tiger-1

    Tiger-1 MDL Guru

    Oct 18, 2014
    8,326
    11,604
    270
    Ok I respect your opinion but I do not even want to hear about such Windows 11! ;):D
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  16. ingviowarr

    ingviowarr MDL Senior Member

    Dec 14, 2009
    345
    363
    10
    @Ace2

    1) Better change "\SOFTWAR\" name to smth. more customized, then it will not look like a typo.
    For example to \SOFT_WARS\
    ;)

    2) NOTE for those who want try "TEST.bat" :

    E2A4F912-2574-4A75-9BB0-0D023378592B - AppResolverUX
    Probably, the most important app among ALL apps.

    If you kill almost/all UWP apps but AppResolverUX, then you can still successfully install Apps/DCH drivers via PowerShell , etc.
    If you kill AppResolverUX too, then you may forget about apps at all (e.g. when you want kill ALL UWP and Store).

    In other words, if you need Apps/DCH drivers, then you better don't touch AppResolverUX
     
  17. inTerActionVRI

    inTerActionVRI MDL Expert

    Sep 23, 2009
    1,770
    3,601
    60
    #21957 inTerActionVRI, Jan 5, 2022
    Last edited: Jan 5, 2022
    It could be APPXWAR or UWPWAR or as ingviowarr said: APPXWARS or UWPWARS.


    The war against the built-in UWP APPX. :D:D:D:p
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  18. qkwxx

    qkwxx MDL Novice

    Jul 22, 2015
    19
    3
    0
    How to prevent deleted components from being restored by the update patch?
     
  19. Ace2

    Ace2 MDL Guru

    Oct 10, 2014
    2,206
    1,909
    90
    ToolKitHelper 1.0.5724.0 & APPX_WARS.cmd operated from C:\ with PowerRun v1.5. [Offline image used Windows 10.0.19041.1 Core]

    Important info about AppResolverUX / E2A4F912-2574-4A75-9BB0-0D023378592B Posted by @ingviowarr
    forums.mydigitallife.net/threads/msmg-toolkit.50572/page-1100#post-1715799

    Code:
    @Echo On
    
    set mountdir=c:\mount
    
    setlocal enabledelayedexpansion
    
    Reg.exe load HKLM\APPX_WARS !MOUNTDIR!\Windows\System32\config\SOFTWARE
    
    Reg.exe add "HKLM\APPX_WARS\Microsoft\Windows\CurrentVersion\Appx\AppxAllUserStore\Deprovisioned\1527c705-839a-4832-9118-54d4Bd6a0c89_cw5n1h2txyewy" /f
    Reg.exe delete "HKLM\APPX_WARS\Microsoft\Windows\CurrentVersion\Appx\AppxAllUserStore\InboxApplications\1527c705-839a-4832-9118-54d4Bd6a0c89_10.0.19041.1_neutral_neutral_cw5n1h2txyewy" /f
    Reg.exe delete "HKLM\APPX_WARS\Microsoft\Windows\CurrentVersion\SideBySide\Winners\amd64_microsoft-windows-f...appxmain.resources_31bf3856ad364e35_en-us_b5eb82abefa1f12b" /f
    Reg.exe delete "HKLM\APPX_WARS\Microsoft\Windows\CurrentVersion\SideBySide\Winners\amd64_microsoft-windows-filepicker.appxmain_31bf3856ad364e35_none_bd25e61e0cfac8ac" /f
    Reg.exe delete "HKLM\APPX_WARS\Microsoft\Windows\CurrentVersion\SideBySide\Winners\amd64_microsoft-windows-filepicker.appxsetup_31bf3856ad364e35_none_ff4acfec37ce9656" /f
    
    Reg.exe add "HKLM\APPX_WARS\Microsoft\Windows\CurrentVersion\Appx\AppxAllUserStore\Deprovisioned\E2A4F912-2574-4A75-9BB0-0D023378592B_cw5n1h2txyewy" /f
    Reg.exe delete "HKLM\APPX_WARS\Microsoft\Windows\CurrentVersion\Appx\AppxAllUserStore\InboxApplications\E2A4F912-2574-4A75-9BB0-0D023378592B_10.0.19041.1_neutral_neutral_cw5n1h2txyewy" /f
    Reg.exe delete "HKLM\APPX_WARS\Microsoft\Windows\CurrentVersion\SideBySide\Winners\amd64_microsoft-windows-a...appxmain.resources_31bf3856ad364e35_en-us_6083dc0710847ae5" /f
    Reg.exe delete "HKLM\APPX_WARS\Microsoft\Windows\CurrentVersion\SideBySide\Winners\amd64_microsoft-windows-appresolverux.appxmain_31bf3856ad364e35_none_a1f93ca5320d2384" /f
    Reg.exe delete "HKLM\APPX_WARS\Microsoft\Windows\CurrentVersion\SideBySide\Winners\amd64_microsoft-windows-a..esolverux.appxsetup_31bf3856ad364e35_none_e58e74a63f603e16" /f
    
    Reg.exe add "HKLM\APPX_WARS\Microsoft\Windows\CurrentVersion\Appx\AppxAllUserStore\Deprovisioned\F46D4000-FD22-4DB4-AC8E-4E1DDDE828FE_cw5n1h2txyewy" /f
    Reg.exe delete "HKLM\APPX_WARS\Microsoft\Windows\CurrentVersion\Appx\AppxAllUserStore\InboxApplications\F46D4000-FD22-4DB4-AC8E-4E1DDDE828FE_10.0.19041.1_neutral_neutral_cw5n1h2txyewy" /f
    Reg.exe delete "HKLM\APPX_WARS\Microsoft\Windows\CurrentVersion\SideBySide\Winners\amd64_microsoft-windows-a...appxmain.resources_31bf3856ad364e35_en-us_32cf6d05fdc40b74" /f
    Reg.exe delete "HKLM\APPX_WARS\Microsoft\Windows\CurrentVersion\SideBySide\Winners\amd64_microsoft-windows-a..rarydialog.appxmain_31bf3856ad364e35_none_7409fa9449a78a23" /f
    Reg.exe delete "HKLM\APPX_WARS\Microsoft\Windows\CurrentVersion\SideBySide\Winners\amd64_microsoft-windows-a..arydialog.appxsetup_31bf3856ad364e35_none_a172054253f1a9b7" /f
    
    Reg.exe add "HKLM\APPX_WARS\Microsoft\Windows\CurrentVersion\Appx\AppxAllUserStore\Deprovisioned\Microsoft.Windows.PinningConfirmationDialog_cw5n1h2txyewy" /f
    Reg.exe delete "HKLM\APPX_WARS\Microsoft\Windows\CurrentVersion\Appx\AppxAllUserStore\InboxApplications\Microsoft.Windows.PinningConfirmationDialog_10.0.19041.1_neutral_neutral_cw5n1h2txyewy" /f
    Reg.exe delete "HKLM\APPX_WARS\Microsoft\Windows\CurrentVersion\SideBySide\Winners\amd64_microsoft-windows-p...appxmain.resources_31bf3856ad364e35_en-us_c37c84ddd3d5df85" /f
    Reg.exe delete "HKLM\APPX_WARS\Microsoft\Windows\CurrentVersion\SideBySide\Winners\amd64_microsoft-windows-p..tiondialog.appxmain_31bf3856ad364e35_none_7cb8b2a393d7f80e" /f
    Reg.exe delete "HKLM\APPX_WARS\Microsoft\Windows\CurrentVersion\SideBySide\Winners\amd64_microsoft-windows-p..iondialog.appxsetup_31bf3856ad364e35_none_bda72ef1232417a6" /f
    
    Reg.exe add "HKLM\APPX_WARS\Microsoft\Windows\CurrentVersion\Appx\AppxAllUserStore\Deprovisioned\MicrosoftWindows.Client.CBS_cw5n1h2txyewy" /f
    Reg.exe delete "HKLM\APPX_WARS\Microsoft\Windows\CurrentVersion\Appx\AppxAllUserStore\InboxApplications\MicrosoftWindows.Client.CBS_119.21101.11830.0_neutral_neutral_cw5n1h2txyewy" /f
    Reg.exe delete "HKLM\APPX_WARS\Microsoft\Windows\CurrentVersion\SideBySide\Winners\amd64_microsoft-windows-u..resources.resources_31bf3856ad364e35_en-us_eabb6232981f4fff" /f
    
    Reg.exe add "HKLM\APPX_WARS\Microsoft\Windows\CurrentVersion\Appx\AppxAllUserStore\Deprovisioned\MicrosoftWindows.UndockedDevKit_cw5n1h2txyewy" /f
    Reg.exe delete "HKLM\APPX_WARS\Microsoft\Windows\CurrentVersion\Appx\AppxAllUserStore\InboxApplications\MicrosoftWindows.UndockedDevKit_10.0.19041.1_neutral_neutral_cw5n1h2txyewy" /f
    Reg.exe delete "HKLM\APPX_WARS\Microsoft\Windows\CurrentVersion\SideBySide\Winners\amd64_microsoftwindows-undockeddevkit.appxmain_31bf3856ad364e35_none_4177339fc948b515" /f
    Reg.exe delete "HKLM\APPX_WARS\Microsoft\Windows\CurrentVersion\SideBySide\Winners\amd64_microsoftwindows-un..keddevkit.appxsetup_31bf3856ad364e35_none_16b994fde956e349" /f
    
    Reg.exe add "HKLM\APPX_WARS\Microsoft\Windows\CurrentVersion\Appx\AppxAllUserStore\Deprovisioned\NcsiUwpApp_8wekyb3d8bbwe" /f
    Reg.exe delete "HKLM\APPX_WARS\Microsoft\Windows\CurrentVersion\Appx\AppxAllUserStore\InboxApplications\NcsiUwpApp_10.0.19041.1_neutral_neutral_8wekyb3d8bbwe" /f
    Reg.exe delete "HKLM\APPX_WARS\Microsoft\Windows\CurrentVersion\SideBySide\Winners\amd64_microsoft-windows-p...appxmain.resources_31bf3856ad364e35_en-us_b0868ef59bea7672" /f
    Reg.exe delete "HKLM\APPX_WARS\Microsoft\Windows\CurrentVersion\SideBySide\Winners\amd64_microsoft-windows-ncsiuwpapp.appxmain_31bf3856ad364e35_none_c571446c48ef8b38" /f
    Reg.exe delete "HKLM\APPX_WARS\Microsoft\Windows\CurrentVersion\SideBySide\Winners\amd64_microsoft-windows-ncsiuwpapp.appxsetup_31bf3856ad364e35_none_604f97a98a4f3de6" /f
    
    Reg.exe unload HKLM\APPX_WARS
    
    rmdir /q /s !MOUNTDIR!\Windows\SystemApps\Microsoft.Windows.FilePicker_cw5n1h2txyewy
    rmdir /q /s !MOUNTDIR!\Windows\SystemApps\Microsoft.Windows.AppResolverUX_cw5n1h2txyewy
    rmdir /q /s !MOUNTDIR!\Windows\SystemApps\Microsoft.Windows.AddSuggestedFoldersToLibraryDialog_cw5n1h2txyewy
    rmdir /q /s !MOUNTDIR!\Windows\SystemApps\Microsoft.Windows.PinningConfirmationDialog_cw5n1h2txyewy
    dism /image:!MOUNTDIR! /remove-package /packagename:Microsoft-Windows-UserExperience-Desktop-Package~31bf3856ad364e35~amd64~~10.0.19041.1
    rmdir /q /s !MOUNTDIR!\Windows\SystemApps\MicrosoftWindows.Client.CBS_cw5n1h2txyewy
    rmdir /q /s !MOUNTDIR!\Windows\SystemApps\MicrosoftWindows.UndockedDevKit_cw5n1h2txyewy
    rmdir /q /s !MOUNTDIR!\Windows\SystemApps\NcsiUwpApp_8wekyb3d8bbwe
    
    sfc /scannow /offbootdir=!MOUNTDIR! /offwindir=!MOUNTDIR!\windows
    
    endlocal
    pause

    Code:
    Microsoft Windows [Version 10.0.19041.1]
    (c) 2019 Microsoft Corporation. All rights reserved.
    
    C:\Program Files\PowerRun>C:\ToolKitHelper.exe C:\mount AllComponents
    MSMG ToolKit Commandline Helper
    Version: 1.0.5724.0
    
    Image Version: 10.0.19041.1
    
    Component : AdobeFlashForWindows
    
    Removing Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : InternetExplorer
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : FirstLogonAnimation
    
    Removing Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : GameExplorer
    
    Removing Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : SnippingTool
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : SpeechRecognition
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : TIFFIFilter
    
    Removing Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : WindowsMediaPlayer
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : WindowsPhotoViewer
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : WinSAT
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : CEIP
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : FaceRecognition
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : KernelDebugging
    
    Removing Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : LocationService
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : PicturePassword
    
    Removing Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : PinEnrollment
    
    Removing Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : UnifiedTelemetryClient
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : WiFiNetworkManager
    
    Removing Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : WindowsErrorReporting
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : WindowsInsiderHub
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : HomeGroup
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : MultiPointConnector
    
    Removing Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : RemoteAssistance
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : DeviceLockdown
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : EaseOfAccessThemes
    
    Removing Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : EasyTransfer
    
    Removing Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : FileHistory
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : Paint
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : SecurityCenter
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : StepsRecorder
    
    Removing Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : SystemRestore
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : WindowsBackup
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : WindowsFirewall
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : WindowsSubsystemForLinux
    
    Removing Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : WindowsToGo
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : Wordpad
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : AADBrokerPlugin
    
    Removing Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : AccountsControl
    
    Removing Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : AsyncTextService
    
    Removing Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : BioEnrollment
    
    Removing Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : CallingShellApp
    
    Removing Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : CapturePicker
    
    Removing Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : CBSPreview
    
    Removing Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : ContentDeliveryManager
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : CredDialogHost
    
    Removing Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : ECApp
    
    Removing Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : EdgeDevToolsClient
    
    Removing Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : Edge
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : FileExplorer
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : LockApp
    
    Removing Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : MapControl
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : NarratorQuickStart
    
    Removing Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : OOBENetworkCaptivePortal
    
    Removing Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : OOBENetworkConnectionFlow
    
    Removing Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : OneDrive
    
    Removing Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : ParentalControls
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : PeopleExperienceHost
    
    Removing Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : QuickAssist
    
    Removing Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : RetailDemoContent
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : SettingSync
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : SkypeORTC
    
    Removing Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : SmartScreen
    
    Removing Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : Win32WebViewHost
    
    Removing Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : WindowsDefender
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : WindowsMixedReality
    
    Removing Package files...
    Modifying Package Registry...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : WindowsReaderPDF
    
    Removing Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : WindowsStoreClient
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : XboxClient
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : XboxGameCallableUI
    
    Removing Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : XGpuEjectDialog
    
    Removing Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : 3DViewer
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : AdvertisingXaml
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : Alarms
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : BingWeather
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : Calculator
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : Camera
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : CommunicationsApps
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : DesktopAppInstaller
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : Cortana
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : FeedbackHub
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : GetHelp
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : Getstarted
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : HEIFImageExtension
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : Maps
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : MixedRealityPortal
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : OfficeHub
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : OfficeOneNote
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : Paint3D
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : People
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : Photos
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : ServicesStoreEngagement
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : ScreenSketch
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : SkypeApp
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : SolitaireCollection
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : SoundRecorder
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : StickyNotes
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : StorePurchaseApp
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : VP9VideoExtensions
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : WalletService
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : WebMediaExtensions
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : WebpImageExtension
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : WindowsStoreApp
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : XboxApp
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : XboxGameOverlay
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : XboxGamingOverlay
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : XboxIdentityProvider
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : XboxSpeechToTextOverlay
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : XboxTCUI
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : YourPhone
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : ZuneMusic
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.
    
    Component : ZuneVideo
    
    Removing Package files...
    Modifying Package files...
    Loading Image Registry...
    Modifying Package Registry...
    Unloading Image Registry...
    
    The operation completed successfully.

    Code:
    C:\Program Files\PowerRun>set mountdir=c:\mount
    
    C:\Program Files\PowerRun>setlocal enabledelayedexpansion
    
    C:\Program Files\PowerRun>Reg.exe load HKLM\APPX_WARS !MOUNTDIR!\Windows\System32\config\SOFTWARE
    The operation completed successfully.
    
    C:\Program Files\PowerRun>Reg.exe add "HKLM\APPX_WARS\Microsoft\Windows\CurrentVersion\Appx\AppxAllUserStore\Deprovisioned\1527c705-839a-4832-9118-54d4Bd6a0c89_cw5n1h2txyewy" /f
    The operation completed successfully.
    
    C:\Program Files\PowerRun>Reg.exe delete "HKLM\APPX_WARS\Microsoft\Windows\CurrentVersion\Appx\AppxAllUserStore\InboxApplications\1527c705-839a-4832-9118-54d4Bd6a0c89_10.0.19041.1_neutral_neutral_cw5n1h2txyewy" /f
    The operation completed successfully.
    
    C:\Program Files\PowerRun>Reg.exe delete "HKLM\APPX_WARS\Microsoft\Windows\CurrentVersion\SideBySide\Winners\amd64_microsoft-windows-f...appxmain.resources_31bf3856ad364e35_en-us_b5eb82abefa1f12b" /f
    The operation completed successfully.
    
    C:\Program Files\PowerRun>Reg.exe delete "HKLM\APPX_WARS\Microsoft\Windows\CurrentVersion\SideBySide\Winners\amd64_microsoft-windows-filepicker.appxmain_31bf3856ad364e35_none_bd25e61e0cfac8ac" /f
    The operation completed successfully.
    
    C:\Program Files\PowerRun>Reg.exe delete "HKLM\APPX_WARS\Microsoft\Windows\CurrentVersion\SideBySide\Winners\amd64_microsoft-windows-filepicker.appxsetup_31bf3856ad364e35_none_ff4acfec37ce9656" /f
    The operation completed successfully.
    
    C:\Program Files\PowerRun>Reg.exe add "HKLM\APPX_WARS\Microsoft\Windows\CurrentVersion\Appx\AppxAllUserStore\Deprovisioned\E2A4F912-2574-4A75-9BB0-0D023378592B_cw5n1h2txyewy" /f
    The operation completed successfully.
    
    C:\Program Files\PowerRun>Reg.exe delete "HKLM\APPX_WARS\Microsoft\Windows\CurrentVersion\Appx\AppxAllUserStore\InboxApplications\E2A4F912-2574-4A75-9BB0-0D023378592B_10.0.19041.1_neutral_neutral_cw5n1h2txyewy" /f
    The operation completed successfully.
    
    C:\Program Files\PowerRun>Reg.exe delete "HKLM\APPX_WARS\Microsoft\Windows\CurrentVersion\SideBySide\Winners\amd64_microsoft-windows-a...appxmain.resources_31bf3856ad364e35_en-us_6083dc0710847ae5" /f
    The operation completed successfully.
    
    C:\Program Files\PowerRun>Reg.exe delete "HKLM\APPX_WARS\Microsoft\Windows\CurrentVersion\SideBySide\Winners\amd64_microsoft-windows-appresolverux.appxmain_31bf3856ad364e35_none_a1f93ca5320d2384" /f
    The operation completed successfully.
    
    C:\Program Files\PowerRun>Reg.exe delete "HKLM\APPX_WARS\Microsoft\Windows\CurrentVersion\SideBySide\Winners\amd64_microsoft-windows-a..esolverux.appxsetup_31bf3856ad364e35_none_e58e74a63f603e16" /f
    The operation completed successfully.
    
    C:\Program Files\PowerRun>Reg.exe add "HKLM\APPX_WARS\Microsoft\Windows\CurrentVersion\Appx\AppxAllUserStore\Deprovisioned\F46D4000-FD22-4DB4-AC8E-4E1DDDE828FE_cw5n1h2txyewy" /f
    The operation completed successfully.
    
    C:\Program Files\PowerRun>Reg.exe delete "HKLM\APPX_WARS\Microsoft\Windows\CurrentVersion\Appx\AppxAllUserStore\InboxApplications\F46D4000-FD22-4DB4-AC8E-4E1DDDE828FE_10.0.19041.1_neutral_neutral_cw5n1h2txyewy" /f
    The operation completed successfully.
    
    C:\Program Files\PowerRun>Reg.exe delete "HKLM\APPX_WARS\Microsoft\Windows\CurrentVersion\SideBySide\Winners\amd64_microsoft-windows-a...appxmain.resources_31bf3856ad364e35_en-us_32cf6d05fdc40b74" /f
    The operation completed successfully.
    
    C:\Program Files\PowerRun>Reg.exe delete "HKLM\APPX_WARS\Microsoft\Windows\CurrentVersion\SideBySide\Winners\amd64_microsoft-windows-a..rarydialog.appxmain_31bf3856ad364e35_none_7409fa9449a78a23" /f
    The operation completed successfully.
    
    C:\Program Files\PowerRun>Reg.exe delete "HKLM\APPX_WARS\Microsoft\Windows\CurrentVersion\SideBySide\Winners\amd64_microsoft-windows-a..arydialog.appxsetup_31bf3856ad364e35_none_a172054253f1a9b7" /f
    The operation completed successfully.
    
    C:\Program Files\PowerRun>Reg.exe add "HKLM\APPX_WARS\Microsoft\Windows\CurrentVersion\Appx\AppxAllUserStore\Deprovisioned\Microsoft.Windows.PinningConfirmationDialog_cw5n1h2txyewy" /f
    The operation completed successfully.
    
    C:\Program Files\PowerRun>Reg.exe delete "HKLM\APPX_WARS\Microsoft\Windows\CurrentVersion\Appx\AppxAllUserStore\InboxApplications\Microsoft.Windows.PinningConfirmationDialog_10.0.19041.1_neutral_neutral_cw5n1h2txyewy" /f
    The operation completed successfully.
    
    C:\Program Files\PowerRun>Reg.exe delete "HKLM\APPX_WARS\Microsoft\Windows\CurrentVersion\SideBySide\Winners\amd64_microsoft-windows-p...appxmain.resources_31bf3856ad364e35_en-us_c37c84ddd3d5df85" /f
    The operation completed successfully.
    
    C:\Program Files\PowerRun>Reg.exe delete "HKLM\APPX_WARS\Microsoft\Windows\CurrentVersion\SideBySide\Winners\amd64_microsoft-windows-p..tiondialog.appxmain_31bf3856ad364e35_none_7cb8b2a393d7f80e" /f
    The operation completed successfully.
    
    C:\Program Files\PowerRun>Reg.exe delete "HKLM\APPX_WARS\Microsoft\Windows\CurrentVersion\SideBySide\Winners\amd64_microsoft-windows-p..iondialog.appxsetup_31bf3856ad364e35_none_bda72ef1232417a6" /f
    The operation completed successfully.
    
    C:\Program Files\PowerRun>Reg.exe add "HKLM\APPX_WARS\Microsoft\Windows\CurrentVersion\Appx\AppxAllUserStore\Deprovisioned\MicrosoftWindows.Client.CBS_cw5n1h2txyewy" /f
    The operation completed successfully.
    
    C:\Program Files\PowerRun>Reg.exe delete "HKLM\APPX_WARS\Microsoft\Windows\CurrentVersion\Appx\AppxAllUserStore\InboxApplications\MicrosoftWindows.Client.CBS_119.21101.11830.0_neutral_neutral_cw5n1h2txyewy" /f
    The operation completed successfully.
    
    C:\Program Files\PowerRun>Reg.exe delete "HKLM\APPX_WARS\Microsoft\Windows\CurrentVersion\SideBySide\Winners\amd64_microsoft-windows-u..resources.resources_31bf3856ad364e35_en-us_eabb6232981f4fff" /f
    The operation completed successfully.
    
    C:\Program Files\PowerRun>Reg.exe add "HKLM\APPX_WARS\Microsoft\Windows\CurrentVersion\Appx\AppxAllUserStore\Deprovisioned\MicrosoftWindows.UndockedDevKit_cw5n1h2txyewy" /f
    The operation completed successfully.
    
    C:\Program Files\PowerRun>Reg.exe delete "HKLM\APPX_WARS\Microsoft\Windows\CurrentVersion\Appx\AppxAllUserStore\InboxApplications\MicrosoftWindows.UndockedDevKit_10.0.19041.1_neutral_neutral_cw5n1h2txyewy" /f
    The operation completed successfully.
    
    C:\Program Files\PowerRun>Reg.exe delete "HKLM\APPX_WARS\Microsoft\Windows\CurrentVersion\SideBySide\Winners\amd64_microsoftwindows-undockeddevkit.appxmain_31bf3856ad364e35_none_4177339fc948b515" /f
    The operation completed successfully.
    
    C:\Program Files\PowerRun>Reg.exe delete "HKLM\APPX_WARS\Microsoft\Windows\CurrentVersion\SideBySide\Winners\amd64_microsoftwindows-un..keddevkit.appxsetup_31bf3856ad364e35_none_16b994fde956e349" /f
    The operation completed successfully.
    
    C:\Program Files\PowerRun>Reg.exe add "HKLM\APPX_WARS\Microsoft\Windows\CurrentVersion\Appx\AppxAllUserStore\Deprovisioned\NcsiUwpApp_8wekyb3d8bbwe" /f
    The operation completed successfully.
    
    C:\Program Files\PowerRun>Reg.exe delete "HKLM\APPX_WARS\Microsoft\Windows\CurrentVersion\Appx\AppxAllUserStore\InboxApplications\NcsiUwpApp_10.0.19041.1_neutral_neutral_8wekyb3d8bbwe" /f
    The operation completed successfully.
    
    C:\Program Files\PowerRun>Reg.exe delete "HKLM\APPX_WARS\Microsoft\Windows\CurrentVersion\SideBySide\Winners\amd64_microsoft-windows-p...appxmain.resources_31bf3856ad364e35_en-us_b0868ef59bea7672" /f
    The operation completed successfully.
    
    C:\Program Files\PowerRun>Reg.exe delete "HKLM\APPX_WARS\Microsoft\Windows\CurrentVersion\SideBySide\Winners\amd64_microsoft-windows-ncsiuwpapp.appxmain_31bf3856ad364e35_none_c571446c48ef8b38" /f
    The operation completed successfully.
    
    C:\Program Files\PowerRun>Reg.exe delete "HKLM\APPX_WARS\Microsoft\Windows\CurrentVersion\SideBySide\Winners\amd64_microsoft-windows-ncsiuwpapp.appxsetup_31bf3856ad364e35_none_604f97a98a4f3de6" /f
    The operation completed successfully.
    
    C:\Program Files\PowerRun>Reg.exe unload HKLM\APPX_WARS
    The operation completed successfully.
    
    C:\Program Files\PowerRun>rmdir /q /s !MOUNTDIR!\Windows\SystemApps\Microsoft.Windows.FilePicker_cw5n1h2txyewy
    
    C:\Program Files\PowerRun>rmdir /q /s !MOUNTDIR!\Windows\SystemApps\Microsoft.Windows.AppResolverUX_cw5n1h2txyewy
    
    C:\Program Files\PowerRun>rmdir /q /s !MOUNTDIR!\Windows\SystemApps\Microsoft.Windows.AddSuggestedFoldersToLibraryDialog_cw5n1h2txyewy
    
    C:\Program Files\PowerRun>rmdir /q /s !MOUNTDIR!\Windows\SystemApps\Microsoft.Windows.PinningConfirmationDialog_cw5n1h2txyewy
    
    C:\Program Files\PowerRun>dism /image:!MOUNTDIR! /remove-package /packagename:Microsoft-Windows-UserExperience-Desktop-Package~31bf3856ad364e35~amd64~~10.0.19041.1
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.1
    
    Image Version: 10.0.19041.1
    
    Processing 1 of 1 - Removing package Microsoft-Windows-UserExperience-Desktop-Package~31bf3856ad364e35~amd64~~10.0.19041.1
    [==========================100.0%==========================]
    The operation completed successfully.
    
    C:\Program Files\PowerRun>rmdir /q /s !MOUNTDIR!\Windows\SystemApps\MicrosoftWindows.Client.CBS_cw5n1h2txyewy
    
    C:\Program Files\PowerRun>rmdir /q /s !MOUNTDIR!\Windows\SystemApps\MicrosoftWindows.UndockedDevKit_cw5n1h2txyewy
    
    C:\Program Files\PowerRun>rmdir /q /s !MOUNTDIR!\Windows\SystemApps\NcsiUwpApp_8wekyb3d8bbwe
    
    C:\Program Files\PowerRun>sfc /scannow /offbootdir=!MOUNTDIR! /offwindir=!MOUNTDIR!\windows
    
    Beginning system scan.  This process will take some time.
    
    
    Windows Resource Protection did not find any integrity violations.
    
    C:\Program Files\PowerRun>endlocal
    
    C:\Program Files\PowerRun>pause
    Press any key to continue . . .
     
  20. inTerActionVRI

    inTerActionVRI MDL Expert

    Sep 23, 2009
    1,770
    3,601
    60
    Creating a monthly customized ISO with integrated updates, Windows Update disabled and making In-Place Update.

    When you have all your customization options, well defined, you can make a custom ISO at a maximum of 40 min.
    In-Place Update can be performed directly from the DVD folder.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...