If you're getting virus warnings it's possible your system is infected. Not getting it on my end. Run a full scan of your system with defender. Once done you might want to use sfc and dism to correct your OS (I'm assuming you have windows 10 or 11. This will work as far back as vista) https://www.windowscentral.com/how-use-dism-command-line-utility-repair-windows-...
The bad news is if this doesn't correct things you might be stuck doing a full format. Back up everything, make sure you have restore media, then nuke that partition from orbit.