Techibee.com

Enable/disable features in Windows 7 from command line

This post talks about the command line options for enabling/disabling features in Windows 7 OS.

Features like, GPMC, telnet, DHCP, DNS and other can be enabled or disabled with the command “dism”. This utility can also be used for querying features, packages, adding drivers, etc. Below are the some of the examples.

To view list of installaed features:

dism /online /Get-features

To enable a feature(GPMC in this example)

dism /online /enable-feature /featurename:RemoteServerAdministrationTools-Features-GP

To disable a feature(GPMC in this example)

dism /online /disable-feature /featurename:RemoteServerAdministrationTools-Features-GP

Note: Please note that feature names are case sensitive and make sure to provide them as you see in query results.

More information about DISM(Deployment Image Servicing and Management) is available at http://technet.microsoft.com/en-us/library/dd744566(WS.10).aspx

Happy Learning…,
Sitaram Pamarthi

Exit mobile version