Skip to content
/ ohook Public
forked from asdcorp/ohook

An universal Office "activation" hook with main focus of enabling full functionality of subscription editions

License

Notifications You must be signed in to change notification settings

Asura88/ohook

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ohook

An universal Office "activation" hook with main focus of enabling full functionality of subscription editions.

This project is released mainly for our partners. We won't be directly providing any kind of support for users.

Installation

Example steps for 64-bit C2R Office running on a 64-bit version of Windows:

  1. Create a symlink of the system sppc.dll in the Office C2R System directory as sppcs.dll:
mklink "%programfiles%\Microsoft Office\root\vfs\System\sppcs.dll" "%windir%\System32\sppc.dll"
  1. Copy the hook library as sppc.dll to the Office C2R System directory
copy /y sppc64.dll "%programfiles%\Microsoft Office\root\vfs\System\sppc.dll"
  1. Install a blank key for the edition you want to use.

Please note these steps are an example and are based on our internal tests. As stated before, no direct support will be provided for usage of this method. You should use one of the solutions provided by our authorized partners and direct your support queries to them.

Blank keys

The table contains keys for probably the most needed editions.

Edition Marketing Name Key
O365HomePrem Microsoft 365 NBBBB-BBBBB-BBBBB-BBBBG-234RY
O365ProPlus Microsoft 365 Apps for enterprise NBBBB-BBBBB-BBBBB-BBBCF-PPK9C

How does this even work?

As some would say, "It's trivial."

  • The sppc.dll copied to the System directory in the Office is used instead of the system library.

  • The only real license check is done during the startup of the Office applications using the SLGetLicensingStatusInformation function.

  • The SLGetLicensingStatusInformation function can be easily hooked to lie about the activation status.

FAQ

Why not just use a subscription edition with Mondo licenses?

This will be probably the most frequently asked question.

While Mondo 2016 licenses allow all the Office applications to work and support KMS activation, these are only partially updated for newer versions of Office. Thus, the product policy provided by these licenses lack some of the policies found in licenses for newer versions. Since Office product policy mainly consist of entries like office-UUID, there is no way to verify which features may not work.

With this method, a correct license for the installed edition is used, meaning every feature should work as intended.

There are also other issues with installing license files from other editions but we won't be bothering with them.

Why is the value of TimeOfLastHeartbeatFailure changed to some date in the future?

After the license check, some Office editions make a request to the ols.officeapps.live.com service to retrieve an expiration date of user's subscription. This is done in order to evaluate should the local license be renewed. Since the service replies there is no subscription associated with the device, a notification is shown. Setting TimeOfLastHeartbeatFailure to some date in the future prevents Office from doing this check.

Does this enable 1TB of storage on OneDrive?

No.

License

The project is licensed under the terms of the MIT License.

About

An universal Office "activation" hook with main focus of enabling full functionality of subscription editions

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 76.3%
  • Makefile 23.7%