How to Combine Windows 11 Installations that Do the Different Things

Discussion in 'Windows 11' started by RobertX, Apr 11, 2023.

  1. RobertX

    RobertX MDL Senior Member

    Dec 6, 2014
    279
    35
    10
    #1 RobertX, Apr 11, 2023
    Last edited: Apr 11, 2023
    What I'm to do is to combine certain Windows 11 directories to do different things.

    For example, I intend to achieve the following with an ISO:
    - add one Windows 11 Pro setup that pre-activates
    - add one Windows 11 Pro setup that prompts for a CD-key

    Now, my intentions are educational as I want to make a mark as an amateur "techie."

    I tried NTLite, but their instructions are convoluted and they don't address my intentions, which, again, is to make an ISO that combines the bullet points.

    Is there a separate program that will do this? (Note: I didn't make an ISO of those two versions yet; I have extracted the original ISO to two directories, one for each.)

    EDIT: Sh*t, I forgot to include that both directories are Pro from different images, but what the hell?
     
  2. Enthousiast

    Enthousiast MDL Tester

    Oct 30, 2009
    49,679
    103,541
    450
    That only takes 2 indexes and the $OEM$ stuff inside the install.wim index x for one and nothing in the other index,

    Like this (this has 4 indexes per SKU with different content):

    Code:
    Script Started At 21:10:58,35
    
    Deployment Image Servicing and Management tool
    Version: 10.0.22000.653
    
    Scanning drive C for stale files
    Scanning drive D for stale files
    Scanning drive E for stale files
    Scanning drive F for stale files
    The operation completed successfully.
    
    Extracting Source ISO...
    
    
    7-Zip 19.00 (x86) : Copyright (c) 1999-2018 Igor Pavlov : 2019-02-21
    
    Scanning the drive for archives:
    1 folder, 1 file, 5296416768 bytes (5052 MiB)
    
    Extracting archive: Source_ISOs\x64\Cons_ISO\22621.1555.230329-0111.NI_RELEASE_SVC_PROD1_CLIENT_X64FRE_EN-US.iso
    --
    Path = Source_ISOs\x64\Cons_ISO\22621.1555.230329-0111.NI_RELEASE_SVC_PROD1_CLIENT_X64FRE_EN-US.iso
    Type = Udf
    Physical Size = 5296416768
    Comment = 22621.1555
    Cluster Size = 2048
    Created = 2023-04-12 02:00:00
    
    Everything is Ok
    
    Folders: 85
    Files: 941
    Size:       5305111660
    Compressed: 5296416768
            1 file(s) copied.
    
    Preparing DaRT...
    
    
    7-Zip 19.00 (x86) : Copyright (c) 1999-2018 Igor Pavlov : 2019-02-21
    
    Scanning the drive for archives:
    1 file, 8894690 bytes (8687 KiB)
    
    Extracting archive: DaRT_W10\Dart_w10.tpk
    --
    Path = DaRT_W10\Dart_w10.tpk
    Type = wim
    Physical Size = 8894690
    Size = 8589934592
    Packed Size = 38013142
    Method = LZMS:17
    Cluster Size = 131072
    Created = 2019-04-08 06:13:00
    Modified = 2019-04-08 06:17:13
    Version = 0.14
    Multivolume = -
    Volume = 1
    Volumes = 1
    Images = 2
    
    Everything is Ok
    
    Folders: 12
    Files: 71
    Size:       29258096
    Compressed: 8894690
    
    7-Zip 19.00 (x86) : Copyright (c) 1999-2018 Igor Pavlov : 2019-02-21
    
    Scanning the drive for archives:
    1 file, 52543922 bytes (51 MiB)
    
    Extracting archive: DaRT_W10\DebugTools_10.0.22621.tpk
    --
    Path = DaRT_W10\DebugTools_10.0.22621.tpk
    Type = wim
    Physical Size = 52543922
    Size = 12884901888
    Packed Size = 272604908
    Method = LZMS:17
    Cluster Size = 131072
    Created = 2022-05-31 21:22:23
    Modified = 2022-05-31 21:28:28
    Version = 0.14
    Multivolume = -
    Volume = 1
    Volumes = 1
    Images = 3
    
    Everything is Ok
    
    Folders: 81
    Files: 785
    Size:       242614475
    Compressed: 52543922
    
    7-Zip 19.00 (x86) : Copyright (c) 1999-2018 Igor Pavlov : 2019-02-21
    
    Scanning the drive for archives:
    1 file, 181228 bytes (177 KiB)
    
    Extracting archive: DaRT_W10\Dart_w10_en-US.tpk
    --
    Path = DaRT_W10\Dart_w10_en-US.tpk
    Type = wim
    Physical Size = 181228
    Size = 8589934592
    Packed Size = 1586789
    Method = LZMS:17
    Cluster Size = 131072
    Created = 2019-04-12 13:25:59
    Modified = 2019-04-12 14:32:06
    Version = 0.14
    Multivolume = -
    Volume = 1
    Volumes = 1
    Images = 2
    
    Everything is Ok
    
    Folders: 16
    Files: 45
    Size:       2023776
    Compressed: 181228
    
    Adding DaRT To Boot.wim...
    
    Scanning "Dart_w10\Dart_w10\2\"
    15 MiB scanned (35 files, 6 directories)
    Using LZX compression with 16 threads
    Archiving file data: 15 MiB of 15 MiB (100%) done
    Scanning "Dart_w10\Dart_w10_DeBug\2\"
    84 MiB scanned (305 files, 30 directories)
    Using LZX compression with 16 threads
    Archiving file data: 84 MiB of 84 MiB (100%) done
    Scanning "Dart_w10\Dart_w10_en-US\2\"
    987 KiB scanned (22 files, 8 directories)
    Using LZX compression with 1 thread
    Archiving file data: 987 KiB of 987 KiB (100%) done
    
    Adding Murphy78 Diskpart and Apply Image Script 1.3.1 and The Check Bypasses To Boot.wim...
    
    Scanning "Murphy78\murphy78-DiskPart-Apply-v1.3.1\x64\"
    76 KiB scanned (3 files, 4 directories)
    Using LZX compression with 1 thread
    Archiving file data: 76 KiB of 76 KiB (100%) done
    
    Deployment Image Servicing and Management tool
    Version: 10.0.22000.653
    
    Mounting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.22000.653
    
    Image Version: 10.0.22621.1555
    
    Processing 1 of 1 - Adding package WinPE-WinReCfg-Package~31bf3856ad364e35~amd64~~10.0.22621.1
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.22000.653
    
    Image Version: 10.0.22621.1555
    
    Processing 1 of 1 - Adding package WinPE-WinReCfg-Package~31bf3856ad364e35~amd64~en-US~10.0.22621.1
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.22000.653
    
    Image Version: 10.0.22621.1555
    
    [===========                20.0%                          ]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.22000.653
    
    Saving image
    [==========================100.0%==========================]
    Unmounting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Extracting Winre.wim...
    
    Extracting file data: 485 MiB of 485 MiB (100%) done
    Done extracting files.
    
    Adding DaRT To Winre.wim...
    
    Scanning "Dart_w10\Dart_w10\2\"
    15 MiB scanned (35 files, 6 directories)
    Using LZX compression with 16 threads
    Archiving file data: 15 MiB of 15 MiB (100%) done
    Scanning "Dart_w10\Dart_w10_DeBug\2\"
    84 MiB scanned (305 files, 30 directories)
    Using LZX compression with 16 threads
    Archiving file data: 84 MiB of 84 MiB (100%) done
    Scanning "Dart_w10\Dart_w10_en-US\2\"
    987 KiB scanned (22 files, 8 directories)
    Using LZX compression with 1 thread
    Archiving file data: 987 KiB of 987 KiB (100%) done
    "Winre_x64\Winre.wim" original size: 542069 KiB
    Using LZX compression with 16 threads
    Archiving file data: 1372 MiB of 1372 MiB (100%) done
    "Winre_x64\Winre.wim" optimized size: 533031 KiB
    Space saved: 9037 KiB
    
    Putting Winre.wim Back In Install.wim...
    
    
    Creating SKUs Setting The Index Flags And Info And Inserting The Different Scripts Folders...
    
    Adding Core
    
    Deployment Image Servicing and Management tool
    Version: 10.0.22000.653
    
    Exporting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.22000.653
    
    Exporting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.22000.653
    
    Exporting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.22000.653
    
    Exporting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.22000.653
    
    Exporting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    ImageX Tool for Windows
    Copyright (C) Microsoft Corp. All rights reserved.
    Version: 10.0.10011.16384
    
    
    Successfully set image name: [Win 11 (22H2) Home x64 en-US (22621.1555)]
    
    Successfully set image description: [Win 11 (22H2) Home x64 en-US (22621.1555)]
    
    Successfully set image flags: [Core]
    
    
    
    ImageX Tool for Windows
    Copyright (C) Microsoft Corp. All rights reserved.
    Version: 10.0.10011.16384
    
    
    Successfully set image name: [Win 11 (22H2) Home x64 en-US (22621.1555 - MRP)]
    
    Successfully set image description: [Win 11 (22H2) Home x64 en-US (22621.1555 - MRP)]
    
    Successfully set image flags: [Core]
    
    
    
    ImageX Tool for Windows
    Copyright (C) Microsoft Corp. All rights reserved.
    Version: 10.0.10011.16384
    
    
    Successfully set image name: [Win 11 (22H2) Home x64 en-US (22621.1555 - MRP - HWID)]
    
    Successfully set image description: [Win 11 (22H2) Home x64 en-US (22621.1555 - MRP - HWID)]
    
    Successfully set image flags: [Core]
    
    
    
    ImageX Tool for Windows
    Copyright (C) Microsoft Corp. All rights reserved.
    Version: 10.0.10011.16384
    
    
    Successfully set image name: [Win 11 (22H2) Home x64 en-US (22621.1555 - MRP - HWID - OPP21 - KMS)]
    
    Successfully set image description: [Win 11 (22H2) Home x64 en-US (22621.1555 - MRP - HWID - Office Pro Plus 2021 LTSC - KMS)]
    
    Successfully set image flags: [Core]
    
    
    Scanning "Scripts_1" (loading as WIM path: "\Windows\Setup\Scripts")...
    172 bytes scanned (1 files, 1 directories)
    Using LZX compression with 1 thread
    Archiving file data: 172 bytes of 172 bytes (100%) done
    Scanning "Scripts_2" (loading as WIM path: "\Windows\Setup\Scripts")...
    3042 KiB scanned (1 files, 1 directories)
    Using LZX compression with 16 threads
    Archiving file data: 3042 KiB of 3042 KiB (100%) done
    Scanning "Scripts_3WA" (loading as WIM path: "\Windows\Setup\Scripts")...
    3234 KiB scanned (3 files, 1 directories)
    Using LZX compression with 16 threads
    Archiving file data: 192 KiB of 192 KiB (100%) done
    Scanning "Scripts_KMS_3WA_Office_x64_en-US" (loading as WIM path: "\Windows\Setup\Scripts")...
    1884 MiB scanned (20 files, 6 directories)
    Using LZX compression with 16 threads
    Archiving file data: 1884 MiB of 1884 MiB (100%) done
    Creating HomeSL
    
    Deployment Image Servicing and Management tool
    Version: 10.0.22000.653
    
    Mounting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.22000.653
    
    Image Version: 10.0.22621.1555
    
    Pended operations ignored. When this image is next booted, these operations will be processed.
    Starting to update components...
    Starting to install product key...
    Finished installing product key.
    
    Starting to apply edition-specific settings...
    Finished applying edition-specific settings.
    
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.22000.653
    
    Saving image
    [==========================100.0%==========================]
    Unmounting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.22000.653
    
    Exporting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.22000.653
    
    Exporting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.22000.653
    
    Exporting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.22000.653
    
    Exporting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    ImageX Tool for Windows
    Copyright (C) Microsoft Corp. All rights reserved.
    Version: 10.0.10011.16384
    
    
    Successfully set image name: [Win 11 (22H2) Home-SL x64 en-US (22621.1555)]
    
    Successfully set image description: [Win 11 (22H2) Home-SL x64 en-US (22621.1555)]
    
    Successfully set image flags: [CoreSingleLanguage]
    
    
    
    ImageX Tool for Windows
    Copyright (C) Microsoft Corp. All rights reserved.
    Version: 10.0.10011.16384
    
    
    Successfully set image name: [Win 11 (22H2) Home-SL x64 en-US (22621.1555 - MRP)]
    
    Successfully set image description: [Win 11 (22H2) Home-SL x64 en-US (22621.1555 - MRP)]
    
    Successfully set image flags: [CoreSingleLanguage]
    
    
    
    ImageX Tool for Windows
    Copyright (C) Microsoft Corp. All rights reserved.
    Version: 10.0.10011.16384
    
    
    Successfully set image name: [Win 11 (22H2) Home-SL x64 en-US (22621.1555 - MRP - HWID)]
    
    Successfully set image description: [Win 11 (22H2) Home-SL x64 en-US (22621.1555 - MRP - HWID)]
    
    Successfully set image flags: [CoreSingleLanguage]
    
    
    
    ImageX Tool for Windows
    Copyright (C) Microsoft Corp. All rights reserved.
    Version: 10.0.10011.16384
    
    
    Successfully set image name: [Win 11 (22H2) Home-SL x64 en-US (22621.1555 - MRP - HWID - OPP21 - KMS)]
    
    Successfully set image description: [Win 11 (22H2) Home-SL x64 en-US (22621.1555 - MRP - HWID - Office Pro Plus 2021 LTSC - KMS)]
    
    Successfully set image flags: [CoreSingleLanguage]
    
    
    Scanning "Scripts_1" (loading as WIM path: "\Windows\Setup\Scripts")...
    172 bytes scanned (1 files, 1 directories)
    Using LZX compression with 1 thread
    Archiving file data: 0 bytes of 0 bytes (0%) donene
    Scanning "Scripts_2" (loading as WIM path: "\Windows\Setup\Scripts")...
    3042 KiB scanned (1 files, 1 directories)
    Using LZX compression with 16 threads
    Archiving file data: 0 bytes of 0 bytes (0%) done
    Scanning "Scripts_3WA" (loading as WIM path: "\Windows\Setup\Scripts")...
    3234 KiB scanned (3 files, 1 directories)
    Using LZX compression with 16 threads
    Archiving file data: 0 bytes of 0 bytes (0%) done
    Scanning "Scripts_KMS_3WA_Office_x64_en-US" (loading as WIM path: "\Windows\Setup\Scripts")...
    1884 MiB scanned (20 files, 6 directories)
    Using LZX compression with 16 threads
    Archiving file data: 0 bytes of 0 bytes (0%) done
    Creating Pro
    
    Deployment Image Servicing and Management tool
    Version: 10.0.22000.653
    
    Exporting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.22000.653
    
    Mounting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.22000.653
    
    Image Version: 10.0.22621.1555
    
    Pended operations ignored. When this image is next booted, these operations will be processed.
    Starting to update components...
    Starting to install product key...
    Finished installing product key.
    
    Adding package Microsoft-Windows-ProfessionalEdition~31bf3856ad364e35~amd64~~10.0.22621.1555
    Removing package Microsoft-Windows-CoreEdition~31bf3856ad364e35~amd64~~10.0.22621.1555
    [==========================100.0%==========================]
    
    Finished updating components.
    
    Starting to apply edition-specific settings...
    Finished applying edition-specific settings.
    
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.22000.653
    
    Saving image
    [==========================100.0%==========================]
    Unmounting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.22000.653
    
    Exporting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.22000.653
    
    Exporting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.22000.653
    
    Exporting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.22000.653
    
    Exporting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    ImageX Tool for Windows
    Copyright (C) Microsoft Corp. All rights reserved.
    Version: 10.0.10011.16384
    
    
    Successfully set image name: [Win 11 (22H2) Professional x64 en-US (22621.1555)]
    
    Successfully set image description: [Win 11 (22H2) Professional x64 en-US (22621.1555)]
    
    Successfully set image flags: [Professional]
    
    
    
    ImageX Tool for Windows
    Copyright (C) Microsoft Corp. All rights reserved.
    Version: 10.0.10011.16384
    
    
    Successfully set image name: [Win 11 (22H2) Professional x64 en-US (22621.1555 - MRP)]
    
    Successfully set image description: [Win 11 (22H2) Professional x64 en-US (22621.1555 - MRP)]
    
    Successfully set image flags: [Professional]
    
    
    
    ImageX Tool for Windows
    Copyright (C) Microsoft Corp. All rights reserved.
    Version: 10.0.10011.16384
    
    
    Successfully set image name: [Win 11 (22H2) Professional x64 en-US (22621.1555 - MRP - HWID)]
    
    Successfully set image description: [Win 11 (22H2) Professional x64 en-US (22621.1555 - MRP - HWID)]
    
    Successfully set image flags: [Professional]
    
    
    
    ImageX Tool for Windows
    Copyright (C) Microsoft Corp. All rights reserved.
    Version: 10.0.10011.16384
    
    
    Successfully set image name: [Win 11 (22H2) Professional x64 en-US (22621.1555 - MRP - HWID - OPP21 - KMS)]
    
    Successfully set image description: [Win 11 (22H2) Professional x64 en-US (22621.1555 - MRP - HWID - Office Pro Plus 2021 LTSC - KMS)]
    
    Successfully set image flags: [Professional]
    
    
    Scanning "Scripts_1" (loading as WIM path: "\Windows\Setup\Scripts")...
    172 bytes scanned (1 files, 1 directories)
    Using LZX compression with 1 thread
    Archiving file data: 0 bytes of 0 bytes (0%) donene
    Scanning "Scripts_2" (loading as WIM path: "\Windows\Setup\Scripts")...
    3042 KiB scanned (1 files, 1 directories)
    Using LZX compression with 16 threads
    Archiving file data: 0 bytes of 0 bytes (0%) done
    Scanning "Scripts_3WA" (loading as WIM path: "\Windows\Setup\Scripts")...
    3234 KiB scanned (3 files, 1 directories)
    Using LZX compression with 16 threads
    Archiving file data: 0 bytes of 0 bytes (0%) done
    Scanning "Scripts_KMS_3WA_Office_x64_en-US" (loading as WIM path: "\Windows\Setup\Scripts")...
    1884 MiB scanned (20 files, 6 directories)
    Using LZX compression with 16 threads
    Archiving file data: 0 bytes of 0 bytes (0%) done
    21:15:23,20
    Creating Edu
    
    Deployment Image Servicing and Management tool
    Version: 10.0.22000.653
    
    Exporting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.22000.653
    
    Mounting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.22000.653
    
    Image Version: 10.0.22621.1555
    
    Pended operations ignored. When this image is next booted, these operations will be processed.
    Starting to update components...
    Starting to install product key...
    Finished installing product key.
    
    Adding package Microsoft-Windows-ProfessionalEdition~31bf3856ad364e35~amd64~~10.0.22621.1555
    Removing package Microsoft-Windows-CoreEdition~31bf3856ad364e35~amd64~~10.0.22621.1555
    [==========================100.0%==========================]
    
    Finished updating components.
    
    Starting to apply edition-specific settings...
    Finished applying edition-specific settings.
    
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.22000.653
    
    Saving image
    [==========================100.0%==========================]
    Unmounting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.22000.653
    
    Exporting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.22000.653
    
    Exporting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.22000.653
    
    Exporting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.22000.653
    
    Exporting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    ImageX Tool for Windows
    Copyright (C) Microsoft Corp. All rights reserved.
    Version: 10.0.10011.16384
    
    
    Successfully set image name: [Win 11 (22H2) Education x64 en-US (22621.1555)]
    
    Successfully set image description: [Win 11 (22H2) Education x64 en-US (22621.1555)]
    
    Successfully set image flags: [Education]
    
    
    
    ImageX Tool for Windows
    Copyright (C) Microsoft Corp. All rights reserved.
    Version: 10.0.10011.16384
    
    
    Successfully set image name: [Win 11 (22H2) Education x64 en-US (22621.1555 - MRP)]
    
    Successfully set image description: [Win 11 (22H2) Education x64 en-US (22621.1555 - MRP)]
    
    Successfully set image flags: [Education]
    
    
    
    ImageX Tool for Windows
    Copyright (C) Microsoft Corp. All rights reserved.
    Version: 10.0.10011.16384
    
    
    Successfully set image name: [Win 11 (22H2) Education x64 en-US (22621.1555 - MRP - HWID)]
    
    Successfully set image description: [Win 11 (22H2) Education x64 en-US (22621.1555 - MRP - HWID)]
    
    Successfully set image flags: [Education]
    
    
    
    ImageX Tool for Windows
    Copyright (C) Microsoft Corp. All rights reserved.
    Version: 10.0.10011.16384
    
    
    Successfully set image name: [Win 11 (22H2) Education x64 en-US (22621.1555 - MRP - HWID - OPP21 - KMS)]
    
    Successfully set image description: [Win 11 (22H2) Education x64 en-US (22621.1555 - MRP - HWID - Office Pro Plus 2021 LTSC - KMS)]
    
    Successfully set image flags: [Education]
    
    
    Scanning "Scripts_1" (loading as WIM path: "\Windows\Setup\Scripts")...
    172 bytes scanned (1 files, 1 directories)
    Using LZX compression with 1 thread
    Archiving file data: 0 bytes of 0 bytes (0%) donene
    Scanning "Scripts_2" (loading as WIM path: "\Windows\Setup\Scripts")...
    3042 KiB scanned (1 files, 1 directories)
    Using LZX compression with 16 threads
    Archiving file data: 0 bytes of 0 bytes (0%) done
    Scanning "Scripts_3WA" (loading as WIM path: "\Windows\Setup\Scripts")...
    3234 KiB scanned (3 files, 1 directories)
    Using LZX compression with 16 threads
    Archiving file data: 0 bytes of 0 bytes (0%) done
    Scanning "Scripts_KMS_3WA_Office_x64_en-US" (loading as WIM path: "\Windows\Setup\Scripts")...
    1884 MiB scanned (20 files, 6 directories)
    Using LZX compression with 16 threads
    Archiving file data: 0 bytes of 0 bytes (0%) done
    Creating Pro-Edu
    
    Deployment Image Servicing and Management tool
    Version: 10.0.22000.653
    
    Exporting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.22000.653
    
    Mounting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.22000.653
    
    Image Version: 10.0.22621.1555
    
    Pended operations ignored. When this image is next booted, these operations will be processed.
    Starting to update components...
    Starting to install product key...
    Finished installing product key.
    
    Adding package Microsoft-Windows-ProfessionalEdition~31bf3856ad364e35~amd64~~10.0.22621.1555
    Removing package Microsoft-Windows-CoreEdition~31bf3856ad364e35~amd64~~10.0.22621.1555
    [==========================100.0%==========================]
    
    Finished updating components.
    
    Starting to apply edition-specific settings...
    Finished applying edition-specific settings.
    
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.22000.653
    
    Saving image
    [==========================100.0%==========================]
    Unmounting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.22000.653
    
    Exporting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.22000.653
    
    Exporting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.22000.653
    
    Exporting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.22000.653
    
    Exporting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    ImageX Tool for Windows
    Copyright (C) Microsoft Corp. All rights reserved.
    Version: 10.0.10011.16384
    
    
    Successfully set image name: [Win 11 (22H2) Pro-Education x64 en-US (22621.1555)]
    
    Successfully set image description: [Win 11 (22H2) Pro-Education x64 en-US (22621.1555)]
    
    Successfully set image flags: [ProfessionalEducation]
    
    
    
    ImageX Tool for Windows
    Copyright (C) Microsoft Corp. All rights reserved.
    Version: 10.0.10011.16384
    
    
    Successfully set image name: [Win 11 (22H2) Pro-Education x64 en-US (22621.1555 - MRP)]
    
    Successfully set image description: [Win 11 (22H2) Pro-Education x64 en-US (22621.1555 - MRP)]
    
    Successfully set image flags: [ProfessionalEducation]
    
    
    
    ImageX Tool for Windows
    Copyright (C) Microsoft Corp. All rights reserved.
    Version: 10.0.10011.16384
    
    
    Successfully set image name: [Win 11 (22H2) Pro-Education x64 en-US (22621.1555 - MRP - HWID)]
    
    Successfully set image description: [Win 11 (22H2) Pro-Education x64 en-US (22621.1555 - MRP - HWID)]
    
    Successfully set image flags: [ProfessionalEducation]
    
    
    
    ImageX Tool for Windows
    Copyright (C) Microsoft Corp. All rights reserved.
    Version: 10.0.10011.16384
    
    
    Successfully set image name: [Win 11 (22H2) Pro-Education x64 en-US (22621.1555 - MRP - HWID - OPP21 - KMS)]
    
    Successfully set image description: [Win 11 (22H2) Pro-Education x64 en-US (22621.1555 - MRP - HWID - Office Pro Plus 2021 LTSC - KMS)]
    
    Successfully set image flags: [ProfessionalEducation]
    
    
    Scanning "Scripts_1" (loading as WIM path: "\Windows\Setup\Scripts")...
    172 bytes scanned (1 files, 1 directories)
    Using LZX compression with 1 thread
    Archiving file data: 0 bytes of 0 bytes (0%) donene
    Scanning "Scripts_2" (loading as WIM path: "\Windows\Setup\Scripts")...
    3042 KiB scanned (1 files, 1 directories)
    Using LZX compression with 16 threads
    Archiving file data: 0 bytes of 0 bytes (0%) done
    Scanning "Scripts_3WA" (loading as WIM path: "\Windows\Setup\Scripts")...
    3234 KiB scanned (3 files, 1 directories)
    Using LZX compression with 16 threads
    Archiving file data: 0 bytes of 0 bytes (0%) done
    Scanning "Scripts_KMS_3WA_Office_x64_en-US" (loading as WIM path: "\Windows\Setup\Scripts")...
    1884 MiB scanned (20 files, 6 directories)
    Using LZX compression with 16 threads
    Archiving file data: 0 bytes of 0 bytes (0%) done
    Creating Pro-Work
    
    Deployment Image Servicing and Management tool
    Version: 10.0.22000.653
    
    Exporting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.22000.653
    
    Mounting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.22000.653
    
    Image Version: 10.0.22621.1555
    
    Pended operations ignored. When this image is next booted, these operations will be processed.
    Starting to update components...
    Starting to install product key...
    Finished installing product key.
    
    Adding package Microsoft-Windows-ProfessionalEdition~31bf3856ad364e35~amd64~~10.0.22621.1555
    Removing package Microsoft-Windows-CoreEdition~31bf3856ad364e35~amd64~~10.0.22621.1555
    [==========================100.0%==========================]
    
    Finished updating components.
    
    Starting to apply edition-specific settings...
    Finished applying edition-specific settings.
    
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.22000.653
    
    Saving image
    [==========================100.0%==========================]
    Unmounting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.22000.653
    
    Exporting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.22000.653
    
    Exporting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.22000.653
    
    Exporting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.22000.653
    
    Exporting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    ImageX Tool for Windows
    Copyright (C) Microsoft Corp. All rights reserved.
    Version: 10.0.10011.16384
    
    
    Successfully set image name: [Win 11 (22H2) Pro-Workstation x64 en-US (22621.1555)]
    
    Successfully set image description: [Win 11 (22H2) Pro-Workstation x64 en-US (22621.1555)]
    
    Successfully set image flags: [ProfessionalWorkstation]
    
    
    
    ImageX Tool for Windows
    Copyright (C) Microsoft Corp. All rights reserved.
    Version: 10.0.10011.16384
    
    
    Successfully set image name: [Win 11 (22H2) Pro-Workstation x64 en-US (22621.1555 - MRP)]
    
    Successfully set image description: [Win 11 (22H2) Pro-Workstation x64 en-US (22621.1555 - MRP)]
    
    Successfully set image flags: [ProfessionalWorkstation]
    
    
    
    ImageX Tool for Windows
    Copyright (C) Microsoft Corp. All rights reserved.
    Version: 10.0.10011.16384
    
    
    Successfully set image name: [Win 11 (22H2) Pro-Workstation x64 en-US (22621.1555 - MRP - HWID)]
    
    Successfully set image description: [Win 11 (22H2) Pro-Workstation x64 en-US (22621.1555 - MRP - HWID)]
    
    Successfully set image flags: [ProfessionalWorkstation]
    
    
    
    ImageX Tool for Windows
    Copyright (C) Microsoft Corp. All rights reserved.
    Version: 10.0.10011.16384
    
    
    Successfully set image name: [Win 11 (22H2) Pro-Workstation x64 en-US (22621.1555 - MRP - HWID - OPP21 - KMS)]
    
    Successfully set image description: [Win 11 (22H2) Pro-Workstation x64 en-US (22621.1555 - MRP - HWID - Office Pro Plus 2021 LTSC - KMS)]
    
    Successfully set image flags: [ProfessionalWorkstation]
    
    
    Scanning "Scripts_1" (loading as WIM path: "\Windows\Setup\Scripts")...
    172 bytes scanned (1 files, 1 directories)
    Using LZX compression with 1 thread
    Archiving file data: 0 bytes of 0 bytes (0%) donene
    Scanning "Scripts_2" (loading as WIM path: "\Windows\Setup\Scripts")...
    3042 KiB scanned (1 files, 1 directories)
    Using LZX compression with 16 threads
    Archiving file data: 0 bytes of 0 bytes (0%) done
    Scanning "Scripts_3WA" (loading as WIM path: "\Windows\Setup\Scripts")...
    3234 KiB scanned (3 files, 1 directories)
    Using LZX compression with 16 threads
    Archiving file data: 0 bytes of 0 bytes (0%) done
    Scanning "Scripts_KMS_3WA_Office_x64_en-US" (loading as WIM path: "\Windows\Setup\Scripts")...
    1884 MiB scanned (20 files, 6 directories)
    Using LZX compression with 16 threads
    Archiving file data: 0 bytes of 0 bytes (0%) done
    Creating Ent
    
    Deployment Image Servicing and Management tool
    Version: 10.0.22000.653
    
    Exporting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.22000.653
    
    Mounting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.22000.653
    
    Image Version: 10.0.22621.1555
    
    Pended operations ignored. When this image is next booted, these operations will be processed.
    Starting to update components...
    Starting to install product key...
    Finished installing product key.
    
    Adding package Microsoft-Windows-ProfessionalEdition~31bf3856ad364e35~amd64~~10.0.22621.1555
    Removing package Microsoft-Windows-CoreEdition~31bf3856ad364e35~amd64~~10.0.22621.1555
    [==========================100.0%==========================]
    
    Finished updating components.
    
    Starting to apply edition-specific settings...
    Finished applying edition-specific settings.
    
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.22000.653
    
    Saving image
    [==========================100.0%==========================]
    Unmounting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.22000.653
    
    Exporting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.22000.653
    
    Exporting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.22000.653
    
    Exporting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Deployment Image Servicing and Management tool
    Version: 10.0.22000.653
    
    Exporting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    ImageX Tool for Windows
    Copyright (C) Microsoft Corp. All rights reserved.
    Version: 10.0.10011.16384
    
    
    Successfully set image name: [Win 11 (22H2) Enterprise x64 en-US (22621.1555)]
    
    Successfully set image description: [Win 11 (22H2) Enterprise x64 en-US (22621.1555)]
    
    Successfully set image flags: [Enterprise]
    
    
    
    ImageX Tool for Windows
    Copyright (C) Microsoft Corp. All rights reserved.
    Version: 10.0.10011.16384
    
    
    Successfully set image name: [Win 11 (22H2) Enterprise x64 en-US (22621.1555 - MRP)]
    
    Successfully set image description: [Win 11 (22H2) Enterprise x64 en-US (22621.1555 - MRP)]
    
    Successfully set image flags: [Enterprise]
    
    
    
    ImageX Tool for Windows
    Copyright (C) Microsoft Corp. All rights reserved.
    Version: 10.0.10011.16384
    
    
    Successfully set image name: [Win 11 (22H2) Enterprise x64 en-US (22621.1555 - MRP - HWID)]
    
    Successfully set image description: [Win 11 (22H2) Enterprise x64 en-US (22621.1555 - MRP - HWID)]
    
    Successfully set image flags: [Enterprise]
    
    
    
    ImageX Tool for Windows
    Copyright (C) Microsoft Corp. All rights reserved.
    Version: 10.0.10011.16384
    
    
    Successfully set image name: [Win 11 (22H2) Enterprise x64 en-US (22621.1555 - MRP - HWID - OPP21 - KMS)]
    
    Successfully set image description: [Win 11 (22H2) Enterprise x64 en-US (22621.1555 - MRP - HWID - Office Pro Plus 2021 LTSC - KMS)]
    
    Successfully set image flags: [Enterprise]
    
    
    Scanning "Scripts_1" (loading as WIM path: "\Windows\Setup\Scripts")...
    172 bytes scanned (1 files, 1 directories)
    Using LZX compression with 1 thread
    Archiving file data: 0 bytes of 0 bytes (0%) donene
    Scanning "Scripts_2" (loading as WIM path: "\Windows\Setup\Scripts")...
    3042 KiB scanned (1 files, 1 directories)
    Using LZX compression with 16 threads
    Archiving file data: 0 bytes of 0 bytes (0%) done
    Scanning "Scripts_3WA" (loading as WIM path: "\Windows\Setup\Scripts")...
    3234 KiB scanned (3 files, 1 directories)
    Using LZX compression with 16 threads
    Archiving file data: 0 bytes of 0 bytes (0%) done
    Scanning "Scripts_KMS_3WA_Office_x64_en-US" (loading as WIM path: "\Windows\Setup\Scripts")...
    1884 MiB scanned (20 files, 6 directories)
    Using LZX compression with 16 threads
    Archiving file data: 0 bytes of 0 bytes (0%) done
    
    Deployment Image Servicing and Management tool
    Version: 10.0.22000.653
    
    Exporting image
    [==========================100.0%==========================]
    Exporting image
    [==========================100.0%==========================]
    Exporting image
    [==========================100.0%==========================]
    Exporting image
    [==========================100.0%==========================]
    Exporting image
    [==========================100.0%==========================]
    Exporting image
    [==========================100.0%==========================]
    Exporting image
    [==========================100.0%==========================]
    Exporting image
    [==========================100.0%==========================]
    Exporting image
    [==========================100.0%==========================]
    Exporting image
    [==========================100.0%==========================]
    Exporting image
    [==========================100.0%==========================]
    Exporting image
    [==========================100.0%==========================]
    Exporting image
    [==========================100.0%==========================]
    Exporting image
    [==========================100.0%==========================]
    Exporting image
    [==========================100.0%==========================]
    Exporting image
    [==========================100.0%==========================]
    Exporting image
    [==========================100.0%==========================]
    Exporting image
    [==========================100.0%==========================]
    Exporting image
    [==========================100.0%==========================]
    Exporting image
    [==========================100.0%==========================]
    Exporting image
    [==========================100.0%==========================]
    Exporting image
    [==========================100.0%==========================]
    Exporting image
    [==========================100.0%==========================]
    Exporting image
    [==========================100.0%==========================]
    Exporting image
    [==========================100.0%==========================]
    Exporting image
    [==========================100.0%==========================]
    Exporting image
    [==========================100.0%==========================]
    Exporting image
    [==========================100.0%==========================]
    The operation completed successfully.
    
    Some Date Shifting and applying UFWS...
    
    
    Optimizing The Wims...
    
    "AiO\x64\Sources\boot.wim" original size: 518390 KiB
    Using LZX compression with 16 threads
    Archiving file data: 1221 MiB of 1221 MiB (100%) done
    "AiO\x64\Sources\boot.wim" optimized size: 499674 KiB
    Space saved: 18716 KiB
    "AiO\x64\Sources\install.wim" original size: 6998306 KiB
    Using LZX compression with 16 threads
    Archiving file data: 11 GiB of 11 GiB (100%) done
    "AiO\x64\Sources\install.wim" optimized size: 6853827 KiB
    Space saved: 144479 KiB
    
    Creating GiGA AiO...
    
    Writing "AiO\x64\Sources\install.swm" (part 1 of 2): 0 MiB of 6689 MiB (0%) written
    Writing "AiO\x64\Sources\install2.swm" (part 2 of 2): 3498 MiB of 6689 MiB (52%) written
    Finished writing split WIM part 2 of 2
    Doing Some Cleanup...
    
    
    Deployment Image Servicing and Management tool
    Version: 10.0.22000.653
    
    Scanning drive C for stale files
    Scanning drive D for stale files
    Scanning drive E for stale files
    Scanning drive F for stale files
    The operation completed successfully.
    Script Finished At 21:25:53,10
    Press any key to continue . . .
    
     
  3. RobertX

    RobertX MDL Senior Member

    Dec 6, 2014
    279
    35
    10
    What script is that?
     
  4. Dark Dinosaur

    Dark Dinosaur X Æ A-12

    Feb 2, 2011
    4,162
    5,977
    150
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. Carlos Detweiller

    Carlos Detweiller Emperor of Ice-Cream

    Dec 21, 2012
    6,771
    7,713
    210
    Currently my $OEM$ directory is inside the sources directory in the ISO itself. That location is outside of the install.wim/esd. What would be the "internal" directory it needs to go?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. Enthousiast

    Enthousiast MDL Tester

    Oct 30, 2009
    49,679
    103,541
    450
    #6 Enthousiast, Apr 11, 2023
    Last edited: Apr 11, 2023
    Wimlib-imagex is set to put it here (every index gets its own scripts folder with its own content):
    Code:
    "install.wim\windows\setup\scripts"
    @Dark Dinosaur my goal in life is to never use those lame xml crap.
     
  7. Carlos Detweiller

    Carlos Detweiller Emperor of Ice-Cream

    Dec 21, 2012
    6,771
    7,713
    210
    @Enthousiast: Sorry, I don't usually speak "script". So, the $OEM$\$$\Setup\Scripts is the same as \Windows\Setup\Scripts - interesting. Unfortunately, that means manual build or adaption of scripts, again.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  8. Enthousiast

    Enthousiast MDL Tester

    Oct 30, 2009
    49,679
    103,541
    450
    This
    is being copied during the windows installation to
    My script puts the shared content in the "ISO:\Sources\$OEM$\$$\Setup\Scripts" folder and the index specific stuff is put in the different indexes inside the install.wim/esd/swm.
     
  9. RobertX

    RobertX MDL Senior Member

    Dec 6, 2014
    279
    35
    10
    #9 RobertX, Apr 12, 2023
    Last edited: Apr 25, 2023
    (OP)
    All right, thanks guys.

    I'll look somewhere else for help.
     
  10. RobertX

    RobertX MDL Senior Member

    Dec 6, 2014
    279
    35
    10
    The matter is a little complicated that I felt the need to come back here for help.

    Basically, I want to create two editions of Windows 11 Pro: one that pre-activates and one that doesn't touch the activator.

    To this end, do I have to create two SetupComplete.cmd scripts?

    I saw the answer file. No disrespect, but I was overwhelmed by the features, and none of which does what I intend to do. This is why the only thing out of this mess is to think of a way to make two SetupComplete.cmd files.

    I guess asking to be hand-held is a no-no in this forum, but I do need some help.

    OK, on with the verbal abuse; I am ready for it.

    EDIT: Now I see that this post will require more information.

    For every tutorial that I have come across, they always only cover the WIM file instead of the scripts file. None of which would address scripts that are uploaded to this board, like the KMS Activator, the Office installation script YAOCTRI, and the BYPASS script posted by pm67310.

    I believe that is what my difficulty was.

    Is this an existing limitation?
     
  11. RobertX

    RobertX MDL Senior Member

    Dec 6, 2014
    279
    35
    10
    Is it possible to program SetupComplete.cmd to keep track of what sourceindex the user selected, thereby activating when a certain Windows 11 edition is chosen?

    That's the only thing I can think of.
     
  12. sebus

    sebus MDL Guru

    Jul 23, 2008
    6,384
    2,037
    210
    And what is a problem with having two completely separate independent (per index) SetupComplete.cmd ?
     
  13. RobertX

    RobertX MDL Senior Member

    Dec 6, 2014
    279
    35
    10
    Is that even possible?
     
  14. Dark Dinosaur

    Dark Dinosaur X Æ A-12

    Feb 2, 2011
    4,162
    5,977
    150
    #14 Dark Dinosaur, Apr 26, 2023
    Last edited: Apr 26, 2023
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  15. RobertX

    RobertX MDL Senior Member

    Dec 6, 2014
    279
    35
    10
    Thank you, Dark Dinosaur for the quick reply.

    I will read them carefully and get back if I do need more help.

    Again, thank you!
     
  16. Dark Dinosaur

    Dark Dinosaur X Æ A-12

    Feb 2, 2011
    4,162
    5,977
    150
    you can do more if you use PS commands ......
    you can do things a little easier using MSMG tool for example
    here is a list of ... DISM & PS EQU. commands

    Code:
    # ---------------------------------- #
    # Enable or Disable Windows Features #
    # ---------------------------------- #
    
    :: PS Command
    
    Get-WindowsOptionalFeature
    Disable-WindowsOptionalFeature
    
    :: DISM Command
    
    Dism /online /Get-Features
    Dism /online /Get-FeatureInfo /FeatureName:TFTP
    Dism /online /Enable-Feature /FeatureName:TFTP /All
    Dism /online /Disable-Feature /FeatureName:TFTP [/Remove]
    
    Dism /Image:"MOUNT_FOLDER" /Get-Features
    Dism /Image:"MOUNT_FOLDER" /Get-FeatureInfo /FeatureName:TFTP
    Dism /Image:"MOUNT_FOLDER" /Enable-Feature /FeatureName:TFTP /All
    Dism /Image:"MOUNT_FOLDER" /Disable-Feature /FeatureName:TFTP [/Remove]
    
    # --------------------------------------------------- #
    # Capabilities Package Servicing Command-Line Options #
    # --------------------------------------------------- #
    
    :: PS Command
    
    Get-WindowsCapability -Online
    Add-WindowsCapability -Online
    Remove-WindowsCapability -Online
    
    Get-WindowsCapability -Path "C:\mount\Windows"
    Add-WindowsCapability -Path "C:\mount\Windows"
    Remove-WindowsCapability -Path "C:\mount\Windows"
    
    :: DISM Command
    
    DISM /Online /Get-Capabilities
    DISM /Online /Get-CapabilityInfo /CapabilityName:Language.Basic~~~en-US~0.0.1.0
    Dism /Online /Remove-Capability /CapabilityName:Language.Basic~~~en-US~0.0.1.0
    
    DISM /Image:"MOUNT_FOLDER" /Get-Capabilities
    DISM /Image:"MOUNT_FOLDER" /Get-CapabilityInfo /CapabilityName:Language.Basic~~~en-US~0.0.1.0
    Dism /Image:"MOUNT_FOLDER" /Remove-Capability /CapabilityName:Language.Basic~~~en-US~0.0.1.0
    
    # ----------------------------------------------------------------- #
    # App Package (.appx or .appxbundle) Servicing Command-Line Options #
    # ----------------------------------------------------------------- #
    
    :: PS Command
    
    Add-AppxProvisionedPackage -Online
    Add-AppxPackage
    
    Get-AppXProvisionedPackage -Online       /    Get-ProvisionedAppxPackage -Online
    Get-AppXProvisionedPackage -path 'Mount' /    Get-ProvisionedAppxPackage -path 'Mount'
    Get-WindowsPackage -online               |    Get-WindowsPackage -path 'Mount'
    Get-AppxPackage [-allusers]
    
    Remove-AppxPackage
    Remove-AppXProvisionedPackage -Online        /    Remove-ProvisionedAppxPackage -Online
    Remove-AppXProvisionedPackage -path 'Mount'  /    Remove-ProvisionedAppxPackage -path 'Mount'
    Remove-WindowsPackage -online                |    Remove-WindowsPackage -path 'Mount'
    
    :: DISM Command
    
    DISM.exe /Online /Get-ProvisionedAppxPackages
    DISM.exe /Online /Add-ProvisionedAppxPackage
    DISM.exe /Online /Remove-ProvisionedAppxPackage
    DISM.exe /Online /Set-ProvisionedAppxDataFile
    DISM.exe /Online /StubPackageOption
    
    DISM.exe /Image:"MOUNT_FOLDER" /Get-ProvisionedAppxPackages
    DISM.exe /Image:"MOUNT_FOLDER" /Add-ProvisionedAppxPackage
    DISM.exe /Image:"MOUNT_FOLDER" /Remove-ProvisionedAppxPackage
    DISM.exe /Image:"MOUNT_FOLDER" /Set-ProvisionedAppxDataFile
    DISM.exe /Image:"MOUNT_FOLDER" /StubPackageOption
    
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  17. RobertX

    RobertX MDL Senior Member

    Dec 6, 2014
    279
    35
    10
    I've been using the free version of NTLite thus far.

    I'll get to you once I have more experience in DISM and MSMG Toolkit.