Skip to main content

Server Roles Detection and Grouping for NinjaOne

Purpose

This document details the procedure for categorizing servers into suitable groups according to their installed roles.

Associated Content

ContentTypeFunction
cPVAL Windows ServersGroupA group designated for machines running the Windows Servers.
Windows Server Roles DetectionAutomationRetrieves installed Windows Server roles, additional services, and FSMO roles (if applicable).
cPVAl Roles DetectedCustom FieldThis custom field stores the list of roles detected on a Windows server.
Windows Server Roles DetectionTaskRuns the Windows Server Roles Detection automation daily against cPVAL - Windows Servers group

Server Role Groups

NameRoleConditionDescription
cPVAL - Server Role - Certificate Authority ServersActive Directory Certificate ServicesCustom Field cPVAl Roles Detected Contains Active Directory Certificate ServicesA group tailored for Windows Servers that have the Active Directory Certificate Services role installed
cPVAL - Server Role - Domain ControllersActive Directory Domain ServicesCustom Field cPVAl Roles Detected Contains Active Directory Domain ServicesA group tailored for Windows Servers that have the Active Directory Domain Services role installed
cPVAL - Server Role - Federation ServersActive Directory Federation ServicesCustom Field cPVAl Roles Detected Contains Active Directory Federation ServicesA group tailored for Windows Servers that have the Active Directory Federation Services role installed
cPVAL - Server Role - LDS ServersActive Directory Lightweight Directory ServicesCustom Field cPVAl Roles Detected Contains Active Directory Lightweight Directory ServicesA group tailored for Windows Servers that have the Active Directory Lightweight Directory Services role installed
cPVAL - Server Role - RMS ServersActive Directory Rights Management ServicesCustom Field cPVAl Roles Detected Contains Active Directory Rights Management ServicesA group tailored for Windows Servers that have the Active Directory Rights Management Services role installed
cPVAL - Server Role - Application ServersApplication ServerCustom Field cPVAl Roles Detected Contains Application ServerA group tailored for Windows Servers that have the Application Server role installed
cPVAL - Server Role - Health Attestation ServersDevice Health AttestationCustom Field cPVAl Roles Detected Contains Device Health AttestationA group tailored for Windows Servers that have the Device Health Attestation role installed
cPVAL - Server Role - DHCP ServersDHCP ServerCustom Field cPVAl Roles Detected Contains DHCP ServerA group tailored for Windows Servers that have the DHCP Server role installed
cPVAL - Server Role - DNS ServersDNS ServerCustom Field cPVAl Roles Detected Contains DNS ServerA group tailored for Windows Servers that have the DNS Server role installed
cPVAL - Server Role - Fax ServersFax ServerCustom Field cPVAl Roles Detected Contains Fax ServerA group tailored for Windows Servers that have the Fax Server role installed
cPVAL - Server Role - File ServersFile and Storage ServicesCustom Field cPVAl Roles Detected Contains File and Storage ServicesA group tailored for Windows Servers that have the File and Storage Services role installed
cPVAL - Server Role - HGS ServersHost Guardian ServiceCustom Field cPVAl Roles Detected Contains Host Guardian ServiceA group tailored for Windows Servers that have the Host Guardian Service role installed
cPVAL - Server Role - Hyper-V HostHyper-VCustom Field cPVAl Roles Detected Contains Hyper-VA group tailored for Windows Servers that have the Hyper-V role installed
cPVAL - Server Role - Hyper-V ClusterSharePoint ServerCustom Field cPVAl Roles Detected Contains Hyper-V ClusterA group tailored for Windows Servers that have the Hyper-V Cluster role installed
cPVAL - Server Role - NPS ServersNetwork Policy and Access ServicesCustom Field cPVAl Roles Detected Contains Network Policy and Access ServicesA group tailored for Windows Servers that have the Network Policy and Access Services role installed
cPVAL - Server Role - Print ServersPrint and Document ServicesCustom Field cPVAl Roles Detected Contains Print and Document ServicesA group tailored for Windows Servers that have the Print and Document Services role installed
cPVAL - Server Role - Remote Access ServersRemote AccessCustom Field cPVAl Roles Detected Contains Remote AccessA group tailored for Windows Servers that have the Remote Access role installed
cPVAL - Server Role - RDS ServersRemote Desktop ServicesCustom Field cPVAl Roles Detected Contains Remote Desktop ServicesA group tailored for Windows Servers that have the Remote Desktop Services role installed
cPVAL - Server Role - Volume Activation ServersVolume Activation ServicesCustom Field cPVAl Roles Detected Contains Volume Activation ServicesA group tailored for Windows Servers that have the Volume Activation Services role installed
cPVAL - Server Role - Web ServersWeb Server (IIS)Custom Field cPVAl Roles Detected Contains Web Server (IIS)A group tailored for Windows Servers that have the Web Server (IIS) role installed
cPVAL - Server Role - WDS ServersWindows Deployment ServicesCustom Field cPVAl Roles Detected Contains Windows Deployment ServicesA group tailored for Windows Servers that have the Windows Deployment Services role installed
cPVAL - Server Role - Essentials ServersWindows Server Essentials ExperienceCustom Field cPVAl Roles Detected Contains Windows Server Essentials ExperienceA group tailored for Windows Servers that have the Windows Server Essentials Experience role installed
cPVAL - Server Role - WSUS ServersWindows Server Update ServicesCustom Field cPVAl Roles Detected Contains Windows Server Update ServicesA group tailored for Windows Servers that have the Windows Server Update Services role installed
cPVAL - Server Role - MSSQL ServersMSSQL ServerCustom Field cPVAl Roles Detected Contains MSSQL ServerA group tailored for Windows Servers that have the MSSQL Server role installed
cPVAL - Server Role - Exchange ServersExchange ServerCustom Field cPVAl Roles Detected Contains Exchange ServerA group tailored for Windows Servers that have the Exchange Server role installed
cPVAL - Server Role - MySQL ServersMySQL ServerCustom Field cPVAl Roles Detected Contains MySQL ServerA group tailored for Windows Servers that have the MySQL Server role installed
cPVAL - Server Role - Veeam BDRVeeam BDRCustom Field cPVAl Roles Detected Contains Veeam BDRA group tailored for Windows Servers that have the Veeam BDR role installed
cPVAL - Server Role - SharePoint ServersSharePoint ServerCustom Field cPVAl Roles Detected Contains SharePoint ServerA group tailored for Windows Servers that have the SharePoint Server role installed
cPVAL - Server Role - FSMO - Schema MasterSchema MasterCustom Field cPVAl Roles Detected Contains Schema MasterA group tailored for Windows Servers that have the Schema Master role installed
cPVAL - Server Role - FSMO - Domain Naming MasterDomain Naming MasterCustom Field cPVAl Roles Detected Contains Domain Naming MasterA group tailored for Windows Servers that have the Domain Naming Master role installed
cPVAL - Server Role - FSMO - PDC EmulatorPDC EmulatorCustom Field cPVAl Roles Detected Contains PDC EmulatorA group tailored for Windows Servers that have the PDC Emulator role installed
cPVAL - Server Role - FSMO - RID MasterRID MasterCustom Field cPVAl Roles Detected Contains RID MasterA group tailored for Windows Servers that have the RID Master role installed
cPVAL - Server Role - FSMO - Infrastructure MasterInfrastructure MasterCustom Field cPVAl Roles Detected Contains Infrastructure MasterA group tailored for Windows Servers that have the Infrastructure Master role installed

Implementation

Step 1

Create the cPVAL Windows Servers group.

Step 2

Create the cPVAl Roles Detected custom field.

Step 3

Create the Windows Server Roles Detection automation.

Step 4

Create the Windows Server Roles Detection task schedule.

Step 5

Create the following server role groups:

FAQ

Q1. How often should the "Windows Server Roles Detection" automation be scheduled?

A: It is recommended to schedule the task to run daily to ensure that the server role information is up-to-date.

Q2. Can I customize the server role groups?

A: Yes, you can customize the server role groups by creating additional groups or modifying the conditions in the existing groups to suit your organization's requirements.

Q3. What happens if a server has multiple roles installed?

A: If a server has multiple roles installed, it will be included in all the corresponding server role groups based on the roles detected.

Q4. How do I verify that the roles are being detected correctly?

A: You can verify the detected roles by checking the value of the custom field cPVAl Roles Detected for a specific server. Ensure that the roles listed match the roles installed on the server.

Q5. What should I do if a role is not being detected?

A: Ensure that the Windows Server Roles Detection automation and task are configured correctly. Verify that the server is part of the cPVAL Windows Servers group and that the automation is running successfully.

Q6. Can I add roles that are not listed in this document?

A: Yes, you can add additional roles by creating new server role groups and defining the conditions based on the custom field cPVAl Roles Detected.

Q7. Is this solution compatible with non-Windows servers?

A: No, this solution is specifically designed for Windows Servers and relies on detecting roles that are unique to the Windows Server operating system.