How to Install Optional Features on Windows 11

To install optional features on Windows 11 (for example, WMIC), go to Settings > System > Optional features, click View features, search for WMIC, check the box next to it, and click Install. Alternatively, you can use a command-line tool like PowerShell or the Command Prompt with an administrator account and run a DISM command to add the capability.