You run it from an elevated Command Prompt or PowerShell.
KMS is a legitimate Microsoft technology designed for volume licensing in corporate environments, where a central server (the KMS host) activates local "client" computers. However, using public servers like kms.digiboy.ir often bypasses official licensing and comes with significant security and legal considerations.
If you are a student or work for a large company, you might already have access to a legitimate KMS or MAK key—check with your organization before attempting to use public servers.