We will discuss how to turn on/off those features using command prompt and manually. Moreover we will also describe how to find and open optional features using a command line. Further, we will briefly elaborate on how to install Windows features from the installation source using command prompt and PowerShell.
Explore Windows Features Using Command Prompt
To get a list of Windows Features using Command prompt, follow the steps below: It will display all the list of features enabled or disabled on your computer. Here format:table and more are optional and are used to improve the readability of the features.
Keep on pressing Enter until you get the full list. You can remove more options if you don’t want to get the full list. If you do not open it in administrative mode you will encounter the following error.
1- How to turn Windows features on or off?
You can enable any Windows feature or you can disable them. Some features are disabled by default.
2- How to turn Windows features on or off using command line?
Windows Features can be enabled or disabled using command line. For checking the status of the features type the command mentioned above. In order to enable any feature, follow the steps below: Disabling Windows features is very similar to enabling them. Follow the steps below to disable any feature. To get detailed information about a specific component, run the following command: DISM /online /get-featureinfo/featurename:[featurname] You will get detailed information about the feature name, description, properties, status and whether it requires restart or not.
3- Enable or Disable Windows features using PowerShell
The benefit of PowerShell over using a command prompt is that PowerShell commands check if the feature is already enabled. If it is already enabled, the installation action is not performed saving computing time. To get information about windows features through Powershell, open PowerShell in administrative mode and then type Get-WindowsOptionalFeature -Online
If you want to get information regarding specific features, type Get-WindowsOptionalFeature -Online -FeatureName Type feature name In order to enable/disable any feature use the following commands. Enable-WindowsOptionalFeature -Online -FeatureName “Type feature name” -all Disable-WindowsOptionalFeature -Online -FeatureName “Type feature name”
4- Adding Windows features from a Windows installation source
If a feature is not available for installation in installed Windows, we will need to give external source address to install the feature. The external source can be Windows installation ISO or any drive. Make sure that the path should be given correctly and installation media should be correctly installed. Moreover, you need to know exactly the feature name you wan to add.
Using Command Prompt
To add any Windows feature, open the command prompt in administrator mode and run the following command: Dism.exe /online /enable-feature /featurename:Type Feature name /All /Source:C:\Sources\sxs /LimitAccess Here is the installation media is C drive. You should change the installation media according to the requirement you want to install the feature. Once successfully installed remove the installation media.
Using PowerShell
The window feature can be installed by PowerShell using the following command Install-WindowsFeature Feature Name –Source “C:\Sources\sxs”
Enabling/Disabling features in Windows XP
All the above mentioned methods work in Windows Vista, Windows 7, Windows 8.1 and Windows 10. But if you want to use a command prompt for adding/removing features in Windows XP, you’ll need to follow the instructions below: pkgmgr d/n What are your favorite Windows features and which ones do you enable as essentials when you Install Windows? Also see:
How To Enable Hyper-V On Windows 10 (Home & Pro)How To Enable Hyper-V In Windows 11 (Home & Pro)4 Ways to Install Windows Optional Features Without Internet (Offline)How To Enable Virtualization In Windows 11/103 Ways To Enable Telnet In Windows 11/10