Lightweight generic Server Roles Discovery

LW.Microsoft.Windows.Server.GenericServerRoles.Discovery (Discovery)

This rule runs against every Windows Server(2008R2 to 2016) computer and checks whether server roles are installed.

Knowledge Base article:

Summary

This discovery is used to discover the installation of specific Windows Server roles by the updates and recommendations feature.

These are the parameters that can be overridden:

Element properties:

TargetLW.Microsoft.BaseOS.2016
EnabledTrue
Frequency86400
RemotableFalse

Object Discovery Details:

Discovered Classes and their attribuets:

Member Modules:

ID Module Type TypeId RunAs 
DiscoveryDS DataSource LW.Microsoft.Windows.Server.Generic.Discovery.DataSource Default

Source Code:

<Discovery ID="LW.Microsoft.Windows.Server.GenericServerRoles.Discovery" Enabled="true" Target="LW.Microsoft.BaseOS.2016" ConfirmDelivery="false" Remotable="false" Priority="Normal">
<Category>Discovery</Category>
<DiscoveryTypes>
<DiscoveryClass TypeID="LW.Microsoft.ADRMS.6.4.Server"/>
<DiscoveryClass TypeID="LW.Microsoft.Windows.DHCPServer.6.4.Server"/>
<DiscoveryClass TypeID="LW.Microsoft.Windows.Server.10.0.AD.GlobalCatalogServerRole"/>
<DiscoveryClass TypeID="LW.Microsoft.Windows.6.4.Cluster.Node"/>
<DiscoveryClass TypeID="LW.Microsoft.Windows.NetworkLoadBalancing.6.4.ServerRole"/>
<DiscoveryClass TypeID="LW.Microsoft.Windows.InternetInformationServices.6.4.ServerRole"/>
<DiscoveryClass TypeID="LW.Microsoft.Windows.DNSServer.2016.Server"/>
<DiscoveryClass TypeID="LW.Microsoft.Windows.CertificateServices.CARole.6.4"/>
<DiscoveryClass TypeID="LW.Microsoft.Windows.FileServices.Service.iSCSITarget.6.3"/>
<DiscoveryClass TypeID="LW.Microsoft.Windows.Server.6.4.PrintServerRole"/>
<DiscoveryClass TypeID="LW.Microsoft.ActiveDirectoryFederationServices.10.0.FederationServerSeed"/>
</DiscoveryTypes>
<DataSource ID="DiscoveryDS" TypeID="LW.Microsoft.Windows.Server.Generic.Discovery.DataSource">
<IntervalSeconds>86400</IntervalSeconds>
<ComputerPrincipalName>$Target/Property[Type='Windows!Microsoft.Windows.Computer']/PrincipalName$</ComputerPrincipalName>
<TimeoutSeconds>360</TimeoutSeconds>
</DataSource>
</Discovery>