You can change the admin user on a Windows 10 PC through the Control Panel. However, you'll need to be already logged into an admin account to do it.
Learn how to find a computer's username and password in Windows 11/10 using Command Prompt, PowerShell, Task Manager, File ...