When creating an Active Directory account you see the error "The name provided is not a properly formed account name." or " A device attached to the system is not functioning."

When creating an Active Directory account you see the error "The name provided is not a properly formed account name." or " A device attached to the system is not functioning."

This can be caused by the SAM account name value that is being entered for the user which must only contain valid characters but must also be 20 characters long or less.

For more information see the following Microsoft article.
http://msdn.microsoft.com/en-us/library/ms679635(v=vs.85).aspx

We've updated XIA Automation Server in version 2.2 to provide a more informative error message than the one provided by Windows

Creation of the account failed. The SAM account name (user logon name pre-Windows 2000) value 'accountname' exceeds the maximum 20 characters enforced by Windows.

Automate Active Directory user account creation with XIA Automation Server

Comments

Popular posts from this blog

Windows Server 2016, 2019, 2022, Windows 10 and Windows 11: Date and time "Some settings are managed by your organization".

TFTPD32 or TFTPD64 reports Bind error 10013 An attempt was made to access a socket in a way forbidden by its access permissions.

Enable function lock for F1-F12 on HP ZBook mobile workstations