• subscribe
February 09, 2010 12:00 AM

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

Windows IT Pro
InstantDoc ID #103552

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 tool
Version: 6.1.7600.16385

Image Version: 6.1.7600.16385

Enabling 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.


ARTICLE TOOLS

Comments
    There are no comments to display. Be the first one!
You must log on before posting a comment.

Are you a new visitor? Register Here