Checking services.msc for any service named "KMS" or "R@1n" and stopping them.

Disclaimer: Using software activators to bypass activation is illegal and poses significant security risks to your system. Removal of KMS-R@1n from Windows 10

Utilizing activators from unofficial sources like HaxPC may expose your computer to trojans or ransomware bundled with the activator. Removal Information

Running a scan with reputed malware removal tools, such as Malwarebytes, which can detect KMS-R@1n components.