/Activate-MicrosoftOffice

PowerShell tool to activate Microsoft Office Professional Plus 2016 - 2021 via KMS client keys.

Primary LanguagePowerShellGNU General Public License v3.0GPL-3.0

Activate-MicrosoftOffice

PowerShell tool to activate Microsoft Office Professional Plus 2016 - 2021 via KMS client keys.

TL;DR

Requirements:

Run with elevated privileges (i.e., Administrator)

One-Liner Syntax:

iex ([System.Net.WebClient]::new().DownloadString('https://raw.githubusercontent.com/tylerdotrar/Activate-MicrosoftOffice/main/Activate-MicrosoftOffice.ps1')); Activate-MicrosoftOffice

Output

Description

Automatically detect and activate locally installed Microsoft Office instance with a Professional Plus KMS client key using a publically available KMS server.

  • [Version 1.1.0] Supports custom KMS servers
  • Supports both 32-bit and 64-bit
  • Supports Microsoft Office 2016, 2019, and 2021
  • Script works with both Desktop PowerShell and PowerShell Core
  • Contains moderate error correction

Get-Help

Get-Help

Error Correction

Not in elevated terminal.

Not Elevated

Office not installed.

Failed to Find

Could not connect to KMS servers.

Failed to Resolve

Official Microsoft Office Downloads

Microsoft Office Professional Plus 2021:

Microsoft Office Professional Plus 2019:

Microsoft Office Professional Plus 2016:

  • <N/A>