I have a program that creates a Windows user account using the NetUserAdd() API which is suggested by Microsoft. The user is created successfully, and I can log in as that user.
However, on Windows XP, the newly-created user is missing from the Welcome screen. If I disable the Welcome screen, I can log in as the new user by typing the user name in direcly.
What property of the account I create causes it to be omitted from the Welcome screen?
One thing you could do is add the username as a value to the registry key: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\SpecialAccounts\UserList
Use the username (As a REG_DWORD) and a value of 1 to show the user and 0 to hide.