Addigy's Devices page is an excellent tool for viewing and taking action on your managed devices. By default, the Device Name column in the table displays the device's hostname. However, you may wish to change a device's name in order to make it more user-friendly. 

There are several ways that this can be accomplished:

1. Change your Addigy Account Settings to display device names by their localhost name instead of their hostname.

2. Change the device's hostname through commands.

3. Override the device fact for the device's name in the Devices table.


Changing the general Account Settings

1. Navigate to Account > Settings

2. Select Use LocalHost Name as Device Name to have Addigy display device names using localhost names. Warning: This configuration will affect all devices, so this may not be a viable solution if you are only concerned with changing the name of one device.


Changing the Device's Name with Scripts

One method for changing the device name is to deploy scripts to the device. Our Running Commands article provides a thorough explanation of how to push scripts to your devices.

The following commands can be used to change the various name parameters of your machines:

HostName:

sudo scutil --set HostName [Desired device name]

Local Hostname:

sudo scutil --set LocalHostName [Desired device name]

Computer Name:

sudo scutil --set ComputerName [Desired device name]

The device name may not change until the DNS cache has been cleared, which can be accomplished by running the following command:

killall -HUP mDNSResponder

Changing a Device Name using Addigy MDM

If the device is enrolled into Addigy MDM, you can adjust the Device Name in GoLive > Overview:


Overriding Device Facts

You can also change the name of the device without altering the device itself. This is known as "overriding a device fact" and can be used for almost any individual fact gathered by Addigy. The article Overriding Device Facts provides an excellent guide for this particular method. 


If you have an Addigy account and have additional questions, you can create a ticket by emailing support@addigy.com.

Alternatively, you can submit a support request within Addigy.