Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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
up vote 10 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
    
This just solved my multi-day debugging of why I couldn't mount my Samba NAS. Thanks! – metakermit Feb 6 at 20:12

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .