Own user account is not listed with `net user`
Using Windows 10, version 1809. Say my user account is Fred.
From the command prompt, cd %HOMEPATH%, takes me to C:\Users\Fred. In Control Panel\All Control Panel Items\User Accounts\Manage Accounts, my account is listed (along with two others, one an administrator account and the other ASP.NET).
But from the command prompt net user lists a number of accounts, but no Fred. When I run control userpasswords2, my own Fred acount is not displayed, though a total of four are listed.
From Windows Powershell, I ran the following command:
get-wmiobject -class "win32_account" -namespace "root\cimv2" | sort caption | format-table caption, __CLASS, FullNamewhich listed a surprisingly large number of accounts...though not Fred!
Another problem, which seems related. When I attempt to take control of a file in %windir%\system32 as follows:
- Right-click file and select
Properties Securitytab, clickAdvanced- Next to the
TrustedInstalleraccount, clickChange - In
Enter the object name to select, typeFred - When I click
Check Names, an error appears thatAn object (User, Group or Built-in security principle) with the following name cannot be found (etc)
In Task Manager, on the Users tab, my account is listed as User (not Fred) and I am able to take control of files with the User account. But the weird thing is that when Check names is clicked, User immediately changes to Fred!
Why is the current logged-in user listed inconsistently and be unable to take control of the ownership of a file?
6 Reset to default