Hi Samerix,
I am Dave, I will help you with this.
KMSPico is an illegal tool to activate Windows and most downloads of KMSPico are wrapped in malware.
It is not really possible to know what that malware has done to your PC, download the free version of Malwarebytes and perform a full scan with that.
If that does not get Windows security working, the best option is to perform an in-place repair with the Windows 11 ISO, that should resolve the problem.
Please follow the steps, this is then just an update and your personal files, settings and installed software will not be affected.
Click this link:
https://www.microsoft.com/en-us/software-downlo...
to download the Windows 11 ISO
When the ISO file completes downloading
Disconnect from the Internet
Disconnect all external devices with the exception of a mouse or keyboard.
Temporarily disable any 3rd party Anti-virus you may have installed
Then, in Windows File Explorer, double click the ISO and then run Setup.exe and select the upgrade option.