Support articles

Find clear, step-by-step solutions to common WithSecure issues across installation, configuration, updates, and product performance.

Elements Endpoint Protection Agent for Mac repeatedly recognizes the computer name incorrectly in the Elements portal

Issue:

Elements Endpoint Protection for Mac repeatedly recognizes the device name incorrectly / wrongly. The MacOS device's name is wrong on the Elements Security Center portal's Environment > Devices page.

Device name of Elements Endpoint Protection for Mac shown in the Elements Security Center portal's Environment > Devices page keeps changing.

Resolution:

Currently, Elements Agent for Mac can use the incorrect value for the device's name in the Elements Security Center portal. As a workaround,  you can add an alias for the Mac device by:

  1. Log in to the Elements Security Center portal
  2. Navigate to the Environment > Devices page
  3. Click on the Mac device 
  4. Click Add alias from the right side of the device name

The reason why the name can be shown incorrectly is that normally, a Mac device is assigned two variables: ComputerName and LocalHostName. These can be read via Terminal using "scutil --get ComputerName" and "scutil --get LocalHostName".
 
There is a third HostName property, but this is unset by default, in which case the computer generates it from network. Elements Agent for Mac uses the HostName property for devices name in the Elements portal, which causes the problem that it can by dynamic and in a in a corporate environment, the computer will get a totally different hostname based on some historical device that used to have the same IP.