https://github.com/massgravel/Microsoft-Activation-Scripts ==================================================================================================== Online KMS Activation: ==================================================================================================== - This Online KMS Activation script, - is a fork of @abbodi1406's KMS_VL_ALL Script forums.mydigitallife.net/posts/838808 this fork's purpose is to avoid having any KMS binary files and activate Windows / Office using only transparent batch script with online public KMS servers IP (Not hostname). - activate Windows / Office for 180 Days, for Core / ProWMC editions it is 30/45 Days. - can activate both Retail and VL Windows installation. - can activate C2R Retail and VL Office, but not 2010/2013 MSI Retail Office and UWP Office. - skip the activation of any permanently / KMS38 activated product. As mentioned, it activates only for a limited period and it's not permanent, read below on how to achieve lifetime activation. ____________________________________________________________________________________________________ Activation Renewal: _______________________________________ - By design in the KMS activation method, the system contacts the registered server every 7 days, and if contacted successfully it will automatically renew and reset the activation for the the full period of 180 days again, starting from the day of successful contact. If the system cannot contact the server, it will be deactivated after 180 days and it will remain deactivated until contact can be restored. - To get the lifetime activation, you either need to create an automatic renewal task, or manually renew the activation whenever required. There are 3 ways you can renew the KMS server and as a result, renew the activation. _______________________________________ 1- Activation via Online KMS Script: Run activate option whenever the system needs activation. _______________________________________ 2- Activation via Desktop Context Menu: This method is exactly same as above but here we put the following files in, C:\ProgramData\Online_KMS_Activation\BIN\cleanosppx64.exe C:\ProgramData\Online_KMS_Activation\BIN\cleanosppx86.exe C:\ProgramData\Online_KMS_Activation\Activate_dcm.cmd C:\ProgramData\Online_KMS_Activation\Info.html and create registry entries in, HKCR\DesktopBackground\shell\Activate Windows - Office It creates an easy to reach Desktop context menu for the manual activation renewal. _______________________________________ 3- Automatic KMS server Renewal via Task Scheduler: This method put the following files in, C:\ProgramData\Online_KMS_Activation\Activate_tsk.cmd C:\ProgramData\Online_KMS_Activation\Info.html And creates a scheduled task (Renewal) to run the script every 7 days. This task registers the working KMS server and triggers activation commands only for the installed Volume products. The scheduled task runs only if the system is connected to the Internet. ____________________________________________________________________________________________________ Remarks: _______________________________________ - With KMS Activation, you can update Windows/Office without any issues. - What is left in the system in the activation process? - Activation via Online KMS Script If Renewal Task is installed: After activation, it leaves the KMS Server IP in the registry, which helps you to get the global activation feature whereby the system auto-renews the activations. About files and scheduled task, it has been mentioned above. If Renewal Task is NOT installed: It leaves a non-existent IP 0.0.0.0 to avoid Office Not Genuine Banner issue. - This script includes the most-stable KMS servers (16) list from all over the world. The server selection process is fully automatic. Script randomly select a server, tests if it's online, if yes then apply the activation command, if fails, then retry this process maximum of total 4 times for a product. Such redundancy makes sure that we get the working KMS server any time. - If your system date is incorrect (beyond 180 days) and you are offline, the system will be deactivated, but will automatically reactivate when you correct the system date. - The advantage of Online KMS activation is that it doesn't need any KMS binary file and system can be activated using some manual commands or transparent batch script files. So this is for those who don't like/have difficulties/trust issues in offline KMS because of its binary files and antivirus detections. But if you prefer offline KMS then checkout an open-source activator, @abbodi1406's KMS_VL_ALL forums.mydigitallife.net/posts/838808 pastebin.com/raw/cpdmr6HZ ==================================================================================================== Office C2R 'Your license isn't genuine' notification banner: ==================================================================================================== - Office Click-to-Run builds (since February 2021) that are activated with KMS checks the existence of the KMS server name in the registry. - If KMS server is not present, a banner is shown in Office programs notifying that "Office isn't licensed properly", see here. - Therefore in manual mode, KeyManagementServiceName value containing a non-existent IP address 0.0.0.0 will be kept in the below registry keys: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SoftwareProtectionPlatform HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\Windows NT\CurrentVersion\SoftwareProtectionPlatform This is perfectly fine to keep, and it does not affect Windows or Office activation. Fore more explanation, visit https://massgrave.dev/office-license-is-not-genuine ==================================================================================================== Miscellaneous: ==================================================================================================== How does KMS activation work? Is there any downsides compared to genuine activation? https://massgrave.dev/readme-activation-faq.html _______________________________________ Activation Troubleshoot: Check Activation Troubleshoot option in the "Extras" section of the 'MAS' project. _______________________________________ Preactivation: For Windows preactivation at the time of Windows installation, check Extract $OEM$ Folder option in the "Extras" section of the 'MAS' project. _______________________________________ How to undo the KMS activation for Windows? I want to activate with my own activation key. - Use uninstall option from the KMS script. - Open CMD as admin and enter your activation key (non KMS key) with the below command, slmgr /ipk *****-*****-*****-*****-***** - That's all, further process is not required. ==================================================================================================== Supported Products: ==================================================================================================== Windows / Server ________________________________________________________________ Generic Volume License Key Edition Windows 11 [Co] 37D7F-N49CB-WQR8W-TBJ73-FM8RX SE {Cloud} 6XN7V-PCBDC-BDBRH-8DQY7-G6R44 SE N {Cloud N} Windows 10 / 11 M7XTQ-FN8P6-TTKYV-9D4CC-J462D Enterprise LTSC 2019 92NFX-8DJQP-P6BBQ-THF9C-7CG2H Enterprise LTSC 2019 N CPWHC-NT2C7-VYW78-DHDB2-PG3GK Enterprise for Virtual Desktops NBTWJ-3DR69-3C4V8-C26MC-GQ9M6 Lean NRG8B-VKK3Q-CXVCJ-9G2XF-6Q84J Pro Workstation 9FNHH-K3HBT-3W4TD-6383H-6XYWF Pro Workstation N 7NBT4-WGBQX-MP4H7-QXFF8-YP3KX Enterprise Remote Server YYVX9-NTFWV-6MDM3-9PT4T-4M68B Enterprise G 44RPN-FTY23-9VTTB-MP9BX-T84FV Enterprise G N DCPHK-NFMTC-H88MJ-PFHPY-QJ4BJ Enterprise 2016 LTSB QFFDN-GRT3P-VKWWX-X7T3R-8B639 Enterprise 2016 LTSB N 6TP4R-GNPTD-KYYHQ-7B7DP-J447Y Pro Education YVWGF-BXNMC-HTQYQ-CPQ99-66QFC Pro Education N TX9XD-98N7V-6WMQ6-BX7FG-H8Q99 Home 3KHY7-WNT83-DGQKR-F7HPR-844BM Home N 7HNRX-D7KGG-3K4RQ-4WPJ4-YTDFH Home Single Language PVMJN-6DFY6-9CCP6-7BKTT-D3WVR Home China W269N-WFGWX-YVC9B-4J6C9-T83GX Pro MH37W-N47XK-V7XM9-C7227-GCQG9 Pro N NW6C2-QMPVW-D7KKK-3GKT6-VCFB2 Education 2WH4N-8QGBV-H22JP-CT43Q-MDWWJ Education N NPPR9-FWDCX-D2C8J-H872K-2YT43 Enterprise DPH2V-TTNVB-4X9Q3-TJR4H-KHJW4 Enterprise N WNMTR-4C88C-JK8YV-HQ7T2-76DF9 Enterprise 2015 LTSB 2F77B-TNFGY-69QQF-B8YKP-D69TJ Enterprise 2015 LTSB N Windows Server 2022 [Fe] VDYBN-27WPP-V4HQT-9VMD4-VMK7H Standard WX4NM-KYWYW-QJJR4-XV3QB-6VM33 Datacenter 6N379-GGTMK-23C6M-XVVTC-CKFRQ Azure Core 67KN8-4FYJW-2487Q-MQ2J7-4C4RG Standard ACor QFND9-D3Y9C-J3KKY-6RPVP-2DPYV Datacenter ACor Windows Server 2019 [RS5] N69G4-B89J2-4G8F4-WWYCC-J464C Standard WMDGN-G9PQG-XVVXX-R3X43-63DFG Datacenter FDNH6-VW9RW-BXPJ7-4XTYG-239TB Azure Core N2KJX-J94YW-TQVFB-DG9YT-724CC Standard ACor 6NMRW-2C8FM-D24W7-TQWMY-CWH2D Datacenter ACor WVDHN-86M7X-466P6-VHXV7-YY726 Essentials GRFBW-QNDC4-6QBHG-CCK3B-2PR88 ServerARM64 NTBV8-9K7Q8-V27C6-M2BTV-KHMXV Azure Datacenter - ServerTurbine Windows Server 2016 [RS4] K9FYF-G6NCK-73M32-XMVPY-F9DRR ServerARM64 Windows Server 2016 [RS3] PTXN8-JFHJM-4WC78-MPCBR-9W4KR Standard ACor 2HXDN-KRXHB-GPYC7-YCKFJ-7FVDG Datacenter ACor Windows Server 2016 [RS1] WC2BQ-8NRM3-FDDYY-2BFGV-KHKQY Standard CB7KF-BWN84-R7R2Y-793K2-8XDDG Datacenter VP34G-4NPPG-79JTQ-864T4-R3MQX Azure Core JCKRF-N37P4-C2D82-9YXRT-4M63B Essentials QN4C6-GBJD2-FB422-GHWJK-GJG2R Cloud Storage Windows 8.1 M9Q9P-WNJJT-6PXPY-DWX8H-6XWKK Core 7B9N3-D94CG-YTVHR-QBPX3-RJP64 Core N BB6NG-PQ82V-VRDPW-8XVD2-V8P66 Core Single Language NCTT7-2RGK8-WMHRF-RY7YQ-JTXG3 Core China XYTND-K6QKT-K2MRH-66RTM-43JKP Core ARM GCRJD-8NW9H-F2CDX-CCM8D-9D6T9 Pro HMCNV-VVBFX-7HMBH-CTY9B-B4FXY Pro N 789NJ-TQK6T-6XTH8-J39CJ-J8D3P Pro with Media Center MHF9N-XY6XB-WVXMC-BTDCT-MKKG7 Enterprise TT4HM-HN7YT-62K67-RGRQJ-JFFXW Enterprise N NMMPB-38DD4-R2823-62W8D-VXKJB Embedded Industry Pro FNFKF-PWTVT-9RC8H-32HB2-JB34X Embedded Industry Enterprise VHXM3-NR6FT-RY6RT-CK882-KW2CJ Embedded Industry Automotive 3PY8R-QHNP9-W7XQD-G6DPH-3J2C9 with Bing Q6HTR-N24GM-PMJFP-69CD8-2GXKR with Bing N KF37N-VDV38-GRRTV-XH8X6-6F3BB with Bing Single Language R962J-37N87-9VVK2-WJ74P-XTMHR with Bing China MX3RK-9HNGX-K3QKC-6PJ3F-W8D7B Pro for Students TNFGH-2R6PB-8XM3K-QYHX2-J4296 Pro for Students N Windows Server 2012 R2 D2N9P-3P6X9-2R39C-7RTCD-MDVJX Standard W3GGN-FT8W3-Y4M27-J84CP-Q3VJ9 Datacenter KNC87-3J2TX-XB4WP-VCPJV-M4FWM Essentials 3NPTF-33KPT-GGBPR-YX76B-39KDD Cloud Storage Windows 8 BN3D2-R7TKB-3YPBD-8DRP2-27GG4 Core 8N2M2-HWPGY-7PGT9-HGDD8-GVGGY Core N 2WN2H-YGCQR-KFX6K-CD6TF-84YXQ Core Single Language 4K36P-JN4VD-GDC6V-KDT89-DYFKP Core China DXHJF-N9KQX-MFPVR-GHGQK-Y7RKV Core ARM NG4HW-VH26C-733KW-K6F98-J8CK4 Pro XCVCF-2NXM9-723PB-MHCB7-2RYQQ Pro N GNBB8-YVD74-QJHX6-27H4K-8QHDG Pro with Media Center 32JNW-9KQ84-P47T8-D8GGY-CWCK7 Enterprise JMNMF-RHW7P-DMY6X-RF3DR-X2BQT Enterprise N RYXVT-BNQG7-VD29F-DBMRY-HT73M Embedded Industry Pro NKB3R-R2F8T-3XCDP-7Q2KW-XWYQ2 Embedded Industry Enterprise Windows Server 2012 XC9B7-NBPP2-83J2H-RHMBY-92BT4 Standard 48HP8-DN98B-MYWDG-T2DCC-8W83P Datacenter HM7DN-YVMH3-46JC3-XYTG7-CYQJJ MultiPoint Standard XNH6W-2V9GX-RGJ4K-Y8X6F-QGJ2G MultiPoint Premium Windows 7 FJ82H-XT6CR-J8D7P-XQJJ2-GPDD4 Professional MRPKT-YTG23-K7D7T-X2JMM-QY7MG Professional N W82YF-2Q76Y-63HXB-FGJG9-GF7QX Professional E 33PXH-7Y6KF-2VJC9-XBBR8-HVTHH Enterprise YDRBP-3D83W-TY26F-D46B2-XCKRJ Enterprise N C29WB-22CC8-VJ326-GHFJW-H9DH4 Enterprise E YBYF6-BHCR3-JPKRB-CDW7B-F9BK4 Embedded POSReady 7 XGY72-BRBBT-FF8MH-2GG8H-W7KCW Embedded Standard 73KQT-CD9G6-K7TQG-66MRP-CQ22C Embedded ThinPC Windows Server 2008 R2 6TPJF-RBVHG-WBW2R-86QPH-6RTM4 Web TT8MH-CG224-D3D7Q-498W2-9QCTX HPC YC6KT-GKW9T-YTKYR-T4X34-R7VHC Standard 74YFP-3QFB3-KQT8W-PMXWJ-7M648 Datacenter 489J6-VHDMP-X63PK-3K798-CPX3Y Enterprise GT63C-RJFQ3-4GMB6-BRFB9-CB83V Itanium 736RG-XDKJK-V34PF-BHK87-J6X3K MultiPoint Server - ServerEmbeddedSolution ________________________________________________________________ Office ___________ Office Volume 2010 / 2013 / 2016 / 2019 / 2021 Office C2R Retail O365/2013/2016/2019/2021 Notes: These editions are only KMS-activatable for 45 days at max: Windows 10 Home edition variants Windows 8.1 Core edition variants, Pro with Media Center, Pro Student These editions are only KMS-activatable for 30 days at max: Windows 8 Core edition variants, Pro with Media Center Office C2R Retail need volume conversion, script will convert it if needed. Supported Windows products do need volume conversion, only the GVLK (KMS key) is needed, which the script will install accordingly. KMS Activation works in all (MBR, GPT, UEFI, BIOS) systems. ==================================================================================================== Unsupported Products: ==================================================================================================== Office MSI Retail 2010/2013 Office UWP (Windows 10 Apps) Windows Editions which do not support KMS activation by design: Windows Evaluation (EVAL) Editions Windows 7 (Starter, HomeBasic, HomePremium, Ultimate) Windows 10 (Cloud "S", IoTEnterprise, IoTEnterpriseS, ProfessionalSingleLanguage... etc) Windows Server (Server Foundation, Storage Server, Home Server 2011... etc) On some OEM systems, KMS activation on Windows 7 can not work due to unqualified BIOS Check details here https://support.microsoft.com/en-us/help/942962/ ==================================================================================================== Office C2R Retail to Volume conversion: ==================================================================================================== By default, this activation script will convert Office C2R Retail to Volume. Office Retail must be converted to Volume first before it can be activated with KMS specifically, Office Click-to-Run products, whether installed from ISO (e.g. ProPlus2019Retail.img) or using Office Deployment Tool. Notes: Supported Click-to-Run products: Office 365, Office 2021, Office 2019, Office 2016, Office 2013 Activated Office Retail products will be skipped from conversion Office 365 itself does not have volume licenses, therefore it will be converted to Office Mondo licenses Office Professional suite will be converted with Office ProPlus licenses Office HomeBusiness/HomeStudent suites will be converted with Office Standard licenses Office 2016 products will be converted with corresponding Office 2019 licenses If Office 2019 RTM licenses are not detected, Office 2016 licenses will be used instead On Windows 7, Office 2016/2019 licensing service require Universal C Runtime to work correctly UCRT is available in the latest Monthly Rollup, or the separate update KB3118401 Additionally, Office programs themselves require recent Windows 7 updates to start properly If the automatic conversion did not work, or if you prefer to use the separate converter script: Office-C2R-Retail2Volume https://forums.mydigitallife.net/posts/1150042/ You can also use other tools that can convert licensing: Office Tool Plus https://otp.landian.vip ==================================================================================================== .exe File Details: ==================================================================================================== cleanosppx64.exe SHA-1: d30a0e4e5911d3ca705617d17225372731c770e2 Virus Total: 0/68 cleanosppx86.exe SHA-1: 39ed8659e7ca16aaccb86def94ce6cec4c847dd6 Virus Total: 1/51 Virus total (virustotal.com) report date: 2022-01-09 Virus total report and antivirus real-time scan report upon file execution can be different. - These files are used in cleaning office license in C2R Retail office to VL conversion process. - These files are taken from the old version of Microsoft official tool 'O15CTRRemove.diagcab'. File: O15CTRRemove.diagcab (Digitally Signed) Link: app.box.com/s/n8qpb5ljmv6djp77w5p6fk043dm6s3r1 (Unofficial Link) SHA-1: 56c6ca76993a96cf9a255463b90db96cb9d24464 ==================================================================================================== Check Activation Status: ==================================================================================================== Check the status of Windows and Office products. _______________________________________ Check Activation Status [vbs]: query and execute official licensing VBScripts: slmgr.vbs for Windows, ospp.vbs for Office shows the activation expiration date for Windows Office 2010 ospp.vbs shows a very little info _______________________________________ Check Activation Status [wmi]: query and execute WMI functions using wmic.exe or VBScripts shows extra more info (SKU ID, key channel) shows the activation expiration date for all products shows more detailed info for Office 2010 can show the status of Office UWP apps implement vNextDiag.ps1 functions to detect new Office 365 vNext licenses and subscriptions ==================================================================================================== Advanced options: ==================================================================================================== * You can use below options by using choice menu in the script. _______________________________________ Debug Mode:- When the activation is run with Debug Mode enabled, it creates a log file which contains full details of activation process, this is useful to detect activation errors. _______________________________________ Convert Office C2R-R2V:- The script is set by default to auto convert detected Office C2R Retail to Volume (except activated Retail products). You can turn off this function if you prefer that. _______________________________________ Skip Windows 10 KMS38:- The script is set by default to check and skip Windows activation if KMS 2038 is detected. However, if you want to revert to normal KMS activation, you can turn it off. ==================================================================================================== Command line Switches: ==================================================================================================== * All switches applies only with the file 'Online_KMS_Activation\Activate.cmd' in 'MAS' separate files version. * Operation will be unattended if any switch is used. * Below the switches are divided into five parts, you can use the combination of switches from only a part at a time. _______________________________________ Activation:- Activate Windows only: /w Activate Office only: /o Activate Windows and Office both: /wo Turn OFF Office C2R-R2V conversion: /nc Do not skip Windows 10 KMS38: /x Debug mode and create detailed log on desktop: /d Silent and create simple log in current directory: /L _______________________________________ Create Renewal Task:- /rt _______________________________________ Create Renewal and Activation Task:- /rat _______________________________________ Add Desktop Context Menu:- /dcm _______________________________________ Complete Uninstall:- /uni ==================================================================================================== Credits: ==================================================================================================== Online KMS Script is a fork of @abbodi1406's KMS_VL_ALL forums.mydigitallife.net/posts/838808 This fork's purpose is to avoid having any KMS binary files and activate Windows/Office using only transparent batch script with online public KMS servers. Thanks to @RPO and @abbodi1406 for providing help in making of this fork. _______________________________________ Thanks to the maintainers of the following 'online public KMS servers' for providing the service. *ignore underscore 222.18___4.9.98 kms.ku___retru.com xinche___ng213618.cn kms.si___xyin.com kms.mo___eclub.org kms.cg___tsoft.com kms.he___ng07.com kms.mo___eyuuko.com kms.lo___li.best kms.zh___uxiaole.org kms.ca___tqu.com kms.lo___li.beer kms.ca___ry.tech kms.wx___lost.com kms.mo___eyuuko.top kms.gh___pym.com _______________________________________ Online KMS Activation Script is a part of 'Microsoft Activation Scripts' (MAS) project. Homepage: massgrave.dev Email: windowsaddict@protonmail.com ====================================================================================================