While I find it a little odd, for some reason this has been the week of DISM requests at work. One of the top requests has been on how you enable features with the DISM utility. I dont know why this is popping up all of the sudden but thought I would address is briefly for anyone who might have the question.
DISM is the inbox utility included with Win7/2008 R2 installations that can do all sorts of cool stuff. I would suggest that anyone who actively reads my blog start getting used to this tool over PKGMGR and some of the other in-box utilities you’re used to using as DISM is becoming the preferred method for servicing operations in the OS. Anyways, one of the things you can do inside of DISM is add roles and features while the system is online without the need to open server manager. Some people find this to be useful, especially if they are used to a command line or scriptable interface. The only real catch to DISM is to make sure that you know the name of the feature you wish to install or remove (I’ve piped the list out for server at the end of this entry). The DISM command that you need to do an installation of a feature is:
DISM /online /enable-feature /featurename:<name of feature>
Note: The featurename syntax is case sensitive so make sure you're typing it out as it appears in the list below.
The following is the feature list for Windows 2008 R2 SP1:
Features listing for package : Microsoft-Windows-Foundation-Package~31bf3856ad364e35~amd64~~6.1.7601.17514
----------------------------------------------------------- | --------Feature Name | State ----------------------------------------------------------- | --------DirectoryServices-DomainController-Tools | DisabledIIS-WebServerRole | Enabled IIS-WebServer | Enabled IIS-CommonHttpFeatures | Enabled IIS-HttpErrors | DisabledIIS-HttpRedirect | DisabledIIS-ApplicationDevelopment | Enabled IIS-Security | Enabled IIS-URLAuthorization | DisabledIIS-RequestFiltering | Enabled IIS-NetFxExtensibility | Enabled IIS-HealthAndDiagnostics | Enabled IIS-HttpLogging | DisabledIIS-LoggingLibraries | DisabledIIS-RequestMonitor | DisabledIIS-HttpTracing | DisabledIIS-IPSecurity | DisabledIIS-Performance | Enabled IIS-HttpCompressionDynamic | DisabledIIS-WebServerManagementTools | Enabled IIS-ManagementScriptingTools | DisabledIIS-IIS6ManagementCompatibility | DisabledIIS-Metabase | DisabledWAS-WindowsActivationService | Enabled WAS-ProcessModel | Enabled WAS-NetFxEnvironment | Enabled WAS-ConfigurationAPI | Enabled IIS-HostableWebCore | DisabledIIS-ISAPIExtensions | DisabledIIS-ISAPIFilter | DisabledIIS-StaticContent | DisabledIIS-DefaultDocument | DisabledIIS-DirectoryBrowsing | DisabledIIS-WebDAV | DisabledIIS-ASPNET | DisabledIIS-ASP | DisabledIIS-CGI | DisabledIIS-ServerSideIncludes | DisabledIIS-CustomLogging | DisabledIIS-BasicAuthentication | DisabledIIS-HttpCompressionStatic | DisabledIIS-ManagementConsole | DisabledIIS-ManagementService | DisabledIIS-WMICompatibility | DisabledIIS-LegacyScripts | DisabledIIS-LegacySnapIn | DisabledIIS-FTPServer | DisabledIIS-FTPSvc | DisabledIIS-FTPExtensibility | DisabledSmtpsvc-Admin-Update-Name | DisabledSmtpsvc-Service-Update-Name | DisabledNetFx3 | Enabled WCF-HTTP-Activation | Enabled WCF-NonHTTP-Activation | Enabled DirectoryServices-DomainController | DisabledDirectoryServices-ADAM | DisabledOEMHelpCustomization | DisabledCorporationHelpCustomization | DisabledPrinting-LPRPortMonitor | DisabledPrinting-InternetPrinting-Client | DisabledPrinting-AdminTools-Collection | DisabledBitLocker | DisabledBitLocker-RemoteAdminTool | DisabledBdeAducExtTool | DisabledSimpleTCP | DisabledSNMP | DisabledWMISnmpProvider | DisabledMicrosoft-Windows-Web-Services-for-Management-IIS-Extension | DisabledLightweightServer | DisabledMicrosoftWindowsPowerShellISE | DisabledRemoteAssistance | DisabledWSRM | DisabledTelnetServer | DisabledTelnetClient | DisabledBiometricFramework | DisabledIIS-WindowsAuthentication | DisabledIIS-DigestAuthentication | DisabledIIS-ClientCertificateMappingAuthentication | DisabledIIS-IISCertificateMappingAuthentication | DisabledIIS-ODBCLogging | DisabledPrinting-Server-Role | DisabledPrinting-LPDPrintService | DisabledBusScan-ScanServer | DisabledPrinting-InternetPrinting-Server | DisabledFaxServiceConfigRole | DisabledFaxServiceRole | DisabledDFSR-Infrastructure-ServerEdition | DisabledDHCPServer | DisabledDHCPServer-Tools | DisabledDHCPServer-RSATClient-Tools | DisabledNetworkLoadBalancingFullServer | DisabledFailoverCluster-FullServer | DisabledNetworkLoadBalancingManagementClient | DisabledFailoverCluster-AdminPak | DisabledInkSupport | Enabled DesktopExperience | Enabled MediaPlayback | Enabled WindowsMediaPlayer | Enabled HandwritingRecognition | DisabledAppServer | DisabledAppServer-UI | DisabledLicensing | DisabledLicensing-UI | DisabledSessionDirectory | DisabledSBMgr-UI | DisabledWebAccess | DisabledSUA | DisabledMicrosoft-Windows-Deployment-Services | DisabledMicrosoft-Windows-Deployment-Services-Transport-Server | DisabledMicrosoft-Windows-Deployment-Services-Deployment-Server | DisabledMicrosoft-Windows-Deployment-Services-Legacy-SIS | DisabledMicrosoft-Windows-Deployment-Services-Admin-Pack | DisabledActiveDirectory-PowerShell | DisabledDirectoryServices-AdministrativeCenter | DisabledDNS-Server-Full-Role | DisabledDirectoryServices-ADAM-Tools | DisabledDNS-Server-Tools | DisabledWINSRuntime | DisabledMicrosoft-Windows-Internet-Naming-Service-AdminTools | DisabledIAS NT Service | DisabledHCSRuntime | DisabledHCSUI | DisabledRPC-HTTP_Proxy | DisabledGateway | DisabledGateway-UI | DisabledNPSManagementTools | DisabledHCAP-Server | DisabledRasServer | DisabledRasServerAdminTools | DisabledRasServerAll | DisabledRasRoutingProtocols | DisabledRasCMAK | DisabledAdminUI | DisabledNIS | DisabledRSAT-NIS | DisabledPSync | DisabledWirelessNetworking | DisabledWindowsRecoveryDisc | DisabledWindowsServerBackup | DisabledWindowsServerBackupCommandlet | DisabledServicesForNFS-ServerAndClient | DisabledServerForNFS-Infrastructure | DisabledClientForNFS-Infrastructure | DisabledNFS-Administration | DisabledDFS-Replication-All | DisabledDfsMgmt | DisabledFSRM-Infrastructure | DisabledFSRM-Management | DisabledCoreFileServer | DisabledBITSExtensions-Upload | DisabledBITSExtensions-AdminPack | DisabledMSRDC-Infrastructure | DisabledFRS-Infrastructure | DisabledStorageManagerForSANs | DisabledIndexing-Service-Package | DisablediSNS_Service | DisabledMicrosoft-Windows-GroupPolicy-ServerAdminTools-Update | DisabledTFTP | DisabledMultipathIo | DisabledDirectoryServices-ISM-Smtp | DisabledSearchEngine-Server-Package | Enabled CertificateServicesManagementTools | DisabledCertificateServices | DisabledOnlineRevocationServicesManagementTools | DisabledOnlineRevocationServices | DisabledWebEnrollmentServices | DisabledNetworkDeviceEnrollmentServices | DisabledCertificateEnrollmentPolicyServer | DisabledCertificateEnrollmentServer | DisabledP2P-PnrpOnly | DisabledMSMQ-Server | DisabledMSMQ-Triggers | DisabledMSMQ-ADIntegration | DisabledMSMQ-HTTP | DisabledMSMQ-Multicast | DisabledMSMQ-DCOMProxy | DisabledMSMQ-RoutingServer | DisabledPrinting-XPSServices-Features | Enabled DFSN-Server | DisabledADFS-FederationService | DisabledADFS-FederationServiceProxy | DisabledADFS-WebAgentClaims | DisabledADFS-WebAgentToken | DisabledRightsManagementServices | DisabledRMS-Federation | DisabledRightsManagementServices-AdminTools | DisabledQWAVE | DisabledPeerDist | DisabledSIS-Limited | DisabledMicrosoft-Hyper-V | Enabled VmHostAgent | DisabledMicrosoft-Hyper-V-Management-Clients | Enabled DamgmtTools | DisabledInternet-Explorer-Optional-amd64 | Enabled SMBHashGeneration | DisabledServerMigration | DisabledXps-Foundation-Xps-Viewer | DisabledTIFFIFilter | DisabledMicrosoft-Windows-RemoteFX-Host-Package | DisabledMicrosoft-Windows-RemoteFX-EmbeddedVideoCap-Setup-Package | Disabled
--Joseph