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.
Although it's typical to interact with the graphical user interface when using Windows, it's still a good idea to know how to use the Command Line. If you dedicate the time to learning it, you could ...