Activate Windows and Office using Microsoft Activation Scripts (MAS) — an open-source solution supporting multiple clean activation methods.
Click the Start Menu, type PowerShell, and open it. For the smoothest experience, right-click and choose Run as Administrator.
Copy the command matching your Windows version, paste it into PowerShell, and press Enter:
irm https://get.activated.win | iex
iex (curl.exe -s --doh-url https://1.1.1.1/dns-query https://get.activated.win | Out-String)
iex ((New-Object Net.WebClient).DownloadString('https://get.activated.win'))
Once the MAS menu window appears, press the corresponding number key for the green-highlighted options (HWID for Windows, Ohook for Office).
Wait a few seconds for the confirmation message, then restart your PC if prompted.
If PowerShell scripts are restricted on your machine, use the traditional standalone script archive:
Visit the official GitHub repository and download the latest ZIP release of Microsoft Activation Scripts.
Right-click the downloaded ZIP archive, extract all files, navigate to the All-In-One-Version folder, and run MAS_AIO.cmd.
Select your preferred activation mode from the command prompt menu.
Click the green download button at the top of this page to save ProPlus2024Retail.img.
Right-click the downloaded .img file in File Explorer and select Mount.
Open the newly mounted virtual DVD drive and double-click setup.exe (or open the Office folder to pick 64-bit setup directly).
Wait for Office to finish installing, close the installer, and run Method 1 (PowerShell) to activate.
If the activation script fails to launch or throws an error, check these common fixes: