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.
If you're used to using the "Run" box to open apps, you can use that to launch Command Prompt with admin privileges. Press ...