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.
Use Control Panel or Registry Editor, but understand the risks This article describes how to disable UAC in Windows 10 using ...