Skip to content

Instantly share code, notes, and snippets.

@IverCoder
Last active October 8, 2024 13:02
Show Gist options
  • Save IverCoder/780c894c36bf30eb58cca1796f9a47d4 to your computer and use it in GitHub Desktop.
Save IverCoder/780c894c36bf30eb58cca1796f9a47d4 to your computer and use it in GitHub Desktop.
Install and Activate Microsoft Office for Free - A Step-by-Step Guide

Please leave a star at the GitHub Gist mirror if this guide has helped you! You can also ask questions/assistance there.

Install and Activate Microsoft Office 365 for Free - A Step-by-Step Guide

This is a guide on how to install the latest version of Microsoft Office for free. For this method, we will use the Office Deployment Tool. The Microsoft Office Deployment Tool is a command-line program that IT managers use to configure and deliver Office products to PCs in their businesses, but in this guide, we will use it to install Microsoft Office with additional customization options and download it straight from Microsoft's servers.

NOTE: You will not need to repeat this step again to upgrade. Just keep your Office up to date and you will not have any issues.

NOTE: Make sure you have recently reloaded your number with at least 5GB of internet if you use your mobile internet through a hotspot to download. If your telecom offers extra bandwidth to exclusively access Microsoft 365 (a.k.a. your telco doesn't care about net neutrality), the download will use that bandwidth.

Special info for people in the Philippines:

  • For people in Globe Telecom, save data by using a promo with GoWork. Downloading Microsoft 365 will use GoWork bandwidth, and based on my personal observation, may use MetaverseGo bandwidth as well.

  • Smart Telecom's "unlimited" plan will heavily throttle your speed if you use data to a certain point, or if they detect you are letting other devices connect through a mobile hotspot. If you download Office while throttled by Smart, expect the procedure to take several hours. Learn more

Part 1: Configuring Installation Using the Office Customization Tool

The Office Customization Tool is a simple website by Microsoft to create customization settings that the Deployment Tool will use to install Office on your computer.

NOTE: If you just want to use the core Office apps and real-time collaboration features with language settings matching your OS, you can download this file and proceed to Part 2. This does not include Outlook, so if you want Outlook, please proceed with this section.

To use the Customization Tool, go to this page and adjust the settings according to your preferences. Here is what each option means:

Products and releases

Architecture: Keep it at its default 64-bit.

Products:

Office Suites - Select Microsoft 365 Apps for enterprise to keep your Office always updated to the latest version and gain more features. You can also select the Office LTSC 2021 options, but your Office will be grounded to the 2021 version and will not have access to some cloud features. Do not select the options with SPLA to avoid complexities when activating later on.

Visio - Visio is a diagramming and vector graphics application. Most people would not need this, so you may skip it. If you do want to install it, you may choose any option except Plan 2, since it will cause activation problems.

Project - Project is software for project management. Most people would not need this, so you may skip it. If you do want to install it, you may choose any option except Online Desktop Client, since it cannot be activated.

Additional products - You can skip it if you don't use any other language than English. If you do, select Language pack.

Update channel:

Update channel - You can stay on Current Channel, or if you want to get access to new features and bugfixes earlier, select Current Channel (Preview).

Version - Keep it on Latest.

Apps: Here you can toggle the apps you want to install. Note that OneDrive (Groove) and Skype for Business have been deprecated, so use OneDrive Desktop and Teams as replacements instead.

Features: Disable the “Background service for Microsoft Search in Bing”. This is a service that makes it easier for you to search your organization's files, but if you're here, it's very likely you're not connected to an organization, so it would be useless to you.

Language

Select your language, or select Match operating system.

Installation

Keep the default settings. If you want the install to be done in the background without prompts, disable “Show installation to user”.

Update and upgrade

Make sure that “Automatically check for updates” and “Automatically upgrade to the selected architecture” is turned ON. Automatic updates will not affect Office activation and will keep your device safe from exploits.

Licensing and Activation

Automatically accept the EULA: Turn it on.

Product key: Keep the default settings.

Product activation: Keep the default settings.

You can keep General and Application preferences at their default settings.

On the upper right of the page, press Export. You will be prompted for the Default File Format; select Keep Current Settings, then OK. Tick the checkbox and name your configuration. For this guide, we will name it OfficeConfig. Then click on Export. An XML file named OfficeConfig.xml will be downloaded to your device.

Part 2: Installation Using the Office Deployment Tool

Make a folder named Office Install on your desktop. Any other name will work; just remember the name you used. Move the OfficeConfig.xml file to that folder.

Download the Office Deployment Tool here. Open it, say Yes to the UAC prompt, accept the EULA, and select the folder on your desktop. If it was successful, you should see a setup.exe file in that folder. Open that folder in File Explorer, right click, and press Open in Terminal. This is for Windows 11; see this article on how to open the terminal in a specific folder if you're on Windows 10.

At the terminal, paste .\setup.exe /configure OfficeConfig.xml and press enter on your keyboard. Say Yes to the UAC prompt if one appears, and wait until the installation finishes.

Stay online! Do not go offline or shut your device down until the installation finishes.

Restart your device when installation is done.

Part 3: Activating with MAS

Open the Terminal if you're on Windows 11, or PowerShell if you're on Windows 10. Paste & ([ScriptBlock]::Create((irm https://get.activated.win))) /Ohook and press enter on your keyboard. Say Yes to the UAC prompt. The terminal window will close itself when it's done. Restart your device again (optional), and boom, Office is now activated.

In case the Ohook activation method does not work, use & ([ScriptBlock]::Create((irm https://get.activated.win))) /KMS-ActAndRenewalTask instead.

@thecatontheceiling
Copy link

very cool 👍

@dumbuz
Copy link

dumbuz commented Dec 31, 2023

no more office tool plus, thank you for a guide using almost entirely Microsoft tools to do this.

@Donkr77
Copy link

Donkr77 commented Feb 20, 2024

You made it, bro.

@muddbear
Copy link

Thank you! it worked!

@mr-bishalpaul
Copy link

Thank you for your assistance! It worked perfectly.

@KhushKoradiya
Copy link

Thank Bro. It's Really worked.

@shashamarley
Copy link

it is working perfectly, thanks 👍

@Hermansonelyte
Copy link

Wow, it is working perfectly? and is there any way to activate the Windows 11 Pro? I bought Windows 11 Pro for my previous PC at Keyingo.com, it is working good, and i think i have to buy a new one for my new PC !

@IverCoder
Copy link
Author

IverCoder commented Aug 9, 2024

@Hermansonelyte run this on PowerShell

& ([ScriptBlock]::Create((irm https://get.activated.win))) /HWID

Completely free and takes less than a minute to activate, uses the exact same activator as I used on the Office guide I wrote (but uses the new URL, I will update my guides to point to the new URL soon)

@Hermansonelyte
Copy link

@Hermansonelyte run this on PowerShell

& ([ScriptBlock]::Create((irm https://get.activated.win))) /HWID

Completely free and takes less than a minute to activate, uses the exact same activator as I used on the Office guide I wrote (but uses the new URL, I will update my guides to point to the new URL soon)

Thanks for the new url, but i already bought a key, i will definitely try it for my other devices , thank you so much !!!

@LUISSM3
Copy link

LUISSM3 commented Sep 2, 2024

It's not working. When we close an application, (Outlook for example), when we open it again, it is already blocked because it is not licensed.

@IverCoder
Copy link
Author

@LUISSM3 are you sure you followed Part 3 correctly?

@LUISSM3
Copy link

LUISSM3 commented Sep 2, 2024

Yes, both options, and neither worked.
However, as I have been in this thread on Discord, (https://discord.com/channels/746721520931569757/1278432315495940186) I run the Script suggested by WindowsAddict and so far it seems to have worked.
We'll see until when.
Thank you for your attention.

@josebush13
Copy link

it's worked for me with first option for windows 10 . lets see how long it will work. thanks anyway.

@DW747
Copy link

DW747 commented Oct 5, 2024

it worked for my 2 laptops. lets see how long the scripts works. Such easy guide, really this helped alot

@Treusu
Copy link

Treusu commented Oct 8, 2024

it still work and is up to date! Been using it for over a year now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment