From Lars Anders@21:1/5 to All on Sun Jan 29 05:18:23 2023
C:\Windows\system32>su administrator
'su' is not recognized as an internal or external command,
operable program or batch file.
I am the only one who uses my laptop and I set it up normally (as I recall) something like five or more years ago, and I've never logged into the administrator account explicitly.
When I right click to run as admin on an executable it doesn't ask for the password when the User Account Control box comes up.
When I want to open an admin command prompt, I use the search to find the
"Run as administrator" shortcut which doesn't ask me for a password when
the User Account Control box comes up.
Or I just type Win+R > cmd {ctrl+shft+enter} which does the same thing.
Then in the command prompt I ask "whoami" and it says "you/you" and not "admin/admin" which works for me because I have admin permissions.
But how would I even know what the admin password is that I set years ago? Obviously I'll have to use trial and error (I have ideas what it could be).
But is there a way from my user account to "log into" the admin?
Sort of like how Linux has the switch user "su" command?