DisplayName (microsoft-windows-shell-setup-offlineuseraccounts-offlinelocalaccounts-localaccount-displayname)

DisplayName specifies the name to display for a LocalAccountLocalAccount to be created during installation. If present, this name is displayed instead of the logon name.



Specifies the name to display for a LocalAccount. Display_name is a string with a maximum length of 256 characters.

This string type supports empty elements.

Valid Configuration Passes


Parent Hierarchy

Microsoft-Windows-Shell-Setup| OfflineUserAccounts | OfflineLocalAccounts | LocalAccount | DisplayName

Applies To

Windows 10 for desktop editions (Home, Pro, Enterprise, and Education)

Windows Server 2016

For a list of the supported Windows editions and architectures that this component supports, see Microsoft-Windows-Shell-Setup.