5

Is it possible to change the local username (C:\Users\xxx) on a AAD joined Windows 10 computer?

Long version:

Setup & Info: Windows 10 Business, Azure AD joined computer. Cloud only with "Microsoft 365". Intune MDM.

When a tenant user are logged into a computer the local username becomes "FirstnameMiddlenameLastname". So you get: "C:\Users\FirstnameMiddlenameLastname\" as path for the user.

In Azure AD the user names (UPN) are configured to "firstname.lastname@domain". So the UPN are not used for generating local usernames on the computer.

The "FirstnameMiddlenameLastname" actually seems to correspond to the field "DisplayName" or "Name*" in Azure AD. But Windows 10 removes space and other illegal characters for Windows.

Question:

Is it possible to change the resulting local Windows 10 user name?

or in other words: change the source for local username generation on windows 10 clients.

On traditional "on premise" setups the username are more sensible names and shorter defined by the Admin, UPN. However now Windows don't use the actual UPN as username anymore....

With the "FirstnameMiddlenameLastname" we have the following problems:

  1. Legacy programs have problem with the resulting path, as many "FirstnameMiddlenameLastname" contain illegal characters in our region / country.
  2. The usernames becomes very long for many users and we would rather go with initials on several parts of the username.
  3. Admin control over usernames becomes totally unpredictable as the system selects what characters, when to stop (max length) and so on.
Klaus
  • 51

0 Answers0