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.
Getting locked out of your Windows 11 PC when you don't know the password can be frustrating, but regaining access is easier than you might think. The process you should use depends on how you set up ...