Manage Optional Features in Windows 10

Windows 10 comes with a number of features which are not enabled by default. For example, you can the SMB1 Sharing protocol manually if you really need it. Or, you can remove the XPS Viewer app if you find no use for it. These tasks can be done by managing Optional Features. In this article, we will see how to add or remove Optional features in Windows 10.

Note: The XPS Viewer is no longer installed by default if you install Windows 10 version 1803 from scratch (clean install). If you are using this Windows feature, you need to install it manually.

You can add or remove optional Windows features with Settings, DISM, PowerShell, or by using the appropriate classic Control Panel applet. Let's review these methods.

To manage optional features in Windows 10, do the following.

  1. Open the Settings app.
  2. Go to Apps > Apps & features.Apps And Features Windows 10
  3. On the right, click on the link Manage optional features.Apps And Features Manage Optional Link Windows 10
  4. Click on the button Add a feature at the top of the next page.Add A Feature Button
  5. Find the optional feature you need to install, e.g. XPS Viewer, in the list under Add a feature.
  6. Select it and click on the Install button.Windows 10 Install XPS Viewer
  7. To remove an optional feature, select it in the list of the installed feature, and click on the Uninstall button.Windows 10 Manage Optional Features Remove Feature

Manage optional features using DISM

  1. Open an elevated command prompt.
  2. Type the following command: dism /Online /Get-Capabilities.Windows 10 Dism List Optional Features
  3. Make note of the name of the feature you want to add or remove.
  4. To add a feature, type dism /Online /Add-Capability /CapabilityName:<feature name>, e.g. dism /Online /Add-Capability /CapabilityName:XPS.Viewer~~~~0.0.1.0.Windows 10 Install XPS Viewer With Dism
  5. To Remove an optional feature, execute the command dism /Online /Remove-Capability /CapabilityName:<feature name>, e.g. dism /Online /Remove-Capability /CapabilityName:XPS.Viewer~~~~0.0.1.0.

Manage Optional Features with PowerShell

  1. Open PowerShell as Administrator.Tip: You can add "Open PowerShell As Administrator" context menu.
  2. Type or copy-paste the following command: Get-WindowsOptionalFeature -Online.Windows 10 Powershell List Optional Features
  3. Make note of the name of the feature you want to add or remove.
  4. To add an optional feature, run the command Enable-WindowsOptionalFeature –FeatureName "name" -All -Online.Windows 10 Powershell Optional Features Add Feature
  5. To remove an optional feature, execute the command: Disable-WindowsOptionalFeature –FeatureName "name" -Online.Windows 10 Powershell Optional Features Remove Feature
  6. If prompted to restart the computer to apply, type Y, and hit the Enter key.

Finally, you can use the good old Control Panel applet.

Manage optional features using the Windows Features applet.

  1. Press the Win + R keys to open Run and type optionalfeatures.exe into the Run box.
  2. Find the desired feature in the list and check the box to enable it.
    Windows 10 Enable SMB1
  3. Unckeck the desired feature to remove it.

That's it.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.