# Device Renaming

> Rename iOS and macOS Devices in Applivery using Smart Enrollments, Commands, and Scripts for consistent Device Management across your fleet.

Source: https://docs.applivery.com/en/device-management/apple/apple-policies/device-renaming/  •  Last updated: 2026-06-09

**Key topics:** Device Management, iOS, macOS, Device Renaming, Applivery, Apple Business, Device Enrollment Program

---

**TL;DR:** Rename iOS and macOS devices with Applivery using smart enrollments, commands, and scripts for better device management.

This feature is designed to help IT administrators enforce consistent naming conventions across Apple Devices. It offers flexibility and complete control over Device Names, simplifying device management.

Administrators can create standardized naming schemes using customizable patterns, incorporating variables like usernames, serial numbers, and custom text for a more personalized approach to device naming.

## Renaming of iOS Devices using Smart Enrollments

This method is ideal for automatically enrolling all Devices integrated through **Apple Business** (Apple Business) and the [**Device Enrollment Program**](https://docs.applivery.com/en/device-management/apple/enrollment/dep/) (DEP) into the MDM system.

**Access Smart Enrollments**

Once in the [**Applivery Dashboard**](https://dashboard.applivery.io), go to **Automation** and follow the steps to [create a Smart Enrollment](https://docs.applivery.com/en/device-management/apple/enrollment/smart-enrollment/).

**Configure Auxiliary Fields and Display Name Pattern**

Configure the **Auxiliary fields** to customize Device Names by creating useful labels that help organize and name the Devices in the **Display name pattern** field.

![display name](https://docs.applivery.com/int/_r2/media/09ac0a4e-3ad8-478f-9f15-3474973eec71/64196a76-901e-4285-b879-2cb8591b6426.png)

**Apply to Device Name**

To ensure that the configured Display Name is also synchronized with the Device Name, simply check the box for **Apply to device name as well (only for iOS)**.

## Renaming of iOS Devices using commands

You can also use **commands** for specific changes to a Device Name. This method is flexible and allows for both individual and bulk modifications.

**Navigate to Devices**

Once in the [**Applivery Dashboard**](https://dashboard.applivery.io), go to any of your **Devices** to synchronize the Display Name with the Device Name.

**Sync Device Name (Individual)**

In the left-hand summary, click the **Action** button and choose **Sync device name**.

![sync device name](https://docs.applivery.com/int/_r2/media/09ac0a4e-3ad8-478f-9f15-3474973eec71/cf48e083-a93e-4ff1-b444-d53f5b8a2576.png)

**Sync Device Name (Bulk)**

Additionally, you can sync the Display Name with the Device Name in bulk from the Devices list by clicking the **Action** button, selecting **Apple** as the platform, and choosing the **Sync device name** command.

![sync in bulk](https://docs.applivery.com/int/_r2/media/09ac0a4e-3ad8-478f-9f15-3474973eec71/c906946c-19d7-4727-a62c-55b884a7808a.png)

:::info
The **Sync device name** command requires the Device to be online and responsive.
:::

## Renaming of macOS Devices using scripts

For **macOS** Devices, Applivery provides the option to create scripts with specific arguments to configure personalized names for each Device.

These scripts enable IT admins to leverage their fleet information effectively, ensuring the establishment of unique and descriptive names.

**Navigate to Scripts**

Once in the [**Applivery Dashboard**](https://dashboard.applivery.io), head to **Resources** 1, select **Scripts** 2 from the left-hand menu, and click the **\+ Create Script** 3 button.

![scripts](https://docs.applivery.com/int/_r2/media/09ac0a4e-3ad8-478f-9f15-3474973eec71/fd376c0b-bce9-4d08-ae11-215d7ce7f070.png)

**Configure the Script**

The script should include arguments that extract specific information from each Device according to your needs, such as the serial number or the assigned employee’s name.

**Create Unique Device Names**

Use this extracted information to create unique and descriptive Device Names.

![script change device name](https://docs.applivery.com/int/_r2/media/09ac0a4e-3ad8-478f-9f15-3474973eec71/8336d61d-967c-496f-bcd1-4fe3f109ea72.png)
