Changing a Windows password from Command Prompt is fast, but it is important to understand what the command actually does. It does not reveal the current password. It replaces the existing password ...
The first and most convenient method to change administrator on Windows 11 is to use the Settings app. You can open Windows Settings app and tweak some settings to switch the administrator account.