Datto RMM: Device detection logic

Follow

Topic

This article describes the detection logic Datto RMM uses to determine device types.

Environment

  • Datto RMM

Description

Datto RMM uses the following high-level device detection logic when assessing and determining device types. This applies to Microsoft Windows only:

  • Does the device have a server OS installed?
    Yes: The device type is server.
  • Does the device have a desktop OS installed?
    Yes: The device type is desktop.
  • Does the device have a Laptop chassis type as determined by the Win32_ChassisType wmi class? This uses the command wmic systemclosure get chassistypes.
    Yes: The device type is laptop.

Detection logic workflow

To differentiate between a desktop/server we use the DomainRole property from the Win32_ComputerSystem wmi class:

Value Device Type
0 Standalone Workstation
1 Member Workstation
2 Standalone Server
3 Member Server
4 Backup Domain Controller
5 Primary Domain Controller

A value of 2 or above indicates a Server OS running on the device. Values lower than this indicate a Desktop OS.

Datto RMM also uses the Win32_ChassisType wmi class to determine if a device is a laptop. All of the following values will flag a device as laptops:

Value Device Type
8 Portable
9 Laptop
10 Notebook
11 Hand Held
12 Docking Station
14 Sub Notebook
30 Tablet
31 Convertible
32 Detachable

Was this article helpful?

0 out of 0 found this helpful

You must sign in before voting on this article.

Want to talk about it? Have a feature request?

Head on over to our Community Forum or get live help.

For more Business Management resources, see the Datto RMM Online Help and the Autotask PSA Online Help .

Datto Homepage