The command Net Users obtains its list of usernames from the system's user database.
The command Net Users obtains its list of usernames from the system's user database.
The command net users obtains its list of usernames from a different source than what appears in the registry or user accounts lists. It seems to pull data from a specific registry path and possibly from the Windows logon configuration. The issue you're facing might be due to the username being stored elsewhere, such as in a special account section or through software logging. After reviewing the registry and testing, it appears the account wasn't created yet, so the command still displays details even though it's not present in the ProfileList.
The registry you can easily open with regedit isn’t loading all the registry sections. The SAM (Security Account Manager) registry manages login and permissions and is locked away from regular users—only accessible outside Windows, like another operating system or via setup/recovery tools. Your account named Dan should appear in the advanced settings panel under netplwiz (Start/Search > type: netplwiz > press Enter). If it’s missing, it might not have been deleted using standard methods. If you haven’t created that account or someone you know did, it could indicate malware presence.