6

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?

11

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.

| improve this answer | |
  • This just solved my multi-day debugging of why I couldn't mount my Samba NAS. Thanks! – metakermit Feb 6 '16 at 20:12
  • I just want to add some error text so Google can index it as this was the problem my co-workers and I were running into. If you see the following error, your hostname might be too long!_____________________ SPNEGO login failed: The network responded incorrectly. session setup failed: NT_STATUS_INVALID_NETWORK_RESPONSE – Decesus Oct 31 '16 at 15:54

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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