If that fails or you have an older Windows, use Method 2.
3.The activation menu will appear. Choose the green-highlighted options to activate Windows or Office.
4.Done.
Method 2 - Traditional (Windows Vista and later)
1.Download the file using one of the links 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
2.Right-click on the downloaded zip file and extract it.
3.In the extracted folder, find the folder named All-In-One-Version.
4.Run the file named MAS_AIO.cmd.
5.You will see the activation options. Follow the on-screen instructions.