Win32_ServerFeature class
Applies to: desktop apps only
The Win32_ServerFeature class represents the features installed on a computer running the Windows Server 2008 or later server operating system. This class can be used by developers and administrators who need to automate the process of determining the features installed on a set of server computers. Instances of this class are not available on client computers.
Syntax
class Win32_ServerFeature
{
uint32 ID;
uint32 ParentID;
string Name;
};
Members
The Win32_ServerFeature class has these types of members:
Properties
The Win32_ServerFeature class has these properties.
- ID
-
- Data type: uint32
- Access type: Read-only
- Qualifiers: Key
Server feature ID. The following table shows the possible values of the ID property:
Value Description 1 Application Server 2 Web Server (IIS) 3 Streaming Media Services 5 Fax Server 6 File Services 7 Print and Document Services Windows Server 2008: Print Services8 Active Directory Federation Services 9 Active Directory Lightweight Directory Services 10 Active Directory Domain Services 11 UDDI Services Windows Server 2008 R2: This ID was removed.12 DHCP Server 13 DNS Server 14 Network Policy and Access Services 16 Active Directory Certificate Services 17 Active Directory Rights Management Services 18 Remote Desktop Services Windows Server 2008: Terminal Services19 Windows Deployment Services 20 Hyper-V 21 Windows Server Update Services 33 Failover Clustering 34 Network Load Balancing 35 Desktop Experience 36 .NET Framework 3.5.1 Features Windows Server 2008: .NET Framework 3.0 Features37 Windows System Resource Manager 38 Wireless LAN Service 39 Windows Server Backup Features 40 WINS Server 41 Windows Process Activation Service 42 Remote Assistance 43 Simple TCP/IP Services 44 Telnet Client 45 Telnet Server 46 Subsystem For Unix-based Applications 47 RPC Over HTTP Proxy 48 SMTP Server 49 Message Queuing 51 Windows Internal Database 52 Storage Manager For SANs 53 LPR Port Monitor 55 Internet Storage Name Server 57 Multipath I/O 58 TFTP Client 59 SNMP Services 60 Removable Storage Manager Windows Server 2008 R2: This ID was removed.61 BitLocker Drive Encryption 62 Services For Network File System 63 Internet Printing Client 64 Peer Name Resolution Protocol 65 Connection Manager Administration Kit 66 Windows PowerShell Windows Server 2008 R2: This ID was removed.67 Remote Server Administration Tools 68 Quality Windows Audio Video Experience 69 Group Policy Management 71 Indexing Service 72 File Server Resource Manager (FSRM) 73 Remote Differential Compression 310 Ink and Handwriting Services Windows Server 2008: Not available.320 Windows Server Migration Tools Windows Server 2008: Not available.321 WinRM IIS Extension Windows Server 2008: Not available.324 BranchCache Windows Server 2008: Not available.334 DirectAccess Management Console Windows Server 2008: Not available.335 Background Intelligent Transfer Service (BITS) Windows Server 2008: Not available.338 XPS Viewer Windows Server 2008: Not available.339 Windows Biometric Framework Windows Server 2008: Not available.340 WoW64 Support Windows Server 2008: Not available.351 Windows PowerShell Integrated Scripting Environment (ISE) Windows Server 2008: Not available.352 Windows TIFF IFilter Windows Server 2008: Not available.File Services - Role Services 100 Distributed File System 101 DFS Namespace 102 DFS Replication 103 File Replication Service Windows Server 2008 R2: This ID was removed.104 File Server Resource Manager 105 Services For Network File System 106 Single Instance Storage 107 Windows Search Service 108 Indexing Service 226 Windows Server 2003 File Services 255 File Server 350 BranchCache for Network Files Windows Server 2008: Not available.AD DS - Role Services 110 Active Directory Domain Controller 111 Identity Management For Unix 112 Server For Network Information Services 113 Password Synchronization 294 Administration Tools Streaming Media - Role Services 120 Windows Media Server 121 Web-based Administration 122 Logging Agent ADFS - Role Services 125 Federation Service 126 Federation Service Policy 127 AD FS Web Agents 128 Claims-aware Agent 129 Windows Token-based Agent Remote Desktop Services - Role Services 130 Remote Desktop Session Host Windows Server 2008: Terminal Server131 Remote Desktop Licensing Windows Server 2008: TS Licensing132 Remote Desktop Gateway Windows Server 2008: TS Gateway133 Remote Desktop Connection Broker Windows Server 2008: TS Session Broker134 Remote Desktop Web Access Windows Server 2008: TS Web Access322 Remote Desktop Virtualization Host Windows Server 2008: Not available.Print and Document Services - Role Services 135 Print Server 136 Internet Printing 137 LPD Print Service 328 Distributed Scan Server Windows Server 2008: Not available.Web Server (IIS) - Role Services 140 Web Server 141 Common HTTP Features 142 Static Content 143 Default Document 144 Directory Browse 145 HTTP Errors 146 HTTP Redirection 314 WebDAV Publishing 147 Application Development 148 ASP.NET 149 .NET Extensibility 150 ASP 151 CGI 152 ISAPI Extensions 153 ISAPI Filters 154 Server Side Includes 155 Health And Diagnostics 156 HTTP Logging 157 Logging Tools 158 Request Monitor 159 Tracing 160 Custom Logging 161 ODBC Logging 162 Security 163 Basic Authentication 164 Windows Authentication 165 Digest Authentication 166 Client Certificate Mapping Authentication 167 IIS Client Certificate Mapping Authentication 168 URL Authorization 169 Request Filtering 170 IP And Domain Restrictions 171 Performance 172 Static Content Compression 173 Dynamic Content Compression 174 Management Tools 175 IIS Management Console 176 IIS Management Scripts And Tools 177 Management Service 178 IIS 6 Management Compatibility 179 IIS 6 Metabase Compatibility 180 IIS 6 WMI Compatibility 181 IIS 6 Scripting Tools 182 IIS 6 Management Console 183 FTP Publishing Service Windows Server 2008 R2: This ID was removed.184 FTP Server 185 FTP Management Console Windows Server 2008 R2: This ID was removed.316 FTP Service Windows Server 2008: Not available.317 FTP Extensibility Windows Server 2008: Not available.336 IIS Hostable Web Core Windows Server 2008: Not available.Message Queuing - Features 190 Message Queuing Services 191 Message Queuing Server 192 Directory Service Integration 193 Message Queuing Triggers 194 HTTP Support 195 Routing Service 196 Windows 2000 Client Support Windows Server 2008 R2: This ID was removed.197 Message Queuing DCOM Proxy 228 Multicasting Support Active Directory Certificate Services - Role Services 200 Certification Authority 201 Certification Authority Web Enrollment 202 Online Responder 204 Network Device Enrollment Service 318 Certificate Enrollment Web Service Windows Server 2008: Not available.319 Certificate Enrollment Policy Web Service Windows Server 2008: Not available.Network Policy and Access Services - Role Services 205 Network Policy Server 206 VPN 207 Remote Access Services 208 Routing 210 Health Registration Authority 250 Host Credential Authorization Protocol UDDI Services - Role Services 215 UDDI Services Web Application Windows Server 2008 R2: This ID was removed.216 UDDI Services Database Windows Server 2008 R2: This ID was removed.Windows Process Activation Service - Role Services 217 Configuration API 218 .NET Environment 219 Process Model .NET Framework 3.5.1 - Features 220 .NET Framework 3.5.1 Windows Server 2008: Net FX 3.0 Features221 WCF Activation 222 HTTP Activation 223 Non-HTTP Activation 227 XPS Viewer Windows Server 2008 R2: This ID was removed.SNMP Services - Features 224 SNMP Service 225 SNMP WMI Provider Application Services - Role Services 230 .NET Framework 3.5.1 Windows Server 2008: Application Server Core231 Web Server (IIS) Support 232 COM+ Network Access 233 TCP Port Sharing 234 Windows Process Activation Service Support 235 HTTP Activation 236 Message Queuing Activation 237 TCP Activation 238 Named Pipes Activation 239 Distributed Transactions 240 Incoming Remote Transactions 241 Outgoing Remote Transactions 242 WS-Automatic Transactions 353 Application Server Extensions for .NET 4.0 Windows Server 2008: Not available.Windows Deployment Services - Role Services 251 Deployment Server 252 Transport Server Active Directory Rights Management Services - Role Services 253 Active Directory Rights Management Server 254 Identity Federation Support Remote Server Administration Tools 256 Role Administration Tools 257 AD DS Tools Windows Server 2008: Active Directory Domain Services Tools258 AD LDS Snap-Ins and Command-Line Tools Windows Server 2008: Active Directory Lightweight Directory Services Tools259 Active Directory Certificate Services Tools 260 Network Policy and Access Services 261 Print and Document Services Tools Windows Server 2008: Print Services Tools262 Active Directory Rights Management Services 263 Remote Desktop Services Tools Windows Server 2008: Terminal Services Tools264 Windows Deployment Services Tools 265 Feature Administration Tools 266 BitLocker Drive Encryption Tools 267 BITS Server Extensions Tools 268 Failover Clustering Tools 269 Network Load Balancing Tools 270 SMTP Server Tools 273 DNS Server Tools 277 File Services Tools 278 Distributed File System Tools 279 File Server Resource Manager Tools 280 Services For Network File System Tools 281 Web Server (IIS) Tools 284 Remote Desktop Session Host Tools Windows Server 2008: Terminal Server Tools285 Remote Desktop Gateway Tools Windows Server 2008: TS Gateway Tools286 Remote Desktop Licensing Tools Windows Server 2008: TS Licensing Tools288 Fax Server Tools 290 WINS Server Tools 291 UDDI Services Tools Windows Server 2008 R2: This ID was removed.292 Certification Authority Tools 293 Online Responder Tools 299 AD DS Snap-Ins and Command-Line Tools Windows Server 2008: Active Directory Domain Controller Tools323 BitLocker Recovery Password Viewer Windows Server 2008: Not available.326 BitLocker Drive Encryption Administration Utilities Windows Server 2008: Not available.329 AD DS and AD LDS Tools Windows Server 2008: Not available.330 Active Directory Administrative Center Windows Server 2008: Not available.331 Active Directory module for Windows PowerShell Windows Server 2008: Not available.337 Remote Desktop Connection Broker Tools Windows Server 2008: Not available.Windows Server Backup - Features 296 Windows Server Backup 297 Command Line Tools Ink and Handwriting Services - Features 311 Ink Support Windows Server 2008: Not available.312 Handwriting Recognition Windows Server 2008: Not available.Background Intelligent Transfer Service (BITS) - Features 54 IIS Server Extension 332 Compact Server Windows Server 2008: Not available.Wow64 Support - Features 341 WoW64 Windows Server 2008: Not available.342 WoW64 for .NET Framework 2.0 and Windows PowerShell Windows Server 2008: Not available.343 WoW64 for .NET Framework 2.0 Windows Server 2008: Not available.344 WoW64 for Windows PowerShell Windows Server 2008: Not available.345 WoW64 for .NET Framework 3.0 and 3.5 Windows Server 2008: Not available.346 WoW64 for Print Services Windows Server 2008: Not available.347 WoW64 for Failover Clustering Windows Server 2008: Not available.348 WoW64 for Input Method Editor Windows Server 2008: Not available.349 WoW64 for Subsystem for UNIX-based Applications Windows Server 2008: Not available. - Name
-
- Data type: string
- Access type: Read-only
Display name of the server feature, such as "File Server", "Print Server", or "Desktop Experience".
- ParentID
-
- Data type: uint32
- Access type: Read-only
ID number of the parent server feature. This property is 0 if the feature represented by the current instance of the class does not have a parent feature.
Remarks
Read the Windows Server 2008 Server Manager Technical Overview to learn about server features.
Enterprises that do not use management software that reports server features, such as System Center Operations Manager with management packs installed, can get that information by querying the Win32_ServerFeature class.
You can use the remoting features of WMI or WinRM to get server feature information from remote servers. For more information about remote WMI DCOM connections, see Connecting to WMI on a Remote Computer. For more information about WinRM, see Windows Remote Management.
Examples
The following script displays the names of all the server features on the computer named FABRIKAM. Note that the target computer must be running Windows Server 2008 or a later server operating system.
strComputer = "FABRIKAM" Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\cimv2") Set colFeatureList = objWMIService.ExecQuery _ ("SELECT Name FROM Win32_ServerFeature") For Each objFeature In colFeatureList WScript.Echo objFeature.Name Next
Requirements
|
Minimum supported client | None supported |
|---|---|
|
Minimum supported server | Windows Server 2008 |
|
Namespace |
\root\CIMV2 |
|
MOF |
|
Send comments about this topic to Microsoft
Build date: 3/9/2012
- 7/29/2010
- DmitryDmitryDmitry
Sort of as noted in the text, this class (Win32_ServerFeature) is not provided in Windows 7 Client.
However, it is available in Windows 7 Server - aka Windows Server 2008 R2.
- 6/16/2009
- Thomas Lee
- 6/16/2009
- Jonas Richmeier
The ID 20, thats the Hyper-V Role is missing.
- 8/26/2008
- Peter Forster
- 8/26/2008
- Thomas Lee