Windows logon name

%3CLINGO-SUB%20id%3D%22lingo-sub-916810%22%20slang%3D%22en-US%22%3EWindows%20logon%20name%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-916810%22%20slang%3D%22en-US%22%3E%3CP%3EHello%20everyone%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EMy%20manager%20asked%20me%20to%20set%20up%20policy%20for%20that%20would%20limit%20the%20pre-windows%20logon%20character%20to%206%20or%208%3C%2FP%3E%3CP%3EBy%20Microsoft%20the%20minimum%20es%200%20while%20the%20maximum%20is%2020%20or%20250.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ESo%20what%20we%20need%20are%20%3A%3C%2FP%3E%3CP%3EMinimum%3A%206%20or%208%3C%2FP%3E%3CP%3EMaximum%3A%2020%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-919547%22%20slang%3D%22en-US%22%3ERe%3A%20Windows%20logon%20name%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-919547%22%20slang%3D%22en-US%22%3E%3CP%3EHi%2C%3CBR%20%2F%3EAre%20you%20talking%20about%20the%20Windows%20usernames%3F%3C%2FP%3E%3CP%3EIf%20so%20then%20this%20topic%20might%20help%3A%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fstackoverflow.com%2Fquestions%2F704891%2Fwindows-username-maximum-length%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fstackoverflow.com%2Fquestions%2F704891%2Fwindows-username-maximum-length%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Eand%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fprevious-versions%2Fwindows%2Fit-pro%2Fwindows-server-2003%2Fcc783323(v%3Dws.10)%3Fredirectedfrom%3DMSDN%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fprevious-versions%2Fwindows%2Fit-pro%2Fwindows-server-2003%2Fcc783323(v%3Dws.10)%3Fredirectedfrom%3DMSDN%3C%2FA%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-920308%22%20slang%3D%22en-US%22%3ERe%3A%20Windows%20logon%20name%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-920308%22%20slang%3D%22en-US%22%3Ehi%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-920574%22%20slang%3D%22en-US%22%3ERe%3A%20Windows%20logon%20name%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-920574%22%20slang%3D%22en-US%22%3E%3CP%3EYou'd%20have%20to%20change%20the%20schema%2C%20which%20is%20something%20you%20should%20only%20do%20when%20you're%20exactly%20knowing%20what%20you're%20doing.%20But%20in%20your%20case%2C%20even%20that%20wouldn't%20work%2C%20because%20there%20is%20no%20way%20to%20set%20a%20minimum%20length%20to%20an%20attribute.%3CBR%20%2F%3E%3CBR%20%2F%3EYour%20only%20way%20to%20achieve%20this%20is%20to%20make%20it%20a%20organizational%20(human)%20policy%2C%20meaning%20that%20when%20you%20or%20your%20sysadmin%20colleagues%20create%20a%20new%20user%2C%20they%20do%20set%20a%20logon%20name%20that%20has%20at%20least%206%20or%208%20characters.%3C%2FP%3E%3C%2FLINGO-BODY%3E
tonnybabs
Occasional Contributor

Hello everyone,

 

My manager asked me to set up policy for that would limit the pre-windows logon character to 6 or 8

By Microsoft the minimum es 0 while the maximum is 20 or 250.

 

So what we need are :

Minimum: 6 or 8

Maximum: 20

 

Thanks

2 Replies

You'd have to change the schema, which is something you should only do when you're exactly knowing what you're doing. But in your case, even that wouldn't work, because there is no way to set a minimum length to an attribute.

Your only way to achieve this is to make it a organizational (human) policy, meaning that when you or your sysadmin colleagues create a new user, they do set a logon name that has at least 6 or 8 characters.

Related Conversations
Extentions Synchronization
Deleted in Discussions on
3 Replies
Tabs and Dark Mode
cjc2112 in Discussions on
36 Replies
flashing a white screen while open new tab
Deleted in Discussions on
14 Replies
Stable version of Edge insider browser
HotCakeX in Discussions on
35 Replies
Security Community Webinars
Valon_Kolica in Security, Privacy & Compliance on
9 Replies