Open PowerShell
Click the Start Menu, type PowerShell, then open it.
Copy and paste the code below, then press enter.
For Windows 8, 10, 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...