How long can a Windows computer name be in active directory?

I understand that NetBIOS has a 15 character limit, but can a computer in AD have a longer name and still work?

Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Although the maximum length of an Active Directory distinguished name (registry UID) is 2048, the maximum length of each relative distinguished name (RDN) is 64.

see the column of Microsoft® Active Directory Server
it only 15 character in the NETBIOS
The Ultimate Tool Kit for Technolgy Solution Provi

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy for valuable how-to assets including sample agreements, checklists, flowcharts, and more!

Yes it will still work, with windows networking, as long as your running servers above 2000.
Though it is preferable to have shorter names.
victor2008Author Commented:
Thanks everyone! thabash, from your article, looks like I can have computer names up to 64 characters.  Is that correct? If i don't use many legacy computer applications relying on the NetBIOS, I'm ok going over 15 character, correct?
take this example if you talking about the actual computer name then suppose you have


Then the first 15 characters are the same. in the both pcs
 If you create Two computers line this the NETBOIS names will both be managementcomputer- which would lead to "A computer with the same name already exists" error in they are on the same subnet.

Note this only applies to the actual name not the FQDN. eg and are OK

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
victor2008Author Commented:
Thanks! I want to use a long computer name that describes the computer location, but I also don't want "A computer with the same name already exists". So, sounds like if I use a long FQDN longer then 15 characters, I will still get the error  "A computer with the same name already exists" with computers on the same subnet, correct? Therefore, I must stay within the 15 character limit.
its better to stay in the safe site
and i advice if you do small lab in your department, and try variuos length and see the affect of that

its only an advice
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.