Solved

Valid characters for a domain\username

Posted on 2007-11-28
8
8,287 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
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 7

Expert Comment

by:mcse2007
ID: 20371074
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
 

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
IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 
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

Free Gift Card with Acronis Backup Purchase!

Backup any data in any location: local and remote systems, physical and virtual servers, private and public clouds, Macs and PCs, tablets and mobile devices, & more! For limited time only, buy any Acronis backup products and get a FREE Amazon/Best Buy gift card worth up to $200!

Join & Write a Comment

Suggested Solutions

Learn about cloud computing and its benefits for small business owners.
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
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…

757 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now