What makes a good naming scheme? It should be easy to use by both you and your users. It should generate unique names that are memorable and manageable. Finally, it should be flexible enough to solve multiple problems without needing updates often.
After seeing a recent question, I wanted to share a naming scheme that I’ve used. While nothing magical, it does fit each of the criteria from above and can be used as a starting point for all of your devices. This includes networked printers, projectors, babies, access points, displays, and more.
The real beauty is when you can walk into a room and know how to connect to nearly any device in the room. Need to mirror a display to that networked projector, or connect to a printer? Easy! Just follow a naming convention like this:
Site-RoomNumber/Name-(DevicePrefix)(DeviceNumber)
There is nothing radical here; the main thing is applying a consistent name across all of your networked devices. Let’s break down each component in this naming scheme and build a name along the way.
Site
A shortcode for each physical location. 2-4 characters long. Ideally, known by end users as well. If you prefer a logical organization or are just one site, this might be left off.
EX: GA
Separator
Use a dash between some components in the name. These show up if hyperlinks are ever needed (where some people overlook an underscore) and provide an easy way to sort data containing names as you have a built-in separator.
EX: GA-
RoomNumber/AbbreviatedName
Describes the exact room of the device. Due to legacy systems (mainly 15 character computer name lengths), keep any abbreviated names short. For sorting, be sure to place leading zeros in front of room numbers. If you have a hundred rooms, start the first room with 001 instead of just 1.
EX: GA-108-
Device Prefix
This tells you what the device is and allow you to find it just by name. One or two characters in length are perfect. Here is a table that can be used as an example:
NT | Node/Computer for teacher/admin |
LT | Laptop for teacher/admin |
NS | Node/Computer for student/general use |
LS | Laptop for student/general use |
PR | Printer, 3DPrinter, Copier, etc. |
DP | Interactive Display, Touch Panel, etc. |
PJ | Projector, short throw projector |
SW | Switch, Mini-switch, router, etc. |
AP | Access Point, Wireless |
CA | Camera, IP Camera, etc. |
TP | Telephone, VOIP handset, etc. |
The device prefix allows every device in a room to have a unique name in DNS. It also solves a secondary problem for us. Our state requires an annual inventory of certain device types. We have to report the number of staff desktop, student desktops, staff laptops, student laptops, etc. A quick PowerShell query can tell us our device counts by use and location!
EX: GA-108-NS
Device Number
Finally, we have the number of devices in that room. Like our previous room number, be sure to add leading zeros. In most cases, this will just be a 2 digit number (01-99).
EX: GA-108-NS01
The final example tells us that this device is located at the GA location in room 108 and it is the first student computer that you come to in the room.
Final Thoughts on Naming
With a unified and universal naming convention, you can simplify management and make resources easier to access. PowerShell and other tools can make remotely naming devices a breeze while providing automatic checks on devices out of standard.
Finally, don’t get too caught up with creating a perfect naming scheme. Make a list of your sites, a list of rooms in those sites, and play with device prefixes. The most important thing is to find what works for your organization, to make it consistent, and to do the work of implementing it!
Let me know your naming convention, tricks for managing device names and how you make this process easier for your organization in the comments below.
Our originally naming convention for servers was LOC-PLATFORM DEPARTMENT ENVIRONMENT APPLICATION ITERATION. So you would get something like GB-WIFPDC01, and that would be Green Bay, Windows Server, Ifrastructure Production Domain Controller 01. It was easy to apply regex in powershell against this and have it go through a switch statement to process them all. Now we have a “global” standard that I like less SERVER SITE# APPLICATION ITERATION so that same server is now W845DC01. Client machines had a slightly different version of this with SYSTEM TYPE SITE# DEPARTMENT ###, so N845IT001 would be a Notebook at site 845, for IT, and then the iteration is how you keep track of who it belongs to.
That global standard does seem a lot more cumbersome and is harder to read than that first standard. But a global standard is still better than no standard!
Usuall, I use a prefix followed by the inventory asset number, PC-1234, AP-0673, SW-9876, MFP-0453, TEL-0333, PRJ-0887, etc. I can then look up the asset number and find all the details I need on any given device. The nicest part is that if the device changes location, I just update the inventory. The device name never changes.
That is a good system as well! I’ve played with adding the asset tag to a computer’s name when imaging – something like that would work really well with this.
Incorporating my inventory with PowerShell and the MDT Database makes it a breeze to incorporate the asset number into the device name.