Hello there,
Only option is to create a local admin user and then remove the other account that you are logged in.
- Press Windows + R keys to open the "Run" window;
- Copy and paste the command
netplwiz
and press ok;
- Click on the "Add" option;
- Select the option "Do not sign in to a Microsoft account";
- Choose a name and password for this profile and then proceed;
- After the new profile is created, go back to the "User Accounts" screen, click on your user and then on "Properties". Select the "Group Membership" tab;
- Mark the profile as Administrator and click on Ok;
- Login with the new account
Hope this resolves your Query !!
--If the reply is helpful, please Upvote and Accept it as an answer–