Home › Knowledge base › Renaming a device
Renaming a device
- Article
- KB-1093
- Category
- Account
- Applies to
- All platforms
The device name is separate from the computer name
When a device registers it takes the computer's host name as its device name, unless another is given. After that the two are independent. Renaming the computer in the operating system does not change the device name in the console, and the device's history continues without interruption.
Renaming in the console
Devices › select device › Rename. The change is immediate and is pushed to the agent. Administrators only.
Renaming from the device
cbk config set agent.device_name "FIN-LT-0142"
Allowed only if the policy permits local overrides.
Renaming through the API
See Devices.
Keeping names in step with host names
Some organisations want the console to follow host name changes automatically. Set agent.follow_hostname to true in the policy. The agent then updates the device name whenever it sees the host name has changed. This is off by default, because a machine that is reimaged with a temporary name would otherwise rename its record.
Rules for names
Up to 63 characters; letters, digits, hyphen, underscore, full stop and space. Names do not have to be unique, although duplicates are confusing. The console flags them.
What renaming does not affect
- The device's identity, registration and restore points
- Usage history and billing
- Audit log entries made under the old name, which keep the old name and the device's permanent identifier
Two devices with the same name after a rebuild
That is a duplicate record, not a naming problem. See KB-1042.