Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I intend to rename several machines to be more detailed about their location.

The trouble is that I don't know exactly how long of a hostname is allowed.

What is the maximum length for a Windows XP hostname?

share|improve this question
add comment

1 Answer 1

up vote 8 down vote accepted

NETBIOS limits the name length to 15 characters. You give the computer a longer hostname (which is fine with Active Directory since it uses DNS, not NETBIOS) but the NETBIOS name will be truncated.

This KB Article lists the limits, which shows 15 chargers for NETBIOS names and 24 for Active Directory host names.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.