In Win7+ i can run the following command to get a list of optional features:
wmic path Win32_OptionalFeature get Caption,InstallState
How can i get a similar list on WinXP, natively?
In Win7+ i can run the following command to get a list of optional features:
wmic path Win32_OptionalFeature get Caption,InstallState
How can i get a similar list on WinXP, natively?
The whole concept of "optional features" which can be installed and uninstalled was introduced with Windows Vista / Windows Server 2008; it was not present in earlier systems.
Oh, and it's much easier to get a list of installed features using PowerShell:
Get-WindowsOptionalFeature -Online
Or using dism
:
dism.exe /Online /Get-Features
The same question has been asked several times about Windows Server 2003 (XP's server counterpart), but it has no definite answer other than "try to guess what is installed from available services and Registry keys"; see here and here.