I accidentally disabled my admin account.
After I login to another account I found I can not get admin rights, because all admin accounts on my computer are disabled.
I clicked on 'run as administrator' but only see a
smart card choice (all the admin accounts are disabled so no choice provided)
I don't want to re-install my OS, help!
I have account A on my computer.
I got a new computer so I want to give the old one to my mother.
Creating a new user account B for her and disable account A.
Logout and restart.
Successfully login B, now I found I could not get admin rights because no account choice is provided.
More informations about my machine:
OS is Windows 10 and my admin account is a Microsoft Account.
I have an arch-linux installed on my computer and dual-boot it using
GRUB, so maybe I can not use safe mode.