?
Solved

Valid characters for a domain\username

Posted on 2007-11-28
8
Medium Priority
?
8,515 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 2000 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 real performance insights from real users

Key features:
- Total Pages Views and Load times
- Top Pages Viewed and Load Times
- Real Time Site Page Build Performance
- Users’ Browser and Platform Performance
- Geographic User Breakdown
- And more

 

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

Secure Your WordPress Site: 5 Essential Approaches

WordPress is the web's most popular CMS, but its dominance also makes it a target for attackers. Our eBook will show you how to:

Prevent costly exploits of core and plugin vulnerabilities
Repel automated attacks
Lock down your dashboard, secure your code, and protect your users

Question has a verified solution.

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

A small collection of useful tips and tricks for Windows 10 users that I decided to write as a result of recent questions that were asked and answered at Experts Exchange. Two short video tutorials included. Enjoy..
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…
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…
The Task Scheduler is a powerful tool that is built into Windows. It allows you to schedule tasks (actions) on a recurring basis, such as hourly, daily, weekly, monthly, at log on, at startup, on idle, etc. This video Micro Tutorial is a brief intro…

752 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