Temporarily disable Windows Defender or your third-party antivirus. Most security software flags KMS tools as "HackTool" or "PUP" (Potentially Unwanted Program) because they bypass licensing.
Once the script finishes, you can check your activation status in Windows Settings or by typing slmgr.vbs /xpr in a command prompt. Troubleshooting and Safety kms vl all v49.0
A command prompt window will appear with options. Typically, pressing 1 starts the automated activation process. kms vl all v49.0