Locking myself out of my gaming pc

sean Affleck 0 Reputation points
2025-03-08T21:20:17.1366667+00:00

3 years ago, my micosoft account got hacked and, I got worried so I accidentally locked my gaming pc tower, I did some research and I found out that I was hacked by an mfa account so I wasn't able to log back into my Microsoft account, then a few days later I find out that, the Microsoft account that is tied to my gaming pc doesn't exist (it probably got deleted) and even after the account got deleted my pc tower is still locked and I have no way of getting into the old account so that I can unlock it because its deleted, factory reseting doesn't work because I need to be administrator to even get the option to do it. So my pc is just locked forever with no way of even getting into my deleted account so that I can unlock it.....can anyone help because I haven't been able to get in my pc for 3-4 years now

Windows Server Identity and access Deploy group policy objects
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Mars Shan-MSFT 235 Reputation points Microsoft External Staff
    2025-03-10T01:31:46.04+00:00

    Hello,

    1. Verify Your Account Status

    Since you mentioned the Microsoft account was compromised and appears to have been deleted, it’s important to confirm that the account really is permanently removed. If you haven’t already, I’d recommend checking the recovery options for your Microsoft account via https://account.live.com/acsr. This page is our official account recovery tool which might help determine if the account can be recovered or if additional identity verification steps are available. If your account details still appear in our systems, there may be ways to regain access.

    1. Use a Windows Installation Media for Recovery

    If your account cannot be recovered and you’re unable to sign in to Windows, you might be able to regain administrative access using a Windows installation USB:

    a. On another computer, create a Windows 10/11 installation USB drive using the Media Creation Tool available at Microsoft’s official website.

    b. Insert the USB into your locked PC and boot from it (this may require accessing your BIOS/UEFI settings or pressing a boot menu key like F12, Esc, or Del during startup).

    c. On the Windows Setup screen, select “Repair your computer.” Then navigate to Troubleshoot > Advanced Options > Command Prompt.

    Once at the Command Prompt, you might attempt to enable the built-in administrator account by typing the command:

      net user administrator /active:yes

    After executing this command, close the prompt and restart your system. If successful, you should see the Administrator account appear on the sign-in screen (often without a password). Once logged in, you’ll be able to change settings or create a new administrator account to manage your PC.

    Please note that in some configurations or if specific security policies have been applied, this method may not work.

    1. Consider a Password/Account Reset Utility

    There are third-party tools (for example, the Offline NT Password & Registry Editor) that can help reset or remove Windows account passwords offline. If you decide to explore this route, please:

    • Ensure you download such utilities only from reputable sources.

    • Follow detailed, trusted guides, as using these tools without full understanding could lead to further complications or data loss.

    1. Reinstall Windows as a Last Resort

    If no other recovery path is available and you need access to your PC, reinstalling Windows is an option. Before doing so, try to boot using a live Linux distro or Windows installation USB’s recovery environment to back up important files if possible. Performing a clean installation will remove the current accounts (including the locked Microsoft-linked account), allowing you to start fresh. However, this should be considered a last resort if data backup and other recovery steps are not feasible.


    If the Answer is helpful, please click "Accept Answer" and upvote it.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.