New
#10
Ok I selected uninstall for all three, and they were still there.
I then decided to reboot, and:
Getting Windows Ready
Working on updates xx%....
Restarting
Working on updates xx%
Windows!
Opened Start and all three are gone:)
Ok I selected uninstall for all three, and they were still there.
I then decided to reboot, and:
Getting Windows Ready
Working on updates xx%....
Restarting
Working on updates xx%
Windows!
Opened Start and all three are gone:)
Good to know they can be removed. WMP will cause a BSOD for me when using Bitdefender. I plan on using BD when I clean install 1803 from the MCT. Thanks Cliff :)
This isn't a big deal or anything, but is there a way to manually wipe the optional feature history? I uninstalled some optional features on the first of May but they're still there in the history under "last 7 days" despite it being over a week at this point.
My recent experience:
Optional Features that cannot be uninstalled (i.e. have only the Manage button available), can be beautifully removed using PowerShell.
I had a problem with English (GB) typing installed, for a reason unknown to me....No en-GB language installed ever, but the optional feature was there, with no ability to remove, as the only available button was the "Manage" one.
I did try to install the complete English (GB) language pack, hoping that by removing the newly installed Language pack, the Optional feature will be removed too...but no, the Language pack was removed but the "English (GB) typing", was there!
So as usual, when everything else fails, using good old PowerShell will (usually) solve it. And yes it's gone:
HTH someone!Code:Get-WindowsCapability -Online | where Name -EQ 'Language.Basic~~~en-GB~0.0.1.0' | Remove-WindowsCapability -Online
@Brink, Thank you for the write-up! This and Turn Windows Features On or Off in Windows 10 have been very helpful in my automations 👍
Unfortunately, the Powershell part here is wrong insofar as it usesGet-WindowsOptionalFeature
for „Windows Features“, as opposed toGet-WindowsCapability
for „Optional Features“.
Great naming and consistency, MS …
Adding and Removing would happen withAdd-WindowsCapability
andRemove-WindowsCapability
, respectively.
TheGet-WindowsOptionalFeature
cmdlet gets information about all features (operating system features that include optional Windows foundation features)
Source: https://docs.microsoft.com/en-us/pow...?view=win10-ps
There is a fundamental communication problem, resulting from the fact that Microsoft fails to use the termfeature
consistently.
The two sets of functionality that in DISM docs are called Capabilities and Features, are called “features” in the end-user facing UI, respectivelyOptional Features
andWindows Features
. They have no overlap, as far as I can tell. Therefore, you need to consciously separate those two.
TheCapabilities
/Optional Features
are managed viaSettings Win+I \ Apps \ Optional features
. TheFeatures
/Windows Features
are managed viaControl Panel[/B] \ Programs and Features \ Turn Windows features on or off
.
If you run bothGet-WindowsCapability
andGet-WindowsOptionalFeature
, you will see that they yield distinct data sets, the former not being a subset of the latter.
If you review the articles, you can observe that
- Turn Windows Features On or Off in Windows 10 uses
DISM /online /get-features
incmd
andGet-WindowsOptionalFeature –Online
inPowershell
with equivalent data sets in the examples- Manage Optional Features in Windows 10 uses
DISM /Online /Get-Capabilities
incmd
andGet-WindowsOptionalFeature –Online
inPowershell
with divergent data sets in the examples
Hello @Brink ,
I am still pre-customising [ on my Test OS ] and I wanted toRemove
a couple ofManaged Options
, therefore I wanted the output list in a more specific order ofInstalled
andNot Present
forCMD
, andEnabled
andDisabled
forPowerShell
.
Therefore, these might be a good addition to the above Tutorial . . .
Option Two: Manage Optional Features in Command Prompt:
Code:DISM /Online /Get-Capabilities /Format:Table | Find "Installed"
Code:DISM /Online /Get-Capabilities /Format:Table | Find "Not Present"
Option Three: Manage Optional Features in PowerShell:
Code:Get-WindowsOptionalFeature -Online | Where State -Like Enabled* | FT
Code:Get-WindowsOptionalFeature -Online | Where State -Like Disabled* | FT