Skip to content

Instantly share code, notes, and snippets.

View systemcenterblog's full-sized avatar

systemcenterblog

View GitHub Profile
# RESET OFFICE ACTIVATION STATE
# https://docs.microsoft.com/en-us/office/troubleshoot/activation/reset-office-365-proplus-activation-state
# by: https://gist.github.com/mark05e
#
# Lines to look out for:
# > The four steps above can be automated using OLicenseCleanup.vbs. Simply download and run the script with elevated privileges.
# > To clear all WAM accounts associated with Office on the device, download and run the signoutofwamaccounts.ps1 script with elevated privileges.
# > To automate WPJ removal, download WPJCleanUp.zip, extract the folder, and run WPJCleanUp.cmd.