You can add Windows 11 optional features using the Deployment Image Servicing and Management (DISM) tool via an elevated Command Prompt or PowerShell. This allows you to install or enable features and capabilities efficiently without relying on the GUI.
Find the exact feature name: Before installing, ensure you have the exact name of the feature you want. You can view all available features by running the following command:
Code:
DISM /Online /Get-Features /Format:Table
Enable the specific feature: Use the /Enable-Feature command, replacing FeatureName with the exact name from the list:
Code:
DISM /Online /Enable-Feature /FeatureName:NameOfFeature /All
Note: Add the /All flag if you want to enable all parent features and dependencies automatically).