question

OlakunleOlafiranye-6547 avatar image
0 Votes"
OlakunleOlafiranye-6547 asked ·

How to Edit the Windows Username Length on Windows 10 Pro Version 10.0.18363 Build 18363

Dear Sir, How can I edit the Username Length of my PC Windows 10 Pro Version 10.0.18363 Build 18363 from the default 20 Characters to 50 Characters. I mean the Username Length Sir, not the Password Length. Thank you Sir, Olakunle Olafiranye.

windows-10-generalwindows-10-setup
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

TeemoTang-MSFT avatar image
0 Votes"
TeemoTang-MSFT answered ·

Windows does not have that limit, that is a limit of the samaccountname. This attribute must be 20 characters or less to support earlier clients, and cannot contain any of these characters, we can't modify the length of the user's samAccountName.
https://docs.microsoft.com/en-us/windows/win32/adschema/a-samaccountname
But, you can use AD properties for user isolation rather than the username. If you created the user in ADUC with more than 20 characters, you were assigning a value to the "Name" of the user, which is the Common Name (the value of the cn attribute). This value can be up to 64 characters.
Check this case:
https://social.technet.microsoft.com/Forums/ie/en-US/2c4fa9be-4c11-4d28-9352-e71bb94d729f/change-the-default-windows-2008-r2-username-length-from-20?forum=winservergen


If the Answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


· 1 ·
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Would you mind letting me know the update of the problem? If you need further assistance, feel free to let me know.

0 Votes 0 ·