So, usually stupidity-proof me stupidly got a virus installed on my Windows 11 (latest updates) device. Don't ask me how (may have something to do with the fact that I had a Malwarebytes premium trial installed?) but Windows' tamper-proofing was (and is) on, but the Windows Security Service is disabled. Whenever I try to load the Windows Security app, it's just a completely black window. Sometimes I get a notification that the service isn't on (with a button to turn it on) but when I try that, all I get is an error saying it couldn't be started.
Thanks to the tamper protection I can't re-enable it, nor can I change any registry values that might be disabling it (I even tried running regedit as the SYSTEM user, still couldn't change owners or the values), and I changed all the settings I could in the group policy editor, but that didn't change anything.
Both SFC and DISM scans return that things are fine. Malwarebytes can't find anything on the system either (I got rid of basically all traces of the virus manually, not hard when you create an invisible window with edgewebviews and you set the description of both those and the program running them to "Toyota")
I'd really hate it if I had to reset Windows. It's on my SP7 so I can't exactly pull out the drive and mount it on another machine. Anyone smarter than me know if I can get myself out of this pickle?
Edit: This question got closed as a duplicate of a generic "how do I disinfect my computer" question. All traces of the virus are gone. No disinfection needed. I just need to be able to forcefully edit the registry so I can disable tamper protection so I can enable Windows Security's service so I can re-enable Windows' built in security features (including turning tamper protection back on).