Q. How can I enable or disable a Windows role or feature with DISM?

John Savill

February 8, 2010

1 Min Read
ITPro Today logo in a gray background | ITPro Today

A. You can use the /enable-feature switch with DISM enable a feature or role on a Windows 7 or Windows Server 2008 R2 installation. For example, the command

dism /online /enable-feature:InkSupport

will enable ink support, as shown here.

Deployment Image Servicing and Management toolVersion: 6.1.7600.16385Image Version: 6.1.7600.16385Enabling feature(s)[=====================

100.0%

=====================]The operation completed successfully.Restart Windows to complete this operation.Do you want to restart the computer now (Y/N)? n

Similarly, you can use the /disable-feature option to disable a role/feature.

You can get the name of the role or feature you want using DISM's /get-features and /online switches.

Related Reading:



Check out hundreds more useful Q&As like this in John Savill's FAQ for Windows. Also, watch instructional videos made by John at ITTV.net.

About the Author

Sign up for the ITPro Today newsletter
Stay on top of the IT universe with commentary, news analysis, how-to's, and tips delivered to your inbox daily.

You May Also Like