# Method 1 - PowerShell (Windows 8 and later) Copy and paste the code below and press Enter. For Windows 8.1, 10 and 11: irm https://get.activated.win | iex If the above is blocked (by ISP/DNS), try this (needs updated Windows 10 or 11): iex (curl.exe -s --doh-url https://1.1.1.1/dns-query https://get.activated.win | Out-String) # Method 2 - Traditional (Windows 7 and later) Download the file using the links provided below. https://github.com/massgravel/Microsoft-Activation-Scripts/archive/refs/heads/master.zip or https://git.activated.win/massgrave/Microsoft-Activation-Scripts/archive/master.zip https://github.com/massgravel/Microsoft-Activation-Scripts