Win32_ServerFeature class
[The Win32_ServerFeature class is available for use in the operating systems specified in the Requirements section. It may be altered or unavailable in subsequent versions. Instead, use the ServerManager Deploymentprovider Provider Classes.]
The Win32_ServerFeature class represents the features installed on a computer running Windows Server.
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
[Deprecated("No value"), Dynamic, Provider("ServerFeatureProvider"), AMENDMENT]
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
-
Server feature ID
The following list shows the possible values of the ID property:
File Services - Role Services
Parent ID: 6
Value Name 100 Distributed File System 101 DFS Namespace 102 DFS Replication 103 File Replication Service 104 File Server Resource Manager (FSRM) 105 Services For Network File System 106 Single Instance Storage 107 Windows Search Service 108 Indexing Service 255 File Server 350 BranchCache for Network Files 431 Server for NFS 434 File Server VSS Agent Service 435 iSCSI Target Server 436 Data Deduplication 437 iSCSI Target Storage Provider (VDS and VSS hardware providers) 486 Work Folders AD DS - Role Services
Parent ID: 10
Value Name 110 Active Directory Domain Controller 111 Identity Management For Unix 112 Server For Network Information Services 113 Password Synchronization 294 Remote Server Administration Tools Streaming Media - Role Services
Parent ID: 3
Value Name 120 Windows Media Server 121 Web-based Administration 122 Logging Agent ADFS - Role Services
Parent ID: 8
Value Name 125 Active Directory Federation Services 126 Federation Service Policy 127 AD FS Web Agents 128 Claims-aware Agent 129 Windows Token-based Agent Remote Desktop Services - Role Services
Parent ID: 18
Value Name 130 Remote Desktop Session Host
name change131 Remote Desktop Licensing
name change132 Remote Desktop Gateway
name change133 Remote Desktop Connection Broker
name change134 Remote Desktop Web Access
name change322 Remote Desktop Virtualization Host Remote Desktop Virtualization Host - Role Services
Parent ID: 322
Value Name 325 Core Services 327 Remote Desktop Virtual Graphics Print and Document Services - Role Services
Parent ID: 7
Value Name 135 Print Server 136 Internet Printing 137 LPD Print Service 328 Distributed Scan Server Web Server (IIS) - Role Services
Parent ID: 2
Value Name 140 Web Server 141 Common HTTP Features 142 Static Content 143 Default Document 144 Directory Browse 145 HTTP Errors 146 HTTP Redirection 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 184 FTP Server 185 FTP Management Console 314 WebDAV Publishing 316 FTP Service 317 FTP Extensibility 336 IIS Hostable Web Core 413 ASP.NET 4.5 414 .NET Extensibility 4.5 445 appialization 446 Centralized SSL Certificate Support 447 WebSocket Protocol Message Queuing - Features
Parent ID: 49
Value Name 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 197 Message Queuing DCOM Proxy 228 Multicasting Support Active Directory Certificate Services - Role Services
Parent ID: 16
Value Name 200 Certification Authority 201 Certification Authority Web Enrollment 202 Online Responder 204 Network Device Enrollment Service 318 Certificate Enrollment Web Service 319 Certificate Enrollment Policy Web Service Network Policy and Access Services - Role Services
Parent ID: 14
Value Name 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
Parent ID: 11
Value Name 215 UDDI Services Web Application 216 UDDI Services Database Windows Process Activation Service - Role Services
Parent ID: 41
Value Name 217 Configuration API 218 .NET Environment 219 Process Model .NET Framework 3.5.1 - Features
Parent ID: 36
Value Name 220 .NET Framework 3.5.1
name change221 WCF Activation 222 HTTP Activation 223 Non-HTTP Activation 227 XPS Viewer SNMP Services - Features
Parent ID: 59
Value Name 224 SNMP Service 225 SNMP WMI Provider Application Services - Role Services
Windows Deployment Services - Role
Parent ID: 19
Value Name 251 Deployment Server 252 Transport Server Active Directory Rights Management Services - Role Services
Parent ID: 17
Value Name 253 Active Directory Rights Management Server 254 Identity Federation Support Remote Server Administration Tools
Parent ID: 67
Windows Server Backup - Features
Parent ID: 39
Value Name 296 Windows Server Backup 297 Command Line Tools Ink and Handwriting Services - Features
Parent ID: 310
Value Name 311 Ink Support 312 Handwriting Recognition Background Intelligent Transfer Service (BITS) - Features
Parent ID: 335
Value Name 54 IIS Server Extension 332 Compact Server Wow64 Support - Features
Parent ID: 340
User Interfaces and Infrastructure - Role Services
Parent ID: 447
Value Name 35 Desktop Experience 99 Server Graphical Shell Window Server Update Services - Features
Parent ID: 404
Value Name 405 API and PowerShell cmdlets 406 SQL Server Connectivity 407 WSUS Services 408 User Interface Management Console 449 WID Connectivity Windows PowerShell - Features
Parent ID: 417
Value Name 411 Windows PowerShell 2.0 Engine 412 Windows PowerShell 3.0 448 Windows PowerShell Web Access 1000 Windows PowerShell Desired State Configuration Service .NET Framework 4.5 - Features
Parent ID: 418
Value Name 419 .NET Framework 4.5 Extended 420 WCF Services 421 HTTP Activation 422 Message Queuing (MSMQ) Activation 423 Named Pipe Activation 424 TCP Activation 425 TCP Port Sharing 429 ASP.NET 4.5 Remote Access - Role
Parent ID: 468
Value Name 469 DirectAccess and VPN (RAS) 470 Routing File and Storage Services - Role
Parent ID: 481
Value Name 482 Storage Services 484 Failover Cluster Management Tools -
Name
-
-
Data type: string
-
Access type: Read/write
Display name of the server feature, such as "File Server", "Print Server", or "Desktop Experience".
-
-
ParentID
-
-
Data type: uint32
-
Access type: Read/write
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.
Windows Server 2012: Win32_ServerFeature has been deprecated. To access windows server feature information programmatically, you can use the Server Manager Cmdlets.
Windows Server 2012 R2
-
Application Server
-
No longer supported
-
Streaming Media Services
-
No longer supported
-
Active Directory Federation Services
-
No longer supported
-
DHCP Server
-
No longer supported
-
DNS Server
-
No longer supported
-
Remote Desktop Services
-
No longer supported
-
Windows Server Update Services
-
No longer supported
-
Failover Clustering
-
No longer supported
-
Network Load Balancing
-
No longer supported
-
.NET Framework 3.5.1 Features
-
No longer supported
-
Windows System Resource Manager
-
No longer supported
-
Windows Server Backup Features
-
No longer supported
-
Remote Assistance
-
No longer supported
-
Telnet Client
-
No longer supported
-
Telnet Server
-
No longer supported
-
Subsystem For Unix-based Applications
-
No longer supported
-
Windows Internal Database
-
No longer supported
-
Storage Manager For SANs
-
No longer supported
-
Internet Storage Name Server
-
No longer supported
-
Multipath I/O
-
No longer supported
-
SNMP Services
-
No longer supported
-
Services For Network File System
-
No longer supported
-
Peer Name Resolution Protocol
-
No longer supported
-
Remote Server Administration Tools
-
No longer supported
-
Quality Windows Audio Video Experience
-
No longer supported
-
Group Policy Management
-
No longer supported
-
Indexing Service
-
No longer supported
-
File Server Resource Manager (FSRM)
-
No longer supported
-
Windows Server Migration Tools
-
No longer supported
-
BranchCache
-
No longer supported
-
DirectAccess Management Console
-
No longer supported
-
Background Intelligent Transfer Service (BITS)
-
No longer supported
-
WoW64 Support
-
No longer supported
-
Window Server Update Services
-
Added
-
IP Address Management (IPAM) Server
-
Added
-
Windows PowerShell
-
Added
-
.NET Framework 4.5
-
Added
-
Windows Search Service
-
Added
-
Client for NFS
-
Added
-
BitLocker Network Unlock
-
Added
-
Management OData IIS Extension
-
Added
-
.NET Framework 4.5 Advanced Services
-
Added
-
.NET Framework 4.5 Features
-
Added
-
User Interfaces and Infrastructure
-
Added
-
Graphical Management Tools and Infrastructure
-
Added
-
File and Storage Services
-
Added
-
Windows Server Essentials Experience
-
Added
-
Direct Play
-
Added
-
Distributed File System
-
No longer supported
-
File Server Resource Manager
-
No longer supported
-
Services For Network File System
-
No longer supported
-
Single Instance Storage
-
No longer supported
-
Windows Search Service
-
No longer supported
-
Indexing Service
-
No longer supported
-
iSCSI Target Storage Provider (VDS and VSS hardware providers)
-
Added
-
Work Folders
-
Added
-
Active Directory Domain Controller
-
No longer supported
-
Identity Management For Unix
-
No longer supported
-
Server For Network Information Services
-
No longer supported
-
Password Synchronization
-
No longer supported
-
Administration Tools
-
No longer supported
-
Windows Media Server
-
No longer supported.
-
Web-based Administration
-
No longer supported
-
Logging Agent
-
No longer supported
-
Federation Service
-
No longer supported
-
Federation Service Policy
-
No longer supported
-
AD FS Web Agents
-
No longer supported
-
Windows Token-based Agent
-
No longer supported
-
Remote Desktop Licensing
-
No longer supported
-
Network Policy Server
-
No longer supported
-
VPN
-
No longer supported
-
Remote Access Services
-
No longer supported
-
Routing
-
No longer supported
-
Health Registration Authority
-
No longer supported
-
Host Credential Authorization Protocol
-
No longer supported
-
.NET Framework 3.5.1
-
No longer supported
-
XPS Viewer
-
No longer supported
-
SNMP Service
-
No longer supported
-
SNMP WMI Provider
-
No longer supported
-
.NET Framework 3.5.1
-
No longer supported
-
Web Server (IIS) Support
-
No longer supported
-
COM+ Network Access
-
No longer supported
-
TCP Port Sharing
-
No longer supported
-
Windows Process Activation Service Support
-
No longer supported
-
HTTP Activation
-
No longer supported
-
Message Queuing Activation
-
No longer supported
-
TCP Activation
-
No longer supported
-
Named Pipes Activation
-
No longer supported
-
Distributed Transactions
-
No longer supported
-
Incoming Remote Transactions
-
No longer supported
-
Outgoing Remote Transactions
-
No longer supported
-
WS-Automatic Transactions
-
No longer supported
-
Application Server Extensions for .NET 4.0
-
No longer supported
-
Role Administration Tools
-
No longer supported
-
AD DS Tools
-
No longer supported
-
AD LDS Snap-Ins and Command-Line Tools
-
No longer supported
-
Network Policy and Access Services
-
No longer supported
-
Active Directory Rights Management Services
-
No longer supported
-
Remote Desktop Services Tools
-
No longer supported
-
Feature Administration Tools
-
No longer supported
-
Failover Clustering Tools
-
No longer supported
-
DNS Server Tools
-
No longer supported
-
Services For Network File System Tools
-
No longer supported
-
Web Server (IIS) Tools
-
No longer supported
-
Server for NIS Tools
-
No longer supported
-
AD DS Snap-Ins and Command-Line Tools
-
No longer supported
-
AD DS and AD LDS Tools
-
No longer supported
-
Remote Desktop Connection Broker Tools
-
No longer supported
-
IP Address Management (IPAM) Client
-
Added
-
Hyper-V Module for Windows PowerShell
-
Active Directory Rights Management Services Tool
-
Added
-
Share and Storage Management Tool
-
Added
-
Remote Access Management Tools
-
Added
-
Remote Access module for Windows PowerShell
-
Added
-
Remote Access GUI and Command-Line Tools
-
Added
-
Windows Server Update Services Tools
-
Added
-
Remote Desktop Licensing Diagnoser Tools
-
Added
-
SNMP Tools
-
Added
-
Volume Activation Tools
-
Added
-
Windows Server Backup
-
No longer supported
-
Command Line Tools
-
No longer supported
-
Ink Support
-
No longer supported
-
Handwriting Recognition
-
No longer supported
-
Compact Server
-
No longer supported
-
WoW64
-
No longer supported
-
WoW64 for .NET Framework 2.0 and PowerShell
-
No longer supported
-
WoW64 for .NET Framework 2.0
-
No longer supported
-
WoW64 for PowerShell
-
No longer supported
-
WoW64 for .NET Framework 3.0 and 3.5
-
No longer supported
-
WoW64 for Print Services
-
No longer supported
-
WoW64 for Failover Clustering
-
No longer supported
-
WoW64 for Input Method Editor
-
No longer supported
-
WoW64 for Subsystem for UNIX-based Applications
-
No longer supported
-
Desktop Experience
-
Added
-
Server Graphical Shell
-
Added
-
API and PowerShell cmdlets
-
Added
-
SQL Server Connectivity
-
Added
-
WSUS Services
-
Added
-
User Interface Management Console
-
Added
-
WID Connectivity
-
Added
-
Windows PowerShell 2.0 Engine
-
Added
-
Windows PowerShell 3.0
-
Added
-
Windows PowerShell Web Access
-
Added
-
Windows PowerShell Desired State Configuration Service
-
Added
-
.NET Framework 4.5 Extended
-
Added
-
WCF Services
-
Added
-
HTTP Activation
-
Added
-
Message Queuing (MSMQ) Activation
-
Named Pipe Activation
-
Added
-
TCP Activation
-
Added
-
TCP Port Sharing
-
Added
-
ASP.NET 4.5
-
Added
-
.NET Extensibility 4.5
-
Added
-
DirectAccess and VPN (RAS)
-
Added
-
Routing
-
Added
-
Storage Services
-
Added
-
Failover Cluster Management Tools
-
Added
-
Active Directory Rights Management Services Tools
-
Added
-
Application Initialization
-
Added
-
Centralized SSL Certificate Support
-
Added
-
Claims-aware Agent
-
No longer supported
-
Remote Desktop Session Host Tools
-
No longer supported
-
WebSocket Protocol
-
no longer supported
-
COM+ Network Access
-
No longer supported
-
File and iSCSI Services name change
-
Changed to File Services
Windows Server 2012
-
User Interfaces and Infrastructure
-
Added
-
Server for NFS
-
Added
-
File Server VSS Agent Service
-
Added
-
iSCSI Target Server
-
Added
-
Data Deduplication
-
Added
-
Work Folders
-
Removed
-
Core Services
-
Added for this version only.
-
Remote Desktop Virtual Graphics
-
Added for this version only
-
Remote Access
-
Added
Windows Server 2008 R2
-
UDDI Services
-
No longer supported
-
Windows System Resource Manager
-
No longer supported
-
Removable Storage Manager
-
No longer supported
-
Windows PowerShell
-
No longer supported
-
Ink and Handwriting Services
-
Added
-
WinRM IIS Extension
-
Added
-
DirectAccess Management Console
-
Added
-
Background Intelligent Transfer Service (BITS)
-
Added
-
XPS Viewer
-
Added
-
Windows Biometric Framework
-
Added
-
WoW64 Support
-
Added
-
Windows PowerShell Integrated Scripting Environment (ISE)
-
Added
-
File Replication Service
-
No longer supported
-
BranchCache for Network Files
-
Added
-
Work Folders
-
Added
-
Distributed Scan Server
-
Added
-
FTP Publishing Service
-
No longer supported
-
FTP Management Console
-
No longer supported
-
FTP Service
-
Added
-
FTP Extensibility
-
Added
-
IIS Hostable Web Core
-
Windows 2000 Client Support
-
No longer supported
-
Certificate Enrollment Web Service
-
Added
-
Certificate Enrollment Policy Web Service
-
Added
-
UDDI Services Web Application
-
No longer supported
-
UDDI Services Database
-
No longer supported
-
Application Server Extensions for .NET 4.0
-
Added
-
UDDI Services Tools
-
No longer supported
-
BitLocker Drive Encryption Administration Utilities
-
Added
-
AD DS and AD LDS Tools
-
No longer supported
-
AD DS and AD LDS Tools
-
Added
-
Active Directory Administrative Center
-
Added
-
Active Directory module for Windows PowerShell
-
Added
-
Remote Desktop Connection Broker Tools
-
Added
-
WoW64
-
Added
-
WoW64 for .NET Framework 2.0 and Windows PowerShell
-
Added
-
WoW64 for .NET Framework 2.0
-
Added
-
WoW64 for PowerShell
-
Added
-
WoW64 for .NET Framework 3.0 and 3.5
-
Added
-
WoW64 for Print Services
-
Added
-
WoW64 for Failover Clustering
-
Added
-
WoW64 for Input Method Editor
-
Added
-
WoW64 for Subsystem for UNIX-based Applications
-
Added
-
BitLocker Recovery Password Viewer
-
Added
-
Print and Document Services name change
-
named Print Services for this release
-
Remote Desktop Services name change
-
named Terminal Services in this release
-
.NET Framework 3.5.1 Features name change
-
Named .NET Framework 3.0 Features in this release
-
Remote Desktop Session Host name change
-
Named Terminal Server in this release
-
Remote Desktop Licensing name change
-
Named TS Licensing in this release
-
Remote Desktop Gateway name change
-
Named TS Gateway in this release
-
Remote Desktop Connection Broker name change
-
Named TS Session Broker in this release
-
Remote Desktop Web Access name change
-
Named TS Web Access in this release
-
.NET Framework 3.5.1 name change
-
(220) Named Net FX 3.0 Features in this release
(230) Named Application Server Core in this release
-
AD DS Tools name change
-
Named Active Directory Domain Services Tools in this release
-
AD LDS Snap-Ins and Command-Line Tools name change
-
Named Active Directory Lightweight Directory Services Tools in this release
-
Print and Document Services Tools name change
-
Named Print Services Tools in this release
-
Remote Desktop Services Tools name change
-
Named Terminal Services Tools in this release
-
Remote Desktop Session Host Tools name change
-
Named Terminal Server Tools in this release
-
Remote Desktop Gateway Tools name change
-
Named TS Gateway Tools in this release
-
Remote Desktop Licensing Tools name change
-
Named TS Licensing Tools in this release
-
AD DS Snap-Ins and Command-Line Tools name change
-
Active Directory Domain Controller Tools
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
The following PowerShell script parses the Win32_ServerFeature
data and prints out in a simple tree view based on the ID-Parent ID relationship.
# Get all the Server Features
$features = Get-CimInstance -Query 'SELECT * FROM Win32_ServerFeature'
# Use hash table as a simple tree resource since hierachy has only 2 levels
$featureDictionary = @{}
# Add or update keys: Key is the first level whole value is the second layer.
# There may be 0 or more children, therefore an ArrayList structure is used.
foreach ($feature in $features)
{
if($featureDictionary.ContainsKey($feature.ParentID))
{
[void]$featureDictionary.Item($feature.ParentID).Add($feature)
}
else
{
[void]$featureDictionary.Add($feature.ParentID, [System.Collections.ArrayList]::new(@($feature)))
}
}
# Print out like a tree
# Root
$root = ($featureDictionary.GetEnumerator() | Sort-Object -Property Key)[0]
Write-Output '.'
# Enumerate Level 1 in alphabetical order
foreach ($child_lvl1 in $root.Value | Sort-Object -Property Name)
{
Write-Output "└── $($child_lvl1.Name) [ID: $($child_lvl1.ID)]"
# Enumerate Level 2 in alphabetical order, if possible
if($featureDictionary.ContainsKey($child_lvl1.ID))
{
foreach ($child_lvl2 in $featureDictionary.Item($child_lvl1.ID) | Sort-Object -Property Name)
{
Write-Output "`t└── $($child_lvl2.Name) [ID:$($child_lvl2.ID)]"
}
}
}
It gives an output like below in a fresh install of Windows Server 2022:
.
└── .NET Framework 4.8 Features [ID: 466]
└── .NET Framework 4.8 [ID:418]
└── WCF Services [ID:420]
└── File and Storage Services [ID: 481]
└── Storage Services [ID:482]
└── Microsoft Defender Antivirus [ID: 1003]
└── System Data Archiver [ID: 1043]
└── Windows PowerShell [ID: 417]
└── WoW64 Support [ID: 340]
└── XPS Viewer [ID: 338]
Requirements
Requirement | Value |
---|---|
Minimum supported client |
None supported |
Minimum supported server |
Windows Server 2008 |
Namespace |
Root\CIMV2 |
MOF |
|
DLL |
|