Article ID: 245809 - View products that this article applies to.
This article was previously published under Q245809
The Windows 2000 Dcpromo.exe tool supports Active Directory domain names up to 64 UTF-8 bytes. Note that this feature was not included before Windows 2000 Release Candidate 3, build 2167.
Prior to Windows 2000 Release Candidate 3, the Dcpromo.exe tool limited Active Directory domain names to 155 UTF-8 bytes. This was due to the fact that the maximum length of a DNS name is 255 UTF-8 bytes, but the locator attached various prefixes (domain GUIDs, site names, and so on) to the records entered in DNS, making the longest possible fully qualified Active Directory domain name 155 UTF-8 bytes long.
Win32 file APIs permit file paths, including UNC paths, to be up to 260 characters (MAX_PATH) in length. Given a Windows 2000 tree several domains deep, each with long Active Directory domain names, a UNC path including a DNS name can exceed the 260 character MAX_PATH limit.
The MAX_PATH limit is important to Group Policy which references files in the SYSVOL using UNC paths. A typical UNC path used by group policy might look like this:
\\<domain-name>\sysvol\<domain-name>\Policies\<GUID>\<Machine|User>\<GroupPolicy-Extension-Specific-Path>If the length of a policy UNC path exceeds MAX_PATH, Policy cannot be read and then applied to Windows 2000 domain controllers, servers and workstations.
This limits the fully qualified DNS domain name of an Active Directory domain to less than 64 UTF-8 bytes, where the exact number of characters allowed depends on the characters used.
An example of a fully-qualified Active Directory DNS domain name that is longer than 64 bytes is:
dsys.ntdev.windows2000.redmond.washington.northamerica.corp.microsoft.comNOTE: ASCII character domain names can be pasted under the "ruler" in a non-proportional font to see if it is longer than 64 characters.
One ASCII character equals one UTF-8 byte. Non-ASCII characters (such as Japanese, and so on) are encoded in as many as 3 UTF-8 bytes. This limit does not apply to computer names.
Beginning with Windows 2000 Release Candidate 3, Dcpromo.exe now maintains a 64 UTF-8 byte limit for Active Directory domain names.
Article ID: 245809 - Last Review: February 28, 2007 - Revision: 2.2
Contact us for more help