I recently upgraded my PC to Windows 11, and for some reason, my original Windows license disappeared after the update. In an effort to fix it, I found some commands on YouTube that I ran in CMD, but I didn't realize that I would end up replacing my legitimate key with a fake one. I've tried removing it, but I'm worried that I might've infected my PC or put my files at risk. Can anyone help me understand what steps I need to take to fix this situation and ensure my computer is safe?
3 Answers
Running slmgr commands isn't a virus; it's part of the Windows licensing service. However, you've likely linked your PC to an unofficial activation method. If your system keeps activating the fake key on reboot, you may need to consider reinstalling Windows entirely to remove it. Don't forget to back up anything important before doing this!
First off, it's a tough lesson learned, but don't beat yourself up too much. Running random commands without knowing what they do can be risky. The best thing to do now is to wipe your drives and do a fresh Windows installation from a USB. That way, you can also buy a legitimate license and avoid any future issues.
Check if you have a Microsoft account linked to your computer. If you do, your legitimate product key might be stored there. Additionally, many new PCs have OEM licenses stored on a chip that auto-activates when you reinstall the correct version of Windows. If you can't retrieve your key this way, you might have lost it when connecting to that unofficial activation server.

Related Questions
Can't Load PhpMyadmin On After Server Update
Redirect www to non-www in Apache Conf
How To Check If Your SSL Cert Is SHA 1
Windows TrackPad Gestures