• Facebook
  • RSS Feed
  • Instagram
  • LinkedIn
  • Twitter
Jan 232011
 

A colleague earlier in the week asked if there was a way of finding out what roles/features Windows 2008 has installed, without walking through the GUI.

After a bit of searching I came across just such a command line tool. 

It’s quite useful for an Enterprise Vault person to need to know this, as, if the Enterprise Vault Server deployment is going to consist of a number of Windows 2008 servers a text based list is much easier to check to make sure that all of the servers are configured consistently, than a bunch of screenshots.  Also for Support staff, rather than passing around screenshots a text list is much easier.

The tool is called DISM.

Here is a command line I ran with sample output :

Dism /online /get-features /format:table

Deployment Image Servicing and Management tool

Version: 6.1.7600.16385

Image Version: 6.1.7600.16385

Features listing for package : Microsoft-Windows-Foundation-Package~31bf3856ad364e35~amd64~~6.1.7600.16385

———————————————————– | ——–

Feature Name                                                | State  

———————————————————– | ——–

OEMHelpCustomization                                        | Disabled

CorporationHelpCustomization                                | Disabled

Printing-LPRPortMonitor                                     | Disabled

Printing-InternetPrinting-Client                            | Disabled

Printing-AdminTools-Collection                              | Disabled

BitLocker                                                   | Disabled

BitLocker-RemoteAdminTool                                   | Disabled

BdeAducExtTool                                              | Disabled

SimpleTCP                                                   | Disabled

SNMP                                                        | Disabled

WMISnmpProvider                                             | Disabled

Microsoft-Windows-Web-Services-for-Management-IIS-Extension | Disabled

LightweightServer                                           | Disabled

MicrosoftWindowsPowerShellISE                               | Disabled

RemoteAssistance                                            | Disabled

WSRM                                                        | Disabled

TelnetServer                                                | Disabled

TelnetClient                                                | Disabled

BiometricFramework                                          | Disabled

FaxServiceConfigRole                                        | Disabled

FaxServiceRole                                              | Disabled

Printing-Server-Role                                        | Disabled

Printing-LPDPrintService                                    | Disabled

BusScan-ScanServer                                          | Disabled

Printing-InternetPrinting-Server                            | Disabled

DFSR-Infrastructure-ServerEdition                           | Disabled

DHCPServer                                                  | Disabled

DHCPServer-Tools                                            | Disabled

DHCPServer-RSATClient-Tools                                 | Disabled

NetworkLoadBalancingFullServer                              | Disabled

FailoverCluster-FullServer                                  | Disabled

NetworkLoadBalancingManagementClient                        | Disabled

FailoverCluster-AdminPak                                    | Disabled

DesktopExperience                                           | Disabled

InkSupport                                                  | Disabled

HandwritingRecognition                                      | Disabled

AppServer                                                   | Disabled

AppServer-UI                                                | Disabled

Gateway                                                     | Disabled

Gateway-UI                                                  | Disabled

Licensing                                                   | Disabled

Licensing-UI                                                | Disabled

SessionDirectory                                            | Disabled

SBMgr-UI                                                    | Disabled

RightsManagementServices                                    | Disabled

RMS-Federation                                              | Disabled

RightsManagementServices-AdminTools                         | Disabled

WebAccess                                                   | Disabled

IIS-WebServerRole                                           | Disabled

IIS-WebServer                                               | Disabled

IIS-CommonHttpFeatures                                      | Disabled

IIS-HttpErrors                                              | Disabled

IIS-HttpRedirect                                            | Disabled

IIS-ApplicationDevelopment                                  | Disabled

IIS-NetFxExtensibility                                      | Disabled

IIS-HealthAndDiagnostics                                    | Disabled

IIS-HttpLogging                                             | Disabled

IIS-LoggingLibraries                                        | Disabled

IIS-RequestMonitor                                          | Disabled

IIS-HttpTracing                                             | Disabled

IIS-Security                                                | Disabled

IIS-URLAuthorization                                        | Disabled

IIS-RequestFiltering                                        | Disabled

IIS-IPSecurity                                              | Disabled

IIS-Performance                                             | Disabled

IIS-HttpCompressionDynamic                                  | Disabled

IIS-WebServerManagementTools                                | Disabled

IIS-ManagementScriptingTools                                | Disabled

IIS-IIS6ManagementCompatibility                             | Disabled

IIS-Metabase                                                | Disabled

WAS-WindowsActivationService                                | Disabled

WAS-ProcessModel                                            | Disabled

WAS-NetFxEnvironment                                        | Disabled

WAS-ConfigurationAPI                                        | Disabled

IIS-HostableWebCore                                         | Disabled

IIS-StaticContent                                           | Disabled

IIS-DefaultDocument                                         | Disabled

IIS-DirectoryBrowsing                                       | Disabled

IIS-WebDAV                                                  | Disabled

IIS-ASPNET                                                  | Disabled

IIS-ASP                                                     | Disabled

IIS-CGI                                                     | Disabled

IIS-ISAPIExtensions                                         | Disabled

IIS-ISAPIFilter                                             | Disabled

IIS-ServerSideIncludes                                      | Disabled

IIS-CustomLogging                                           | Disabled

IIS-BasicAuthentication                                     | Disabled

IIS-HttpCompressionStatic                                   | Disabled

IIS-ManagementConsole                                       | Disabled

IIS-ManagementService                                       | Disabled

IIS-WMICompatibility                                        | Disabled

IIS-LegacyScripts                                           | Disabled

IIS-LegacySnapIn                                            | Disabled

IIS-FTPServer                                               | Disabled

IIS-FTPSvc                                                  | Disabled

IIS-FTPExtensibility                                        | Disabled

Smtpsvc-Admin-Update-Name                                   | Disabled

Smtpsvc-Service-Update-Name                                 | Disabled

IIS-WindowsAuthentication                                   | Disabled

IIS-DigestAuthentication                                    | Disabled

IIS-ClientCertificateMappingAuthentication                  | Disabled

IIS-IISCertificateMappingAuthentication                     | Disabled

IIS-ODBCLogging                                             | Disabled

SUA                                                         | Disabled

Microsoft-Windows-Deployment-Services                       | Disabled

Microsoft-Windows-Deployment-Services-Deployment-Server     | Disabled

Microsoft-Windows-Deployment-Services-Transport-Server      | Disabled

Microsoft-Windows-Deployment-Services-Legacy-SIS            | Disabled

Microsoft-Windows-Deployment-Services-Admin-Pack            | Disabled

DirectoryServices-DomainController                          | Disabled

DirectoryServices-AdministrativeCenter                      | Disabled

DirectoryServices-ADAM                                      | Disabled

ActiveDirectory-PowerShell                                  | Disabled

DNS-Server-Full-Role                                        | Disabled

DirectoryServices-DomainController-Tools                    | Disabled

DirectoryServices-ADAM-Tools                                | Disabled

DNS-Server-Tools                                            | Disabled

HCSRuntime                                                  | Disabled

HCSUI                                                       | Disabled

WINSRuntime                                                 | Disabled

Microsoft-Windows-Internet-Naming-Service-AdminTools        | Disabled

IAS NT Service                                              | Disabled

NPSManagementTools                                          | Disabled

HCAP-Server                                                 | Disabled

RasServer                                                   | Disabled

RasServerAdminTools                                         | Disabled

RasServerAll                                                | Disabled

RasRoutingProtocols                                         | Disabled

RasCMAK                                                     | Disabled

CertificateServicesManagementTools                          | Disabled

CertificateServices                                         | Disabled

OnlineRevocationServicesManagementTools                     | Disabled

OnlineRevocationServices                                    | Disabled

WebEnrollmentServices                                       | Disabled

NetworkDeviceEnrollmentServices                             | Disabled

CertificateEnrollmentPolicyServer                           | Disabled

CertificateEnrollmentServer                                 | Disabled

RPC-HTTP_Proxy                                              | Disabled

AdminUI                                                     | Disabled

NIS                                                         | Disabled

RSAT-NIS                                                    | Disabled

PSync                                                       | Disabled

WirelessNetworking                                          | Disabled

WindowsRecoveryDisc                                         | Disabled

WindowsServerBackup                                         | Disabled

WindowsServerBackupCommandlet                               | Disabled

ServicesForNFS-ServerAndClient                              | Disabled

ServerForNFS-Infrastructure                                 | Disabled

ClientForNFS-Infrastructure                                 | Disabled

NFS-Administration                                          | Disabled

DFS-Replication-All                                         | Disabled

DfsMgmt                                                     | Disabled

FSRM-Infrastructure                                         | Disabled

FSRM-Management                                             | Disabled

CoreFileServer                                              | Disabled

BITSExtensions-Upload                                       | Disabled

BITSExtensions-AdminPack                                    | Disabled

MSRDC-Infrastructure                                        | Disabled

FRS-Infrastructure                                          | Disabled

StorageManagerForSANs                                       | Disabled

Indexing-Service-Package                                    | Disabled

iSNS_Service                                                | Disabled

Microsoft-Windows-GroupPolicy-ServerAdminTools-Update       | Disabled

TFTP                                                        | Disabled

MultipathIo                                                 | Disabled

DirectoryServices-ISM-Smtp                                  | Disabled

SearchEngine-Server-Package                                 | Disabled

NetFx3                                                      | Disabled

WCF-HTTP-Activation                                         | Disabled

WCF-NonHTTP-Activation                                      | Disabled

P2P-PnrpOnly                                                | Disabled

MSMQ-Server                                                 | Disabled

MSMQ-Triggers                                               | Disabled

MSMQ-ADIntegration                                          | Disabled

MSMQ-HTTP                                                   | Disabled

MSMQ-Multicast                                              | Disabled

MSMQ-DCOMProxy                                              | Disabled

MSMQ-RoutingServer                                          | Disabled

Printing-XPSServices-Features                               | Enabled

DFSN-Server                                                 | Disabled

ADFS-FederationService                                      | Disabled

ADFS-FederationServiceProxy                                 | Disabled

ADFS-WebAgentClaims                                         | Disabled

ADFS-WebAgentToken                                          | Disabled

QWAVE                                                       | Disabled

PeerDist                                                    | Disabled

SIS-Limited                                                 | Disabled

Microsoft-Hyper-V                                           | Disabled

VmHostAgent                                                 | Disabled

Microsoft-Hyper-V-Management-Clients                        | Disabled

DamgmtTools                                                 | Disabled

Internet-Explorer-Optional-amd64                            | Enabled

SMBHashGeneration                                           | Disabled

ServerMigration                                             | Disabled

Xps-Foundation-Xps-Viewer                                   | Disabled

TIFFIFilter                                                 | Disabled

The operation completed successfully

 

Reference:

http://chrisbeams.wordpress.com/2010/10/29/retiring-oclist-exe/

If you enjoyed this post, please consider leaving a comment or subscribing to the RSS feed to have future articles delivered to your feed reader.

 Leave a Reply

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

(required)

(required)