Some options here.
https://support.microsoft.com/en-us/windows/recovery-options-in-windows-31ce2444-7de3-818c-d626-e3b5a3024da5
--please don't forget to upvote
and Accept as answer
if the reply is helpful--
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
I managed to block admin account from my w10 computer and cannot sign innow. Only a visitor account can sign in. How can I restore the admin account?
Some options here.
https://support.microsoft.com/en-us/windows/recovery-options-in-windows-31ce2444-7de3-818c-d626-e3b5a3024da5
--please don't forget to upvote
and Accept as answer
if the reply is helpful--
Not helpful.
Message: CANNOT OPEN ONE DRIVE AS ADMINISTRATOR.
Now What?
Hello,
It seems you lost admin rights. See if this fix helps you:
https://www.kapilarya.com/fix-lost-administrative-rights-in-windows-10
Let us know if this helps!
Note: Included link in this reply refers to blog post by a trusted Microsoft MVP.