The .bat file works by installing a fake corporate license server on your local machine. It is tolerated because it grows Microsoft’s ecosystem. And you should only run it on a machine you are willing to see turned into a botnet.
While these tools are widely available on the internet, this report finds that their use poses significant security risks—including malware infection and data theft—and constitutes a violation of Microsoft’s Terms of Service and international copyright laws. windows 10 activator bat file
: They force the system to communicate with that server to clear the "Activate Windows" watermark. Activate Windows - Microsoft Support windows 10 activator bat file