Skip to main content

# Ohook Activation

## Overview​

- How to use it? Please find the instructions here.
- This activation method can activate all kinds of Office versions on Windows 8 and higher and their Server equivalent except Office 2010 and Office UWP apps.
- This activation method works offline and activates Office permanently.
- This activation method can survive Office repairs, Office updates, and even Windows major feature upgrades. You do not need to reactivate in these cases.
- For the O365 subscription version, you can't get server side O365 specific features such as 1TB storage in Onedrive. However, almost all other features and 5GB storage in free onedrive account would work fine.
- This activation method does not modify/patch any onboard system files, instead it installs a custom SPPC.dll (open source) file for the activation to work. Check further details in below "How does it work?" section.

## How does it work?​

- As illustrated in the above 1st image, in the Official activation process of SPP based Office, Office asks `C:\Windows\System32\sppc.dll` about the activation status and that file asks the same thing to SPP (Software Protection Platform) `C:\Windows\System32\sppsvc.exe` and returns the message back to Office.

- As illustrated in the above 2nd image, we modify this behavior by placing a custom `sppc.dll` file in Office folder without touching system's `C:\Windows\System32\sppc.dll` file and that custom file always returns the message that Office is activated. This is how ohook activation works.
- You can find the source code of ohook custom sppc.dll file here.

## Supported Products​

TL;DR all kinds of Office products are supported on Windows 8 and higher and their Server equivalent except Office 2010 and Office UWP apps.

Office Version | Office Product | Generic Key | Key Type
--- | --- | --- | ---
v15.0 (2013) | AccessRetail | B7RFY-7NXPK-Q4342-Y9X2H-3JX4X | Retail
v15.0 (2013) | AccessVolume | 9MF9G-CN32B-HV7XT-9XJ8T-9KVF4 | MAK
v15.0 (2013) | ExcelRetail | NT889-MBH4X-8MD4H-X8R2D-WQHF8 | Retail
v15.0 (2013) | ExcelVolume | Y3N36-YCHDK-XYWBG-KYQVV-BDTJ2 | MAK
v15.0 (2013) | GrooveRetail | BMK4W-6N88B-BP9QR-PHFCK-MG7GF | Retail
v15.0 (2013) | GrooveVolume | RN84D-7HCWY-FTCBK-JMXWM-HT7GJ | MAK
v15.0 (2013) | HomeBusinessPipcRetail | 2WQNF-GBK4B-XVG6F-BBMX7-M4F2Y | OEM-Perp
v15.0 (2013) | HomeBusinessRetail | YWD4R-CNKVT-VG8VJ-9333B-RCW9F | Subscription
v15.0 (2013) | HomeStudentRetail | 6WW3N-BDGM9-PCCHD-9QPP9-P34QG | Subscription
v15.0 (2013) | InfoPathRetail | RV7NQ-HY3WW-7CKWH-QTVMW-29VHC | Retail
v15.0 (2013) | InfoPathVolume | C4TGN-QQW6Y-FYKXC-6WJW7-X73VG | MAK
v15.0 (2013) | LyncAcademicRetail | 6MDN4-WF3FV-4WH3Q-W699V-RGCMY | PrepidBypass
v15.0 (2013) | LyncEntryRetail | N42BF-CBY9F-W2C7R-X397X-DYFQW | PrepidBypass
v15.0 (2013) | LyncRetail | 89P23-2NK2R-JXM2M-3Q8R8-BWM3Y | Retail
v15.0 (2013) | LyncVolume | 3WKCD-RN489-4M7XJ-GJ2GQ-YBFQ6 | MAK
v15.0 (2013) | MondoRetail | VNWHF-FKFBW-Q2RGD-HYHWF-R3HH2 | Subscription
v15.0 (2013) | MondoVolume | 2YNYQ-FQMVG-CB8KW-6XKYD-M7RRJ | MAK
v15.0 (2013) | OneNoteFreeRetail | 4TGWV-6N9P6-G2H8Y-2HWKB-B4FF4 | Bypass
v15.0 (2013) | OneNoteRetail | 3KXXQ-PVN2C-8P7YY-HCV88-GVGQ6 | Retail
v15.0 (2013) | OneNoteVolume | JDMWF-NJC7B-HRCHY-WFT8G-BPXD9 | MAK
v15.0 (2013) | OutlookRetail | 9N4RQ-CF8R2-HBVCB-J3C9V-94P4D | Retail
v15.0 (2013) | OutlookVolume | HNG29-GGWRG-RFC8C-JTFP4-2J9FH | MAK
v15.0 (2013) | PersonalPipcRetail | 9CYB3-NFMRW-YFDG6-XC7TF-BY36J | OEM-Perp
v15.0 (2013) | PersonalRetail | 2NCQJ-MFRMH-TXV83-J7V4C-RVRWC | Retail
v15.0 (2013) | PowerPointRetail | HVMN2-KPHQH-DVQMK-7B3CM-FGBFC | Retail
v15.0 (2013) | PowerPointVolume | 47DKN-HPJP7-RF9M3-VCYT2-TMQ4G | MAK
v15.0 (2013) | ProPlusRetail | N3QMM-GKDT3-JQGX6-7X3MQ-4GBG3 | Retail
v15.0 (2013) | ProPlusVolume | QKHNX-M9GGH-T3QMW-YPK4Q-QRP9V | MAK
v15.0 (2013) | ProfessionalPipcRetail | CF9DD-6CNW2-BJWJQ-CVCFX-Y7TXD | OEM-Perp
v15.0 (2013) | ProfessionalRetail | MBQBN-CQPT6-PXRMC-TYJFR-3C8MY | Retail
v15.0 (2013) | ProjectProRetail | WPY8N-PDPY4-FC7TF-KMP7P-KWYFY | Subscription
v15.0 (2013) | ProjectProVolume | WFCT2-NBFQ7-JD7VV-MFJX6-6F2CM | MAK
v15.0 (2013) | ProjectStdRetail | NTHQT-VKK6W-BRB87-HV346-Y96W8 | Subscription
v15.0 (2013) | ProjectStdVolume | 3CNQX-T34TY-99RH4-C4YD2-KWYGV | MAK
v15.0 (2013) | PublisherRetail | TWNCJ-YR84W-X7PPF-6DPRP-D67VC | Retail
v15.0 (2013) | PublisherVolume | DJPHV-NCJV6-GWPT6-K26JX-C7GX6 | MAK
v15.0 (2013) | SPDRetail | 3NY6J-WHT3F-47BDV-JHF36-2343W | PrepidBypass
v15.0 (2013) | StandardRetail | V6VWN-KC2HR-YYDD6-9V7HQ-7T7VP | Retail
v15.0 (2013) | StandardVolume | 9TN6B-PCYH4-MCVDQ-KT83C-TMQ7T | MAK
v15.0 (2013) | VisioProRetail | NVK2G-2MY4G-7JX2P-7D6F2-VFQBR | Subscription
v15.0 (2013) | VisioProVolume | YN7CF-XRH6R-CGKRY-GKPV3-BG7WF | MAK
v15.0 (2013) | VisioStdRetail | NCRB7-VP48F-43FYY-62P3R-367WK | Subscription
v15.0 (2013) | VisioStdVolume | RX63Y-4NFK2-XTYC8-C6B3W-YPXPJ | MAK
v15.0 (2013) | WordRetail | NB77V-RPFQ6-PMMKQ-T87DV-M4D84 | Retail
v15.0 (2013) | WordVolume | RPHPB-Y7NC4-3VYFM-DW7VD-G8YJ8 | MAK
v15.0 (O365) | O365BusinessRetail | 2P3C9-BQNJH-VCVPH-YDY6M-43JPQ | Subscription
v15.0 (O365) | O365HomePremRetail | J2W28-TN9C8-26PWV-F7J4G-72XCB | Subscription1
v15.0 (O365) | O365ProPlusRetail | 2N382-D6PKK-QTX4D-2JJYK-M96P2 | Subscription1
v15.0 (O365) | O365SmallBusPremRetail | HN8JP-87TQJ-PBF3P-Y66KC-W2K9V | Subscription1
v16.0 (2016) | AccessRetail | WHK4N-YQGHB-XWXCC-G3HYC-6JF94 | Retail
v16.0 (2016) | AccessRuntimeRetail | RNB7V-P48F4-3FYY6-2P3R3-63BQV | PrepidBypass
v16.0 (2016) | AccessVolume | JJ2Y4-N8KM3-Y8KY3-Y22FR-R3KVK | MAK
v16.0 (2016) | ExcelRetail | RKJBN-VWTM2-BDKXX-RKQFD-JTYQ2 | Retail
v16.0 (2016) | ExcelVolume | FVGNR-X82B2-6PRJM-YT4W7-8HV36 | MAK
v16.0 (2016) | HomeBusinessPipcRetail | 2WQNF-GBK4B-XVG6F-BBMX7-M4F2Y | OEM-Perp
v16.0 (2016) | HomeBusinessRetail | HM6FM-NVF78-KV9PM-F36B8-D9MXD | Retail
v16.0 (2016) | HomeStudentRetail | PNPRV-F2627-Q8JVC-3DGR9-WTYRK | Retail
v16.0 (2016) | HomeStudentVNextRetail | YWD4R-CNKVT-VG8VJ-9333B-RC3B8 | Retail
v16.0 (2016) | MondoRetail | VNWHF-FKFBW-Q2RGD-HYHWF-R3HH2 | Subscription
v16.0 (2016) | MondoVolume | FMTQQ-84NR8-2744R-MXF4P-PGYR3 | MAK
v16.0 (2016) | OneNoteFreeRetail | XYNTG-R96FY-369HX-YFPHY-F9CPM | Bypass
v16.0 (2016) | OneNoteRetail | FXF6F-CNC26-W643C-K6KB7-6XXW3 | Retail
v16.0 (2016) | OneNoteVolume | 9TYVN-D76HK-BVMWT-Y7G88-9TPPV | MAK
v16.0 (2016) | OutlookRetail | 7N4KG-P2QDH-86V9C-DJFVF-369W9 | Retail
v16.0 (2016) | OutlookVolume | 7QPNR-3HFDG-YP6T9-JQCKQ-KKXXC | MAK
v16.0 (2016) | PersonalPipcRetail | 9CYB3-NFMRW-YFDG6-XC7TF-BY36J | OEM-Perp
v16.0 (2016) | PersonalRetail | FT7VF-XBN92-HPDJV-RHMBY-6VKBF | Retail
v16.0 (2016) | PowerPointRetail | N7GCB-WQT7K-QRHWG-TTPYD-7T9XF | Retail
v16.0 (2016) | PowerPointVolume | X3RT9-NDG64-VMK2M-KQ6XY-DPFGV | MAK
v16.0 (2016) | ProPlusRetail | GM43N-F742Q-6JDDK-M622J-J8GDV | Retail
v16.0 (2016) | ProPlusVolume | FNVK8-8DVCJ-F7X3J-KGVQB-RC2QY | MAK
v16.0 (2016) | ProfessionalPipcRetail | CF9DD-6CNW2-BJWJQ-CVCFX-Y7TXD | OEM-Perp
v16.0 (2016) | ProfessionalRetail | NXFTK-YD9Y7-X9MMJ-9BWM6-J2QVH | Retail
v16.0 (2016) | ProjectProRetail | WPY8N-PDPY4-FC7TF-KMP7P-KWYFY | Subscription
v16.0 (2016) | ProjectProVolume | PKC3N-8F99H-28MVY-J4RYY-CWGDH | MAK
v16.0 (2016) | ProjectProXVolume | JBNPH-YF2F7-Q9Y29-86CTG-C9YGV | MAKC2R
v16.0 (2016) | ProjectStdRetail | NTHQT-VKK6W-BRB87-HV346-Y96W8 | Subscription
v16.0 (2016) | ProjectStdVolume | 4TGWV-6N9P6-G2H8Y-2HWKB-B4G93 | MAK
v16.0 (2016) | ProjectStdXVolume | N3W2Q-69MBT-27RD9-BH8V3-JT2C8 | MAKC2R
v16.0 (2016) | PublisherRetail | WKWND-X6G9G-CDMTV-CPGYJ-6MVBF | Retail
v16.0 (2016) | PublisherVolume | 9QVN2-PXXRX-8V4W8-Q7926-TJGD8 | MAK
v16.0 (2016) | SkypeServiceBypassRetail | 6MDN4-WF3FV-4WH3Q-W699V-RGCMY | PrepidBypass
v16.0 (2016) | SkypeforBusinessEntryRetail | 4N4D8-3J7Y3-YYW7C-73HD2-V8RHY | PrepidBypass
v16.0 (2016) | SkypeforBusinessRetail | PBJ79-77NY4-VRGFG-Y8WYC-CKCRC | Retail
v16.0 (2016) | SkypeforBusinessVolume | DMTCJ-KNRKR-JV8TQ-V2CR2-VFTFH | MAK
v16.0 (2016) | StandardRetail | 2FPWN-4H6CM-KD8QQ-8HCHC-P9XYW | Retail
v16.0 (2016) | StandardVolume | WHGMQ-JNMGT-MDQVF-WDR69-KQBWC | MAK
v16.0 (2016) | VisioProRetail | NVK2G-2MY4G-7JX2P-7D6F2-VFQBR | Subscription
v16.0 (2016) | VisioProVolume | NRKT9-C8GP2-XDYXQ-YW72K-MG92B | MAK
v16.0 (2016) | VisioProXVolume | G98Q2-B6N77-CFH9J-K824G-XQCC4 | MAKC2R
v16.0 (2016) | VisioStdRetail | NCRB7-VP48F-43FYY-62P3R-367WK | Subscription
v16.0 (2016) | VisioStdVolume | XNCJB-YY883-JRW64-DPXMX-JXCR6 | MAK
v16.0 (2016) | VisioStdXVolume | B2HTN-JPH8C-J6Y6V-HCHKB-43MGT | MAKC2R
v16.0 (2016) | WordRetail | P8K82-NQ7GG-JKY8T-6VHVY-88GGD | Retail
v16.0 (2016) | WordVolume | YHMWC-YN6V9-WJPXD-3WQKP-TMVCV | MAK
v16.0 (2019) | Access2019Retail | WRYJ6-G3NP7-7VH94-8X7KP-JB7HC | Retail
v16.0 (2019) | Access2019Volume | 6FWHX-NKYXK-BW34Q-7XC9F-Q9PX7 | MAK-AE
v16.0 (2019) | AccessRuntime2019Retail | FGQNJ-JWJCG-7Q8MG-RMRGJ-9TQVF | PrepidBypass
v16.0 (2019) | Excel2019Retail | KBPNW-64CMM-8KWCB-23F44-8B7HM | Retail
v16.0 (2019) | Excel2019Volume | 8NT4X-GQMCK-62X4P-TW6QP-YKPYF | MAK-AE
v16.0 (2019) | HomeBusiness2019Retail | QBN2Y-9B284-9KW78-K48PB-R62YT | Retail
v16.0 (2019) | HomeStudent2019Retail | XNWPM-32XQC-Y7QJC-QGGBV-YY7JK | Retail
v16.0 (2019) | Outlook2019Retail | WR43D-NMWQQ-HCQR2-VKXDR-37B7H | Retail
v16.0 (2019) | Outlook2019Volume | RN3QB-GT6D7-YB3VH-F3RPB-3GQYB | MAK-AE
v16.0 (2019) | Personal2019Retail | NMBY8-V3CV7-BX6K6-2922Y-43M7T | Retail
v16.0 (2019) | PowerPoint2019Retail | HN27K-JHJ8R-7T7KK-WJYC3-FM7MM | Retail
v16.0 (2019) | PowerPoint2019Volume | 29GNM-VM33V-WR23K-HG2DT-KTQYR | MAK-AE
v16.0 (2019) | ProPlus2019Retail | BN4XJ-R9DYY-96W48-YK8DM-MY7PY | Retail
v16.0 (2019) | ProPlus2019Volume | T8YBN-4YV3X-KK24Q-QXBD7-T3C63 | MAK-AE
v16.0 (2019) | Professional2019Retail | 9NXDK-MRY98-2VJV8-GF73J-TQ9FK | Retail
v16.0 (2019) | ProjectPro2019Retail | JDTNC-PP77T-T9H2W-G4J2J-VH8JK | Retail
v16.0 (2019) | ProjectPro2019Volume | TBXBD-FNWKJ-WRHBD-KBPHH-XD9F2 | MAK-AE
v16.0 (2019) | ProjectStd2019Retail | R3JNT-8PBDP-MTWCK-VD2V8-HMKF9 | Retail
v16.0 (2019) | ProjectStd2019Volume | RBRFX-MQNDJ-4XFHF-7QVDR-JHXGC | MAK-AE
v16.0 (2019) | Publisher2019Retail | 4QC36-NW3YH-D2Y9D-RJPC7-VVB9D | Retail
v16.0 (2019) | Publisher2019Volume | K8F2D-NBM32-BF26V-YCKFJ-29Y9W | MAK-AE
v16.0 (2019) | SkypeforBusiness2019Retail | JBDKF-6NCD6-49K3G-2TV79-BKP73 | Retail
v16.0 (2019) | SkypeforBusiness2019Volume | 9MNQ7-YPQ3B-6WJXM-G83T3-CBBDK | MAK-AE
v16.0 (2019) | SkypeforBusinessEntry2019Retail | N9722-BV9H6-WTJTT-FPB93-978MK | PrepidBypass
v16.0 (2019) | Standard2019Retail | NDGVM-MD27H-2XHVC-KDDX2-YKP74 | Retail
v16.0 (2019) | Standard2019Volume | NT3V6-XMBK7-Q66MF-VMKR4-FC33M | MAK-AE
v16.0 (2019) | VisioPro2019Retail | 2NWVW-QGF4T-9CPMB-WYDQ9-7XP79 | Retail
v16.0 (2019) | VisioPro2019Volume | 33YF4-GNCQ3-J6GDM-J67P3-FM7QP | MAK-AE
v16.0 (2019) | VisioStd2019Retail | 263WK-3N797-7R437-28BKG-3V8M8 | Retail
v16.0 (2019) | VisioStd2019Volume | BGNHX-QTPRJ-F9C9G-R8QQG-8T27F | MAK-AE
v16.0 (2019) | Word2019Retail | JXR8H-NJ3MK-X66W8-78CWD-QRVR2 | Retail
v16.0 (2019) | Word2019Volume | 9F36R-PNVHH-3DXGQ-7CD2H-R9D3V | MAK-AE
v16.0 (2021) | Access2021Retail | P286B-N3XYP-36QRQ-29CMP-RVX9M | Retail
v16.0 (2021) | Access2021Volume | JBH3N-P97FP-FRTJD-MGK2C-VFWG6 | MAK-AE
v16.0 (2021) | Excel2021Retail | V6QFB-7N7G9-PF7W9-M8FQM-MY8G9 | Retail
v16.0 (2021) | Excel2021Volume | WNYR4-KMR9H-KVC8W-7HJ8B-K79DQ | MAK-AE
v16.0 (2021) | HomeBusiness2021Retail | JM99N-4MMD8-DQCGJ-VMYFY-R63YK | Subscription
v16.0 (2021) | HomeStudent2021Retail | N3CWD-38XVH-KRX2Y-YRP74-6RBB2 | Subscription
v16.0 (2021) | OneNote2021Retail | NB2TQ-3Y79C-77C6M-QMY7H-7QY8P | Retail
v16.0 (2021) | Outlook2021Retail | 4NCWR-9V92Y-34VB2-RPTHR-YTGR7 | Retail
v16.0 (2021) | Outlook2021Volume | JQ9MJ-QYN6B-67PX9-GYFVY-QJ6TB | MAK-AE
v16.0 (2021) | Personal2021Retail | RRRYB-DN749-GCPW4-9H6VK-HCHPT | Retail
v16.0 (2021) | PowerPoint2021Retail | 3KXXQ-PVN2C-8P7YY-HCV88-GVM96 | Retail1
v16.0 (2021) | PowerPoint2021Volume | 39G2N-3BD9C-C4XCM-BD4QG-FVYDY | MAK-AE
v16.0 (2021) | ProPlus2021Retail | 8WXTP-MN628-KY44G-VJWCK-C7PCF | Retail
v16.0 (2021) | ProPlus2021Volume | RNHJY-DTFXW-HW9F8-4982D-MD2CW | MAK-AE1
v16.0 (2021) | ProPlusSPLA2021Volume | JRJNJ-33M7C-R73X3-P9XF7-R9F6M | MAK-AE
v16.0 (2021) | Professional2021Retail | DJPHV-NCJV6-GWPT6-K26JX-C7PBG | Retail
v16.0 (2021) | ProjectPro2021Retail | QKHNX-M9GGH-T3QMW-YPK4Q-QRWMV | Retail
v16.0 (2021) | ProjectPro2021Volume | HVC34-CVNPG-RVCMT-X2JRF-CR7RK | MAK-AE1
v16.0 (2021) | ProjectStd2021Retail | 2B96V-X9NJY-WFBRC-Q8MP2-7CHRR | Retail
v16.0 (2021) | ProjectStd2021Volume | 3CNQX-T34TY-99RH4-C4YD2-KW6WH | MAK-AE
v16.0 (2021) | Publisher2021Retail | CDNFG-77T8D-VKQJX-B7KT3-KK28V | Retail1
v16.0 (2021) | Publisher2021Volume | 2KXJH-3NHTW-RDBPX-QFRXJ-MTGXF | MAK-AE
v16.0 (2021) | SkypeforBusiness2021Retail | DVBXN-HFT43-CVPRQ-J89TF-VMMHG | Retail
v16.0 (2021) | SkypeforBusiness2021Volume | R3FCY-NHGC7-CBPVP-8Q934-YTGXG | MAK-AE
v16.0 (2021) | Standard2021Retail | HXNXB-J4JGM-TCF44-2X2CV-FJVVH | Retail
v16.0 (2021) | Standard2021Volume | 2CJN4-C9XK2-HFPQ6-YH498-82TXH | MAK-AE
v16.0 (2021) | StandardSPLA2021Volume | BQWDW-NJ9YF-P7Y79-H6DCT-MKQ9C | MAK-AE
v16.0 (2021) | VisioPro2021Retail | T6P26-NJVBR-76BK8-WBCDY-TX3BC | Retail
v16.0 (2021) | VisioPro2021Volume | JNKBX-MH9P4-K8YYV-8CG2Y-VQ2C8 | MAK-AE
v16.0 (2021) | VisioStd2021Retail | 89NYY-KB93R-7X22F-93QDF-DJ6YM | Retail
v16.0 (2021) | VisioStd2021Volume | BW43B-4PNFP-V637F-23TR2-J47TX | MAK-AE
v16.0 (2021) | Word2021Retail | VNCC4-CJQVK-BKX34-77Y8H-CYXMR | Retail
v16.0 (2021) | Word2021Volume | BJG97-NW3GM-8QQQ7-FH76G-686XM | MAK-AE
v16.0 (2024) | ProPlus2024Volume-Preview | GNXWX-DF797-B2JT3-82W27-KHPXT | MAK-AE
v16.0 (2024) | ProjectPro2024Volume-Preview | X86XX-N3QMW-B4WGQ-QCB69-V26KW | MAK-AE
v16.0 (2024) | VisioPro2024Volume-Preview | DW99Y-H7NT6-6B29D-8JQ8F-R3QT7 | MAK-AE
v16.0 (O365) | O365BusinessRetail | 2P3C9-BQNJH-VCVPH-YDY6M-43JPQ | Subscription
v16.0 (O365) | O365EduCloudRetail | W62NQ-267QR-RTF74-PF2MH-JQMTH | Subscription
v16.0 (O365) | O365HomePremRetail | J2W28-TN9C8-26PWV-F7J4G-72XCB | Subscription1
v16.0 (O365) | O365ProPlusRetail | 2N382-D6PKK-QTX4D-2JJYK-M96P2 | Subscription1
v16.0 (O365) | O365SmallBusPremRetail | HN8JP-87TQJ-PBF3P-Y66KC-W2K9V | Subscription1

Notes:

- For the O365 subscription version, you can't get server side O365 specific features such as 1TB storage in Onedrive. However, almost all other features and 5GB storage in free onedrive account would work fine.
- Script doesn't convert any product to Volume or vice-versa. All products are activated with their own licence.
- Key preference is given in this order, Retail:TB:Sub > Retail > OEM:NONSLP > Volume:MAK > Volume:GVLK

## Unsupported Products​

- Office on Windows 7 and their Server equivalent
- Office 2010
- Office UWP (Store apps)

Note:

- Theoretically Office on Windows 7 and Office 2010 can be activated with Ohook but these versions require changing Office registry keys and renaming Office file names, that is why we have not added support for it. We recommend to use KMS activation for them.

## How to remove Ohook?​

- In MAS, goto Ohook Activation and apply Uninstall option.
- After that, In MAS, goto Troubleshoot and apply Fix Licensing option. (Optional)
- Done.

## Custom sppc.dll Info​

- Custom sppc.dll source code (Ohook 0.3) is available here.
- SHA-256 checksums:

    e6ac83560c19ec7eb868c50ea97ea0ed5632a397a9f43c17e24e6de4a694d118 *sppc32.dll
    c6df24deef2e83813dee9c81ddd9793a3d60c117a4e8e231b82e32b3192927e7 *sppc64.dll

- In MAS AIO version, these 2 files are encoded in base64 to make MAS AIO version. In AIO script, instructions are mentioned on how to decode files from Base64 format.
  How to create identical sppc.dll files from scratch?
- Download ohook 0.3 source code file from here
- Extract this zip file to a folder named `C:\ohook`
- Now download these two compiler archives, mingw32 and mingw64
- Extract both archives with 7-zip in C drive, so that path would look like this,
  `C:\mingw32` `C:\mingw64`
- Open Powershell as admin and enter below command to set the time and date,
  `Set-TimeZone -Id 'UTC'; $date=[datetime]'2023/8/7 12:00';while($true){set-date $date; start-sleep -milliseconds 10;}`
- Now open another Windows for Powershell and enter below command to create sppc.dll files,
  `Set-Location -Path C:\ohook`
  `C:\mingw64\bin\mingw32-make.exe`
- Calculate the SHA-256 of the created sppc64.dll and sppc32.dll files using 7-zip or Powershell, it would be same as mentioned above.
- Done, you can now close that powershell window and correct the date now.

## Manual Activation​

This is for those who wants to perform manual activation. If you want a tool to do this for you then check here.

- These steps are listed for Office 16.0 (2016, 2019, 2021, O365) C2R x64 bit on Windows x64 bit version.
- Download ohook sppc.dll files from here or create sppc.dll files from scratch as per the above instructions.
- Extract this zip file to a folder named `C:\ohook`
- Open command prompt as admin and enter below command to 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"`
- Now enter below command to copy the hook library as sppc.dll to the Office C2R system directory,
  `cd /d C:\ohook`
  `copy /y sppc64.dll "%ProgramFiles%\Microsoft Office\root\vfs\System\sppc.dll"`
- Some O365 editions check the license status and show the banner "There was a problem checking this device's license status". To stop this, enter below command,
  `reg add HKCU\Software\Microsoft\Office\16.0\Common\Licensing\Resiliency /v "TimeOfLastHeartbeatFailure" /t REG_SZ /d "2040-01-01T00:00:00Z" /f`
- Enter the key, (Replace `<key>` with the key from the above list) with the following command,
  `slmgr /ipk <key>`
- Done.

## Command line Switches​

- Check here.

## Setup Preactivate​

- Check the Extract OEM option in the MAS `Extras` section if you want pre-activated Windows installation.
- Further read here.

## Troubleshooting​

- Check here.