User Login name Character limit in Window 2003 Server

Server is Win 2003 Server Sp1 with updates

Our login name scheme is firstname.lastname and user has to select the domain from the drop down box in Windows XP Professional Sp2

Any login name over 20 characters does not work. Our sys admins have to limit it

e.g. User: Pratabba Seshachennam

We want the login name to be Pratabba.Seshachennam but Windows only allows Pratabba.Seshachenna

How can we extend the character limit?

Who is Participating?
yolamConnect With a Mentor Commented:
1. type inside command prompt "regsvr32 schmmgmt.dll"
2. open MMC
3. Add remove snap-in
4. add Active Directory Schema
5 .Remove UserPricipnalName Attribute and add a new one with 2048 bytes instead of 1024.
psyclown-Connect With a Mentor Commented:
Hello RBedewi,

Check you policies. You porbably have to change somekind of policy, to change the length of the usernames.

Radar07Connect With a Mentor Commented:
My experience is that the pre-Windows 2000 compatibility name is restricted to 20 characters but the W2k3 logon name is not restricted. When I programmatically create the user account, I truncate the username to 20 characters to populate SAMAccountName but leave the full name in UserPrincipalName.

If the user still has problems, have them logon like an email address (with a username of Pratabba Seshachennam@domain.local) rather than use the dropdown box.
All Courses

From novice to tech pro — start learning today.