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
3. The activation menu will appear. Choose the green-highlighted options to activate Windows or Office.
Done!