Hello,
- 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.
- 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.
- 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.
- 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.