Free tools Windows power users keep installed

One-click scans. No signup required.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

iTechGuides is reader-supported. When you buy through links on our site, we may earn an affiliate commission. As an Amazon Associate I earn from qualifying purchases. Learn more

Have you Seen the CN abbreviation in Active Directory and wondered whether it means canonicalName vs commonName? This article explains and compares canonicalName (CN) vs commonName (CN).

Overview

There are two AD attributes abbreviated as CN. The first one is canonicalName, while the second is commonName.

Starting with canonicalName (CN) – this is the name of an Active Directory object in canonical format. The canonicalName (CN) of an AD object shows the full path to the object, separated by a forward slash (/).

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Furthermore, a canonicalName starts with the Fully Qualified Domain (FQDN) name of the object’s domain. After specifying the FQDN of the object’s domain, the name of the object’s container follows.

#1 Best Overall
Sale
Logitech K120 Full Size Wired Keyboard USB Plug-and-Play Windows - Black | Full-size keyboard, spill-resistant, curved space bar, Windows PC and laptops compatible
  • All-day Comfort: The design of this standard keyboard creates a comfortable typing experience thanks to the deep-profile keys and full-size standard layout with F-keys and number pad
  • Easy to Set-up and Use: Set-up couldn't be easier, you simply plug in this corded keyboard via USB on your desktop or laptop and start using right away without any software installation
  • Compatibility: This full-size keyboard is compatible with Windows 7, 8, 10 or later, plus it's a reliable and durable partner for your desk at home, or at work
  • Spill-proof: This durable keyboard features a spill-resistant design (1), anti-fade keys and sturdy tilt legs with adjustable height, meaning this keyboard is built to last
  • Plastic parts in K120 include 51% certified post-consumer recycled plastic*

Finally, the CN of an object will specify the name of the object. An example of the CN (canonicalName) of an Active Directory object is…

itechguides.local/Writers/Anthony Raj

Another attribute of an AD object abbreviated as CN is commonName. The commonName (CN) of an Active Directory object is part of the object’s Distinguished Name.

The commonName (CN) attribute of an AD object is the name of the object in the directory. An example of an AD object’s Distinguished Name that contains its CN (commonName) is…

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
CN=Anthony Raj,OU=Writers,DC=itechguides,DC=local

How AD canonicalName vs commonName Works

An AD object’s commonName (CN) is the last element in the object’s Distinguished Name (DN) hierarchy. On the contrary, the canonicalName (CN) of an Active Directory object is the name of the object in a canonical format.

Both commonName and canonicalName uniquely identify an object in Active Directory. The difference lies in the way they present the name.

Before I proceed, I like to mention that the commonName (CN) part of an object’s Distinguished Name (DN) is one of the object’s Relative Distinguished Names (RDNs).

AD defines the Relative Distinguished Name (RDN) of an object in an attribute=value pair. An example of an AD object’s commonName (CN) of an object is…

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
CN=Anthony Raj

In this example, the attribute of the RDN is CN, while its value is Anthony Raj. Furthermore, when you add the other RDNs of the object and separate them with a comma, you create the object’s DN.

Essentially, an object’s DN starts with its CN (commonName) and ends with its domain name.

CN=Anthony Raj,OU=Writers,DC=itechguides,DC=local

Contrast this with an object’s canonicalName which starts with the object’s domain name and ends with its name.

Rank #2
Sale
Amazon Basics Wired QWERTY Keyboard, Works with Windows, Plug and Play, Easy to Use with Media Control, Full-Sized, Black
  • KEYBOARD: The keyboard works for Windows with hot keys that enable easy access to Media, My Computer, Mute, Volume up/down, and Calculator
  • EASY SETUP: Experience simple installation with the USB wired connection
  • VERSATILE COMPATIBILITY: This keyboard is designed to work with multiple Windows versions, including Vista, 7, 8, 10 offering broad compatibility across devices.
  • SLEEK DESIGN: The elegant black color of the wired keyboard complements your tech and decor, adding a stylish and cohesive look to any setup without sacrificing function.
  • FULL-SIZED CONVENIENCE: The standard QWERTY layout of this keyboard set offers a familiar typing experience, ideal for both professional tasks and personal use.
itechguides.local/Writers/Anthony Raj

Features Of canonicalName vs commonName

To further understand the two CN attribute abbreviations of an Active Directory object, this section compares their features.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

canonicalName Gives the Full Path to an AD Object, While commonName Gives Just the Object’s Name

The first major difference between canonicalName vs commonName (CN) is the way they name an Active Directory object.

canonicalName is a full name of an object starting from the root of the domain and ending at the object’s name. So, canonicalName gives you information about the full path to an AD object.

On the contrary, commonName gives some just the name of the object. So, without the full DN of an object, you cannot use its commonName to determine where it is located in the Active Directory hierarchy.

The first example below is the canonicalName of an AD user, “Anthony Raj”. Meanwhile, the second example is the same user, but this time, it is presented in the commonName format.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
itechguides.local/Writers/Anthony Raj
CN=Anthony Raj

As I explained earlier, the canonicalName of the object – itechguides.local/Writers/Anthony Raj – tells me the full path to the object in the directory.

However, the commonName – CN=Anthony Raj – gives me just the name. To see the full path to the object, I need to see its DN (Distinguished Name).

CN=Anthony Raj,OU=Writers,DC=itechguides,DC=local

canonicalName Starts Naming from the Root of the Domain, While commonName Starts Naming from the Object

This is another important difference between canonicalName vs commonName (CN) in Active Directory. If you look at the canonicalName below, it starts with the domain name that the object belongs.

itechguides.local/Writers/Anthony Raj

On the contrary, if you consider the commonName (part of a DN) below, the commonName (CN) of the object comes first, then it ends with the domain name the object belongs.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
CN=Anthony Raj,OU=Writers,DC=itechguides,DC=local

canonicalName is Separated by Forwards Slash (/) While DN is Separated by Comma (,)

An Active Directory object’s Distinguished Name (which includes its commonName), is separated by a comma. Here is the example we used earlier in this article.

Rank #3
Sale
Logitech MK120 Full Size Wired Keyboard and Mouse Combo - Black | Full size wired keyboard, optical wired mouse, USB plug-and-play, Windows only, pc and laptop compatible
  • Durable and Reliable: This USB keyboard features a curved space bar, spill-resistant design (2), durable keys that can withstand 10 million keystrokes, and sturdy, adjustable tilt legs
  • Comfortable, Familiar Typing: You’ll enjoy a comfortable and familiar typing experience thanks to the deep-profile keys and standard layout with full-size F-keys and number pad
  • Full-size Sculpted Mouse: The high-definition optical USB mouse puts comfort and control in your hands with smooth, accurate tracking and an ambidextrous shape that feels good hour after hour
  • Simple Set-Up: Simply plug the keyboard and mouse into the USB ports on your desktop, laptop, or netbook and you're ready to work; compatible with Windows 7, 8, 10 or later
  • Clear and Convenient: The bold, bright white and long-lasting characters make the keys on this PC or laptop keyboard easy to read and extra durable
CN=Anthony Raj,OU=Writers,DC=itechguides,DC=local

As you can see, each part of the DN is separated by commas (,). Also, each attribute is paired to a value with an equal sign.

For example, “CN=Anthony Raj.”

On the contrary, the naming convention used by the canonicalName is less complicated.

itechguides.local/Writers/Anthony Raj

To name an object with the canonicalName format, all you need are the elements of the name. Then, separate them with a forward slash (/).

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

The Domain Extension and the Domain Name Itself are Separate Values in DN, While They’re Treated as One Value in canonicalName

Another very important distinction between canonicalName vs commonName (CN) in Active Directory is the way the naming conventions treat the domain part of the object’s name.

The canonicalName below specifies “itechguides.local” – the Fully Qualified Domain Name of the domain – as a single entity.

itechguides.local/Writers/Anthony Raj

However, an object’s DN (of which its commonName is part) treats the domain name and its extension as separate entities. Let’s revisit our previous example.

CN=Anthony Raj,OU=Writers,DC=itechguides,DC=local

The DC in the DN above means domainComponent. If you look closely, you see that there are two DC values.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

One of them is “DC=itechguides.” This attribute defines the name of the domain.

There is also the “DC=local” (most live AD domains will use “com”). This portion of the object’s DN defines the domain extension.

Once again, this makes Distinguished Name (DN) more complicated than canonicalName.

Rank #4
TECKNET Wired Keyboard, Silent Typing, Full-Size Layout,RGB Backlit | Spill-Resistant Design, USB-A Plug & Play, Slim Membrane Keys, Office Ready, PC, Laptop & Mac Compatible
  • 【Quiet & Comfortable Typing】 Designed with low-profile membrane keys, this keyboard delivers soft keystrokes and significantly reduces typing noise, creating a quiet and focused workspace. It is perfect for offices, libraries, late-night work, or any shared environment where silence is valued.
  • 【Full-Size Ergonomic Layout】 Featuring a standard 104-key layout with a 3-zone design, this computer keyboard supports efficient data entry and multitasking. Adjustable tilt feet and anti-slip pads allow you to customize the typing angle for optimal comfort and stability during long working sessions.
  • 【7-Color RGB and 2 Modes】 Personalize your desk with 7 vibrant colors, 4 brightness levels (High/Medium/Low/Off), and 2 lighting modes (Static or Breathing). This keyboard helps create your ideal typing atmosphere—even in the dark.
  • 【Convenient FN Multimedia Shortcuts】 Equipped with 12 FN+F key combinations, this keyboard provides quick access to volume control, mute, media playback, email, homepage, calculator, and more. With just one press, you can handle essential tasks faster and keep your workflow smooth.
  • 【Durable & Spill-Resistant Design】 Built with a sturdy frame and a spill-resistant conductive film, this wired keyboard is protected against accidental water splashes. Each key is rated for up to 80 million keystrokes, ensuring reliable performance for years of daily use at home or in the office.

How to View canonicalName and commonName in Active Directory

In this article, you have read an overview comparing the two AD CNs (canonicalName vs commonName). You have also read how they work and their features.

What’s actually slowing this PC down?

Pick the symptom - the matching free tool is one click away.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

In this section, I’ll show you two methods to view canonicalName vs commonName (CN) in Active Directory.

Option 1: View in Active Directory Users and Computers

You can view the canonicalName and commonName attributes of an AD object with ADUC. Follow the steps below to accomplish this task.

  1. Open Active Directory Users And Computers. Then, click the View menu and select Advanced Features.
You can open Active Directory Users And Computers from Windows 10 or Windows 11 if you install RSAT for Active Directory.
How To View CN (canonicalName vs commonName) In Active Directory With Active Directory Users And Computers (ADUC)
  1. Once you have enabled the Advanced Features in Active Directory Users and Computers, locate the object you want to view its CN (canonicalName or commonName). Then, right-click it and select Properties.
  1. Finally, to view the object’s canonicalName, click the Object tab.
How To View CN (canonicalName vs commonName) In Active Directory With Active Directory Users And Computers (ADUC)
  1. ADUC will display the object’s canonicalName.
  1. To display the object’s commonName, click the Attribute Editor tab.
  1. Then, on the Attribute Editor tab, locate the distinguishedName attribute. You can view the object’s commonName (CN) as part of its distinguishedName.
How To View CN (canonicalName vs commonName) In Active Directory With Active Directory Users And Computers (ADUC)

Option 2: View with PowerShell

Another method to view the canonicalName and commonName of an object is via PowerShell. Follow the steps below to view the two CNs of an Object in Active Directory.

  1. Search for an open PowerShell.
You need an object’s Distinguished Name (DN) to return its canonicalName and commonName.
  1. To get the object’s Distinguished Name, run the command below.
$dn = (Get-ADObject -Filter {Name -eq 'victor ashiedu'}).DistinguishedName
Replace “victor ashiedu” with the name of the AD object you want to view its canonicalName and commonName. The command saves the object’s DistinguishedName in the $dn variable.
  1. Then, to return the object’s canonicalName (CN), run the command below.
get-adobject -filter {distinguishedname -eq $dn} -properties canonicalName

The above command returns the canonicalName (CN), as well as other attributes of the Active Directory object. If you want to return only the object’s canonicalName, run the command below instead.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
(get-adobject -filter {distinguishedname -eq $dn} -properties canonicalName).CanonicalName

The screenshot below shows the results of the commands.

Moving on to displaying an AD object’s commonName, earlier, I saved the DistinguishedName of the object in a $dn variable.

I can retrieve the object’s commonName from the DistinguishedName saved in the $dn variable. To return the commonName (CN) of an Active Directory object from its DistinguishedName, run the command below.

($dn -split (","))[0]
The first part of the command – $dn -split (“,”) – splits the results at the comma (,), collectively separating the array into strings. Then, the [0] attached to the first command returns the first item – the commonName – in the array.
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Frequently Asked Questions

1. What are CN and OU in Active Directory?

CN could stand for canonicalName or commonName. The canonicalName name of an AD object is the name in the canonical format.

Here is an example of an AD object’s canonicalName:

itechguides.local/Writers/Anthony Raj

On the other hand, OU stands for Organizational Unit. OU is a type of container that Active Directory uses to organize objects like users and computers.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
2. How do I find my CN in Active Directory?

Although CN has two meanings – canonicalName or commonName – you can find both CNs from an object’s properties in Active Directory Users and Computers.

Firstly, open Active Directory Users and Computers. Then, click View and select Advanced Features.

Finally, right-click your user object and select Properties. Finally, to see your canonicalName, click the Object tab.

Alternatively, to see your commonName, click the Attribute Editor tab. Then, locate distinguishedName.

Your commonName is the first item in the distinguishedName attribute. It will start with “CN=”

Best Value
Rii RK907 Ultra-Slim Compact USB Wired Keyboard for MAC and PC-Black(1PCS) | Full-Sized,Wired QWERTY Keyboard,Plug and Play,Home or Office for Mac and PC,Windows10/8/7/Vista/XP
  • A plug-and-play USB connection with Low-profile keys give you a quiet, comfortable typing experience
  • Simple Wired USB Connection,You will enjoy a comfortable and quiet typing experience
  • The keyboard for business and office working is the budget-friendly keyboard that is built for longer use
  • Low profile keys for a more comfortable and quiet keystroke, desktop-centric design, splash resistant
3. What is CN used for in Active Directory?

CN (canonicalName or commonName) uniquely identifies an object in Active Directory. However, while canonicalName displays an object in the canonical format, commonName forms part of the object’s distinguishedName.

4. What is the canonical name of an object?

The canonical Name of an Active Directory object names the object in a canonical format. It shows the full path of the object in the directory, starting with the FQDN of the AD domain.

Here is an example of an AD object’s canonicalName:

itechguides.local/Writers/Anthony Raj

5. What is a container name in Active Directory?

In Active Directory, a Container is any object that can have child objects. A good example of a container is an OU (Organizational Unit).

It is a container because you can add other objects – like Users and computers – to an OU.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Conclusion

CN has two meanings in Active Directory. It could mean canonicalName or commonName.

The canonicalName (CN) of an Active Directory is the name of the object in a canonical format. An example of a canonicalName is…

itechguides.local/Writers/Anthony Raj

In comparison, the commonName (CN) of an Active Directory object is the stand-alone name of the object that makes up the object’s distinguishedName.

An example of a commonName (CN) is…

CN=Anthony Raj

Meanwhile, an example of an object’s distinguishedName (which includes the object’s commonName is…

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
CN=Anthony Raj,OU=Writers,DC=itechguides,DC=local

I hope you found this comprehensive guide helpful in understanding Active Directory CN (canonicalName vs commonName). If you found the article helpful, click on “Yes” beside the “Was this page helpful” question below.

You may also express your thoughts and opinions by using the “Leave a Comment” form at the bottom of this page.

Finally, why not expand your Active Directory knowledge further with our other Active Directory Guides?

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.