### Display Command Line Help Source: https://ntlite.com/docs/cli Run this command in the application directory to view the authoritative list of available switches. ```bash ntlite.exe /? ``` -------------------------------- ### Execute Full NTLite CLI Operation Source: https://ntlite.com/docs/cli Runs a comprehensive sequence including loading, preset application, update downloading, and ISO creation. ```bash ntlite.exe /Path:"D:\Test\WinEdit" /Load /Index:3 /Preset:"Main Preset" /Preset:"Additional Common Settings" /DownloadUpdates:"CU,NCU,Winget" /CreateIso:"D:\WinEdit.ISO" /IsoLabel:"WinUpdated" /ThreadMax:6 /Apply /Exit:AfterApply ``` -------------------------------- ### Execute Cleanup via Command Line Source: https://ntlite.com/docs/image Automates the removal of reinstalled component parts using the command line interface. ```bash ntlite.exe /cleancu ``` -------------------------------- ### Typical NTLite Command Invocation Source: https://ntlite.com/docs/cli Combine source paths, presets, and actions to automate image processing tasks. ```bash ntlite.exe /Path:"[image path]" /Load /Index:[X] /Preset:"[preset]" /Apply /Save[:Save|Stop] /Discard /SaveFormat:[wim|esd|swm] /SplitSize:[MB] /RemoveEditions:[i,j] /SaveDest:"[path]" /SaveDestMerge /CreateIso:"[path]" /IsoLabel:"[label]" /DownloadUpdates:"[options]" /ThreadMax:[threads] /Exit:AfterApply ``` -------------------------------- ### /DownloadUpdates Source: https://ntlite.com/docs/cli Downloads and integrates Windows updates for the loaded image based on specified types. ```APIDOC ## /DownloadUpdates:"..." ### Description Downloads and integrates Windows updates for the loaded image. Requires a comma-separated list of update types. ### Parameters - **update_types** (string) - Required - Comma-separated list of types: All, Default, CU, PCU, DE, DP, DU, EP, ESU, NCU, NHU, NF, PS, SafeOS, Terminal, VCLibs, VCLibsU, WaRun, WaRun2, Winget, WSL, XAML, OOBE. ``` -------------------------------- ### Perform Common NTLite CLI Tasks Source: https://ntlite.com/docs/cli Individual command-line operations for image editing, saving, exporting, and maintenance. ```bash ntlite.exe /Path:"D:\Win11" /Load /Index:1 ``` ```bash ntlite.exe /Path:"D:\Win11\sources\install.wim" /Index:1 /Preset:"D:\my.xml" /Apply /Save ``` ```bash ntlite.exe /Path:"D:\Win11" /Index:1 /Apply /SaveFormat:esd /CreateIso:"D:\Win11.iso" /IsoLabel:"WIN11" ``` ```bash ntlite.exe /Path:"D:\src.wim" /Index:1 /Save /SaveDest:"D:\trimmed.wim" ``` ```bash ntlite.exe /cleancu ``` ```bash ntlite.exe /Forget:"D:\old.wim" ``` -------------------------------- ### ntlite.exe Command Line Usage Source: https://ntlite.com/docs/cli The primary command line interface for NTLite, allowing users to automate image processing tasks by combining source paths, presets, and specific action switches. ```APIDOC ## ntlite.exe ### Description Executes NTLite operations via command line. The process returns exit code 0 on success and non-zero on failure. ### Usage ntlite.exe /Path:"[image path]" /Load /Index:[X] /Preset:"[preset]" /Apply /Save[:Save|Stop] /Discard /SaveFormat:[wim|esd|swm] /SplitSize:[MB] /RemoveEditions:[i,j] /SaveDest:"[path]" /SaveDestMerge /CreateIso:"[path]" /IsoLabel:"[label]" /DownloadUpdates:"[options]" /ThreadMax:[threads] /Exit:AfterApply ### Switches - **/Path** (string) - Path to the image source. - **/Load** (flag) - Loads the specified image. - **/Index** (integer) - Specifies the image index. - **/Preset** (string) - Path to a preset file. - **/Apply** (flag) - Applies changes to the image. - **/Save** (string) - Save action (Save or Stop). - **/Discard** (flag) - Discards changes. - **/SaveFormat** (string) - Output format (wim, esd, or swm). - **/SplitSize** (integer) - Split size in MB. - **/RemoveEditions** (string) - List of editions to remove. - **/SaveDest** (string) - Destination path for saving. - **/SaveDestMerge** (flag) - Merges destination path. - **/CreateIso** (string) - Path to create an ISO file. - **/IsoLabel** (string) - Label for the ISO. - **/DownloadUpdates** (string) - Update download options. - **/ThreadMax** (integer) - Maximum number of threads. - **/Exit** (string) - Exit behavior (e.g., AfterApply). - **/NewInstance** (flag) - Forces a separate, independent process. ``` -------------------------------- ### Check Process Exit Code Source: https://ntlite.com/docs/cli The process returns 0 on success and a non-zero value on failure for scripting integration. ```text 0 ``` -------------------------------- ### Processing and Maintenance Commands Source: https://ntlite.com/docs/cli Various command-line flags for controlling processing threads, instance management, and image maintenance. ```APIDOC ## Command Line Flags - **/ThreadMax:N** - Sets the maximum number of processing threads to use. - **/NewInstance** - Forces a fresh independent process instead of routing to an existing instance. - **/CleanCU** - Cleans up reinstalled component parts on the current installation. - **/ForceListComponents** - Forces component listing for the loaded image. - **/Forget:"..."** - Removes a specific item from the image history list by path. - **/?** - Displays command-line help. ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.