Device detection logic
Datto RMM uses a high-level device detection logic when assessing and determining device types as outlined below.
NOTE This detection logic only applies to Microsoft Windows.
- Does the device have a server operating system installed? If the answer is yes, the device is a server.
- Does the device have a desktop operating system installed? If the answer is yes, the device is a desktop.
- Does the device have a laptop chassis type as determined by the Win32_ChassisType WMI class? If the answer is yes, the device is a laptop.
Detection logic workflow
To differentiate between a desktop and a server, Datto RMM uses the DomainRole property from the Win32_ComputerSystem WMI class. A value lower than 2 indicates a desktop operating system running on the device. A value of 2 or above indicates a server operating system.
Value | Device Type |
---|---|
0 | Standalone workstation |
1 | Member workstation |
2 | Standalone server |
3 | Member server |
4 | Backup domain controller |
5 | Primary domain controller |
Datto RMM also uses the Win32_ChassisType WMI class to determine if a device is a laptop. This check uses the command wmic systemenclosure get chassistypes
. All of the following values will flag a device as a laptop:
Value | Device Type |
---|---|
8 | Portable |
9 | Laptop |
10 | Notebook |
11 | Hand held |
12 | Docking station |
14 | Sub notebook |
30 | Tablet |
31 | Convertible |
32 | Detachable |