Skip to content

Instantly share code, notes, and snippets.

@cruithne3753
cruithne3753 / Hide_Upgrade_Your_Plan_ALL.reg
Last active November 6, 2026 21:48
Hides the 'Upgrade your plan' button in Office 2021/2024 AND Microsoft 365. (Includes Restore option as well.)
Windows Registry Editor Version 5.00
; Hides the 'Upgrade your plan' button in Office 2021/2024 AND Microsoft 365.
; Sets three Office feature switches to false; Office ignores the ones that don't apply to your license.
; No admin rights needed (current user only). Close and reopen Office apps after importing.
; To undo: import Restore_Upgrade_Your_Plan_ALL.reg
[HKEY_CURRENT_USER\Software\Microsoft\Office\16.0\Common\ExperimentConfigs\ExternalFeatureOverrides\word]
"Microsoft.Office.Licensing.ShowPerpetualUpgrade"="false"
"Microsoft.Office.Licensing.EnablePerpetualUpgrade"="false"
@cruithne3753
cruithne3753 / office_gate_tester_guide.md
Last active October 8, 2026 14:01
A guided troubleshooting tool that safely discovers and applies the registry feature-gate override needed to hide Office's "Upgrade your plan" upsell button.

Office "Upgrade your plan" gate tester - guide

For office_gate_tester.py version 1.4.0.

TL;DR

This is a guided troubleshooting tool that safely discovers and applies the registry feature-gate override needed to hide Office's "Upgrade your plan" upsell button.

This is a Windows Python tool that helps identify and disable the "Upgrade your plan" button that appears in Word, Excel, and PowerPoint by testing Office's internal feature gates. It works by writing temporary registry overrides in the current user's profile, testing which gate controls the button, and optionally keeping the working setting.

@cruithne3753
cruithne3753 / office_gate_tester.py
Last active October 8, 2026 14:00
MS Office "Upgrade your plan" gate tester
# File: office_gate_tester.py
# Location: Office_2024_Upgrade_Nag/share/
# Python: 3.13
# Version: 1.4.0
# Dependencies: frida (optional, only for the scan option)
# Install: pip install frida (only needed for the scan option)
"""Hide Office's "Upgrade your plan" button by turning off feature gates.
Starts with a menu listing the known gates, what is known about each, what
worked on this PC before, and where each is set now. From there you can: