Goal of the question:
Would like to know the internal working of the command Dism /online /Get-Features
to be able to understand the following:
- How does it check for the list of available/known/optional features.
- Which files, packages, directories, registry settings, configurations, or database files (or shim db files etc.), or any other filesystem/network resources are accessed to check for the features.
- If it reports a feature as unknown, what are the steps needed to force it to recognize that feature.