Apps Add or Remove Optional Features in Windows 11


  • Staff
Optional_Features_banner.png

You can add optional features in Windows 11 for extra functionality for your device.

This tutorial will show you how to add and remove optional features for all users in Windows 11.


You must be signed in as an administrator to add and remove optional features and Windows features.

Features listed in Optional Features vs Windows Features will be different, so you may need to check both for the feature(s) you want to add or remove.



Contents

  • Option One: Add or Remove Optional Features in Settings
  • Option Two: Add or Remove Windows Features in Windows Features
  • Option Three: Add or Remove Optional Features using DISM Command
  • Option Four: Add or Remove Windows Features using DISM Command
  • Option Five: Add or Remove Windows Features in PowerShell





OPTION ONE

Add or Remove Optional Features in Settings


1 Open Settings (Win+I).

2 Click/tap on Apps on the left side, and click/tap on Optional features on the right side. (see screenshot below)


Optional_Features_Settings-1.png

3 Do step 4 (add) or step 5 (remove) below for what you want.

4 Add Optional Features

A) Click/tap on the View features button. (see screenshot below)​

Optional_Features_Settings-2.png

B) Check the features you want to add, and click/tap on Next. (see screenshot below)​

Optional_Features_Settings-3.png

C) Click/tap on Install to confirm. (see screenshot below)​

Optional_Features_Settings-4.png

D) The selected feature(s) will now get installed. (see screenshot below)​

Optional_Features_Settings-5.png

E) You can now close Settings if you like.​

5 Remove Optional Features

A) Under Installed features, click/tap on the feature (ex: "Wireless Display") you want to uninstall to expand it open, and click/tap on the Uninstall button. (see screenshot below)​

Optional_Features_Settings-6.png

B) The selected feature will now get uninstalled. (see screenshot below)​

Optional_Features_Settings-7.png

C) You can now close Settings if you like.​





OPTION TWO

Add or Remove Windows Features in Windows Features


1 Open Windows Features (OptionalFeatures.exe).

2 Check (add) and uncheck (remove) the feature(s) you want, and click/tap on OK. (see screenshot below)

Windows_Features-1.png
Windows_Features-2.png

3 If prompted to restart the computer, click/tap on Restart now to finish adding or removing the feature(s). (see screenshot below)

Windows_Features-3.png





OPTION THREE

Add or Remove Optional Features using DISM Command


To see more command usage details for this option, see: DISM Capabilities Package Servicing Command-Line Options | Microsoft Docs


1 Open Windows Terminal (Admin), and select Windows PowerShell or Command Prompt.

2 Copy and paste the command below into Windows Terminal (Admin), and press Enter to see the current State of optional features as Installed (added) or Not Present (removed).

DISM /Online /Get-Capabilities /Format:Table

Make note of the Capability Identity (ex: "App.WirelessDisplay.Connect~~~~0.0.1.0") you want to add or remove. (see screenshot below)


Optional_Features_DISM-1.png

3 Type the command below you want to use into Windows Terminal (Admin), and press Enter. (see screenshots below)

(Add feature)​
DISM /Online /Add-Capability /CapabilityName:<name>

OR​

(Remove feature)​
DISM /Online /Remove-Capability /CapabilityName:<name>

Substitute name in the command above with the actual name (ex: "App.WirelessDisplay.Connect~~~~0.0.1.0") of the optional feature from step 2 you want to add or remove.

For example:
DISM /Online /Add-Capability /CapabilityName:App.WirelessDisplay.Connect~~~~0.0.1.0

DISM /Online /Remove-Capability /CapabilityName:App.WirelessDisplay.Connect~~~~0.0.1.0


4 If prompted to restart the computer, type Y to restart now.

Optional_Features_DISM-2.png

Optional_Features_DISM-3.png






OPTION FOUR

Add or Remove Windows Features using DISM Command


To see more command usage details for this option, see: Enable or Disable Windows Features Using DISM | Microsoft Docs


1 Open Windows Terminal (Admin), and select Windows PowerShell or Command Prompt.

2 Copy and paste the command below into Windows Terminal (Admin), and press Enter to see the current State of optional features as Installed (added) or Not Present (removed).

DISM /Online /Get-Features /Format:Table

Make note of the Feature Name (ex: "Containers-DisposableClientVM") you want to add or remove. (see screenshot below)


Windows_Features_DISM-1.png

3 Type the command below you want to use into Windows Terminal (Admin), and press Enter. (see screenshots below)

(Add feature)​
DISM /Online /Enable-Feature /FeatureName:"<name>" /All

OR​

(Remove feature)​
DISM /Online /Disable-Feature /FeatureName:"<name>"

Substitute name in the command above with the actual name (ex: "Containers-DisposableClientVM") of the optional feature from step 2 you want to add or remove.

For example:
DISM /Online /Add-Capability /CapabilityName:"Containers-DisposableClientVM"

DISM /Online /Remove-Capability /CapabilityName:"Containers-DisposableClientVM"


4 If prompted to restart the computer, type Y to restart now.

Windows_Features_DISM-2.png

Windows_Features_DISM-3.png






OPTION FIVE

Add or Remove Windows Features in PowerShell


To see more command usage details for this option, see:

Get-WindowsOptionalFeature | Microsoft Docs

Enable-WindowsOptionalFeature | Microsoft Docs

Disable-WindowsOptionalFeature | Microsoft Docs


1 Open Windows Terminal (Admin), and select Windows PowerShell.

2 Copy and paste the command below into Windows Terminal (Admin), and press Enter to see the current State of optional features as Enabled (added) or Disabled (removed).

Get-WindowsOptionalFeature -Online | FT

Make note of the Feature Name (ex: "Containers-DisposableClientVM") you want to add or remove. (see screenshot below)


Windows_Features_PowerShell-1.png

3 Type the command below you want to use into Windows Terminal (Admin), and press Enter. (see screenshots below)

(Add feature)​
Enable-WindowsOptionalFeature -Online -FeatureName "<name>" -All

OR​

(Remove feature)​
Disable-WindowsOptionalFeature -Online -FeatureName "<name>"

Substitute name in the command above with the actual name (ex: "Containers-DisposableClientVM") of the optional feature from step 2 you want to add or remove.

For example:
Enable-WindowsOptionalFeature -Online -FeatureName "Containers-DisposableClientVM" -All

Disable-WindowsOptionalFeature -Online -FeatureName "Containers-DisposableClientVM"


4 If prompted to restart the computer, type Y and press Enter to restart now.

Windows_Features_PowerShell-2.png

Windows_Features_PowerShell-3.png



That's it,
Shawn Brink


 

Attachments

  • Optional_Features.png
    Optional_Features.png
    1.6 KB · Views: 66
Last edited:

Latest Support Threads

Top Bottom