Tips for finding Knowledge Articles

  • - Enter just a few key words related to your question or problem
  • - Add Key words to refine your search as necessary
  • - Do not use punctuation
  • - Search is not case sensitive
  • - Avoid non-descriptive filler words like "how", "the", "what", etc.
  • - If you do not find what you are looking for the first time,reduce the number of key words you enter and try searching again.
  • - Minimum supported Internet Explorer version is IE9
Home  >

KB-2462: Running the CLI version of adjoin with a valid computer name produces an error about illegal characters.

Authentication Service ,  

12 April,19 at 05:49 PM


Running adjoin with a seemingly valid computer name on the command line produces an error about illegal characters:

#sudo adjoin --user Admin --password Pass --name computer-123 --force

..will return:

The computer name computer-123  is not valid. It may contain illegal characters.

 Standard computer names contain letters, numbers, and hypens (-) only.

 Spaces, periods and the characters  \/:*?"<>|. are not allowed.

 Other characters are legal but may lead to interoperability issues.

 Computer names may not consist entirely of digits.


It is caused by extra spaces accidentally entered at either the beginning or the end of the computer name.


Run the same adjoin command again after removing all extraneous white spaces.