Run the command line as administrator and use:
dism /online /Get-Features
This will display the function names as they do not always match what you see in this list of visual functions. It will also show which ones are currently enabled / disabled. After you find the function you want to enable ( NetFx3 in this case), run this:
dism /online /Enable-Feature /FeatureName:NetFx3
And as Richard said, you can disable the function by simply switching "Enable" to "Disable" ex.
dism /online /Disable-Feature /FeatureName:NetFx3
Note. Sometimes, a reboot is required to view changes using Windows features.
source share