If your user name in the Active Directory directory service contains one or more characters that have accents or other diacritical marks, you may find that you do not have to use the diacritical mark as you type your user name to log on to Windows.
You can log on by using the simple form of the character or characters. For example, if your user name in Active Directory is jésush, you can type
jesush in the
User name box in the
Log On to Windows dialog box to log on to Windows.
This behavior occurs so that in situations when you have to log on to Windows from a computer where the preferred keyboard mapping is not installed, you can still log on to Windows by using your user name without the diacritical marks.
The USERNAME variable in Windows is set to use the exact user name that you type in the
User name box in the
Log on to Windows dialog box. If you log on and you do not type the diacritical marks that are contained in your user name, the USERNAME variable also does not contain the diacritical marks in your user name. Therefore, the value of the USERNAME variable is different from the user name that is stored in Active Directory.
To work around this behavior, log on to Windows by typing your user name in user principal name (UPN) format. To do this, type the following in the
User name box, where
UserName is your user name and
DomainName is the name of the domain:
UserName@DomainName.com