Skip to content

Latest commit

 

History

History
70 lines (50 loc) · 2.43 KB

README.md

File metadata and controls

70 lines (50 loc) · 2.43 KB

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

Banner

Description

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

  • Supports both 32-bit and 64-bit versions of Office.
  • Supports Microsoft Office 2016, 2019, and 2021.
  • Script works with both Desktop PowerShell and PowerShell Core.
  • Contains moderate error correction.
  • [Version 1.1.0] Supports custom KMS servers and ports.
  • [Version 2.0.0] Remove 'GET GENUINE OFFICE' banner via version rollback & disabled auto-updates.
  • [Version 2.0.1] Minor visual formatting adjustments.

Example Output

v2.0.0: Get-Help

Get-Help

v2.0.1: Office version rollback.

Version 2.0.1

Error Correction: Not in elevated terminal.

Not Elevated

Error Correction: Office not installed.

Failed to Find

Error Correction: 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>