Solved

Valid characters for a domain\username

Posted on 2007-11-28
8
8,442 Views
Last Modified: 2009-12-16
What are the valid characters for domain and user in Windows? Also what are the lengths? I believe username can't have the following but I'm not sure about the domain: \/"[]<>+=;,?*@

Thanks
0
Comment
Question by:gromul
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
8 Comments
 
LVL 9

Expert Comment

by:crawfordits
ID: 20371002
I believe the only valid characters for a domain name are 'A-Z', 'a-z','0-9', '.' and '-'.
0
 
LVL 77

Accepted Solution

by:
Rob Williams earned 500 total points
ID: 20371187
As already stated by crawfordits........
Request for Comment (RFC) 1123 specifies the following acceptable characters for a DNS name: • The letters A to Z (uppercase)
• The letters a to z (lowercase)
• The numbers 0 to 9
• The hyphen or dash character (-)
If the DNS name contains a character that is not valid, such as an underscore (_), you must re-create the DNS namespace.
from: http://kbalertz.com/319757/Fatal-Setup-Error-Error-Message-Occurs-Install-Microsoft-Exchange-Server.aspx

Also, it is recommended you keep your names 15 characters or less if possible. Longer names work, but NetBIOS names are limited to 15 characters and this does come into play from time to time.
0
Get Actionable Data from Your Monitoring Solution

Your communication platform is only as good as the relevance of the information you send. Ensure your alerts get to the right people every time with actionable responses. Create escalation rules that ensure everyone follows the process and nothing is left to chance.

 

Author Comment

by:gromul
ID: 20376638
Is it the same though for Windows? I'm not interested in DNS domains, but in domains in a network of Windows PCs.
0
 
LVL 77

Expert Comment

by:Rob Williams
ID: 20378660
To the best of my knowledge. Try it. As I recall you will get an error if you try to use an illegal character.
0
 
LVL 77

Expert Comment

by:Rob Williams
ID: 20378668
Microsoft confirmation the same RFC applies:
http://technet2.microsoft.com/windowsserver/en/library/5fe46cef-db12-4b78-94d2-2a0b62a282711033.mspx?mfr=true
See "Setting computer names".
0
 

Author Comment

by:gromul
ID: 20379206
RobWill, thanks for an exhaustive reply. I tried it on my own and these characters can't be used in a computer name:

`~!@#$^&*()=+[]{}\|;:'",.<>/?
0
 
LVL 77

Expert Comment

by:Rob Williams
ID: 20379842
Thanks gromul.
Cheers !
--Rob
0

Featured Post

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article shows how to use a free utility called 'Parkdale' to easily test the performance and benchmark any Hard Drive(s) installed in your computer. We also look at RAM Disks and their speed comparisons.
Sometimes clients can lose connectivity with the Lotus Notes Domino Server, but there's not always an obvious answer as to why it happens.   Read this article to follow one of the first experiences I had with Lotus Notes on a client's machine, my…
Windows 8 comes with a dramatically different user interface known as Metro. Notably missing from the new interface is a Start button and Start Menu. Many users do not like it, much preferring the interface of earlier versions — Windows 7, Windows X…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …

691 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question