{"id":21566840,"url":"https://github.com/lxance-hacker/office365","last_synced_at":"2025-04-10T13:20:25.527Z","repository":{"id":158578489,"uuid":"443825193","full_name":"LxaNce-Hacker/Office365","owner":"LxaNce-Hacker","description":"Using this script, You can activate your Office365 for life time validity 😊","archived":false,"fork":false,"pushed_at":"2024-11-23T13:06:35.000Z","size":381,"stargazers_count":40,"open_issues_count":0,"forks_count":7,"subscribers_count":1,"default_branch":"LxaNce","last_synced_at":"2025-03-24T12:04:07.529Z","etag":null,"topics":["everyone","everything","free","github-scripts","github-tools","hacker","lxance","lxance-hacker","office365","script","windows","wireless"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/LxaNce-Hacker.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-01-02T17:16:15.000Z","updated_at":"2025-03-21T19:23:21.000Z","dependencies_parsed_at":"2024-11-23T14:30:20.104Z","dependency_job_id":null,"html_url":"https://github.com/LxaNce-Hacker/Office365","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LxaNce-Hacker%2FOffice365","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LxaNce-Hacker%2FOffice365/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LxaNce-Hacker%2FOffice365/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LxaNce-Hacker%2FOffice365/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LxaNce-Hacker","download_url":"https://codeload.github.com/LxaNce-Hacker/Office365/tar.gz/refs/heads/LxaNce","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248225658,"owners_count":21068078,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["everyone","everything","free","github-scripts","github-tools","hacker","lxance","lxance-hacker","office365","script","windows","wireless"],"created_at":"2024-11-24T10:28:23.074Z","updated_at":"2025-04-10T13:20:25.503Z","avatar_url":"https://github.com/LxaNce-Hacker.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Office365\n# 1.Manual method\nTime needed: 1 minute.\n\nManually activate your Office 365 using KMS client key.\n\nOpen command prompt as admin.\nFirst, you need to open command prompt with admin rights, then follow the instruction below step by step. Just copy/paste the commands and do not forget to hit Enter in order to execute them.\nopen cmd with admin rights - Legal way to use Office 365 totally FREE, without paying a dime\n\nNavigate to your Office folder.\nIf you install your Office in the ProgramFiles folder, the path will be “%ProgramFiles%\\Microsoft Office\\Office16” or “%ProgramFiles(x86)%\\Microsoft Office\\Office16”. It depends on the architecture of the Windows OS you are using. If you are not sure of this issue, don’t worry, just run both of the commands above. One of them will be not executed and an error message will be printed on the screen.\u003cbr\u003e\u003cbr\u003e\n\n```\ncd /d %ProgramFiles%\\Microsoft Office\\Office16\ncd /d %ProgramFiles(x86)%\\Microsoft Office\\Office16\n```\n\nactivate office 2019 using manual method kms 1 - Legal way to use Office 365 totally FREE, without paying a dime\n\nConvert your Office license to volume one if possible.\nIf your Office is got from Microsoft, this step is required. On the contrary, if you install Office from a Volume ISO file, this is optional so just skip it if you want.\n```\nfor /f %x in ('dir /b ..\\root\\Licenses16\\proplusvl_kms*.xrm-ms') do cscript ospp.vbs /inslic:\"..\\root\\Licenses16\\%x\"\n```\n\nactivate office 2016 manually method 2 - Legal way to use Office 365 totally FREE, without paying a dime\n\nUse KMS client key to activate your Office\nMake sure your PC is connected to the internet, then run the following command.\n```\ncscript ospp.vbs /inpkey:XQNVK-8JYDB-WJ9W3-YJ8YR-WFG99\ncscript ospp.vbs /unpkey:BTDRB \u003enul\ncscript ospp.vbs /unpkey:KHGM9 \u003enul\ncscript ospp.vbs /unpkey:CPQVG \u003enul\ncscript ospp.vbs /sethst:107.175.77.7\ncscript ospp.vbs /setprt:1688\ncscript ospp.vbs /act\n```\nIf you see the error 0xC004F074, it means that your internet connection is unstable or the server is busy. Please make sure your device is online and try the command “act” again until you succeed.\n\nHere is all the text you will get in the command prompt window.\n\u003eC:\\Windows\\system32\u003ecd /d %ProgramFiles%\\Microsoft Office\\Office16\u003cbr\u003e\n\u003eC:\\Program Files\\Microsoft Office\\Office16\u003ecd /d %ProgramFiles(x86)%\\Microsoft Office\\Office16\u003cbr\u003e\nThe system cannot find the path specified.\u003cbr\u003e\n\u003eC:\\Program Files\\Microsoft Office\\Office16\u003efor /f %x in ('dir /b ..\\root\\Licenses16\\proplusvl_kms*.xrm-ms') do cscript ospp.vbs /inslic:\"..\\root\\Licenses16\\%x\"\u003cbr\u003e\n\u003eC:\\Program Files\\Microsoft Office\\Office16\u003ecscript ospp.vbs /inslic:\"..\\root\\Licenses16\\ProPlusVL_KMS_Client-ppd.xrm-ms\"\u003cbr\u003e\nMicrosoft (R) Windows Script Host Version 5.812\nCopyright (C) Microsoft Corporation. All rights reserved.\n\u003e---Processing--------------------------\u003cbr\u003e\n\u003eInstalling Office license: ..\\root\\licenses16\\proplusvl_kms_client-ppd.xrm-ms\u003cbr\u003e\n\u003eOffice license installed successfully.\u003cbr\u003e\n\u003e---Exiting-----------------------------\u003cbr\u003e\n\u003eC:\\Program Files\\Microsoft Office\\Office16\u003ecscript ospp.vbs /inslic:\"..\\root\\Licenses16\\ProPlusVL_KMS_Client-ul-oob.xrm-ms\"\u003cbr\u003e\nMicrosoft (R) Windows Script Host Version 5.812\nCopyright (C) Microsoft Corporation. All rights reserved.\n\u003e---Processing--------------------------\u003cbr\u003e\n\u003eInstalling Office license: ..\\root\\licenses16\\proplusvl_kms_client-ul-oob.xrm-ms\u003cbr\u003e\n\u003eOffice license installed successfully.\u003cbr\u003e\n\u003e---Exiting-----------------------------\u003cbr\u003e\n\u003eC:\\Program Files\\Microsoft Office\\Office16\u003ecscript ospp.vbs /inslic:\"..\\root\\Licenses16\\ProPlusVL_KMS_Client-ul.xrm-ms\"\u003cbr\u003e\n\u003eMicrosoft (R) Windows Script Host Version 5.812\u003cbr\u003e\n\u003eCopyright (C) Microsoft Corporation. All rights reserved.\u003cbr\u003e\n\u003e---Processing--------------------------\u003cbr\u003e\n\u003eInstalling Office license: ..\\root\\licenses16\\proplusvl_kms_client-ul.xrm-ms\u003cbr\u003e\n\u003eOffice license installed successfully.\u003cbr\u003e\n\u003e---Exiting-----------------------------\u003cbr\u003e\n\u003eC:\\Program Files\\Microsoft Office\\Office16\u003ecscript ospp.vbs /inpkey:XQNVK-8JYDB-WJ9W3-YJ8YR-WFG99\u003cbr\u003e\n\u003eMicrosoft (R) Windows Script Host Version 5.812\u003cbr\u003e\n\u003eCopyright (C) Microsoft Corporation. All rights reserved.\u003cbr\u003e\n\u003e---Processing--------------------------\u003cbr\u003e\n\n\u003e---Exiting-----------------------------\u003cbr\u003e\n\u003eC:\\Program Files\\Microsoft Office\\Office16\u003ecscript ospp.vbs /unpkey:BTDRB \u003enul\u003cbr\u003e\n\u003eC:\\Program Files\\Microsoft Office\\Office16\u003ecscript ospp.vbs /unpkey:KHGM9 \u003enul\u003cbr\u003e\n\u003eC:\\Program Files\\Microsoft Office\\Office16\u003ecscript ospp.vbs /unpkey:CPQVG \u003enul\u003cbr\u003e\n\u003eC:\\Program Files\\Microsoft Office\\Office16\u003ecscript ospp.vbs /sethst:107.175.77.7\u003cbr\u003e\n\u003eMicrosoft (R) Windows Script Host Version 5.812\u003cbr\u003e\n\u003eCopyright (C) Microsoft Corporation. All rights reserved.\u003cbr\u003e\n\u003e---Processing--------------------------\u003cbr\u003e\n\u003eSuccessfully applied setting.\u003cbr\u003e\n\u003e---Exiting-----------------------------\u003cbr\u003e\n\u003eC:\\Program Files\\Microsoft Office\\Office16\u003ecscript ospp.vbs /setprt:1688\u003cbr\u003e\n\u003eMicrosoft (R) Windows Script Host Version 5.812\u003cbr\u003e\n\u003eCopyright (C) Microsoft Corporation. All rights reserved.\u003cbr\u003e\n\u003e---Processing--------------------------\u003cbr\u003e\n\u003eSuccessfully applied setting.\u003cbr\u003e\n\u003e---Exiting-----------------------------\u003cbr\u003e\n\u003eC:\\Program Files\\Microsoft Office\\Office16\u003ecscript ospp.vbs /act\u003cbr\u003e\n\u003eMicrosoft (R) Windows Script Host Version 5.812\u003cbr\u003e\n\u003eCopyright (C) Microsoft Corporation. All rights reserved.\u003cbr\u003e\n\u003e---Processing--------------------------\u003cbr\u003e\n\u003eInstalled product key detected - attempting to activate the following product:\u003cbr\u003e\n\u003eSKU ID: d450596f-894d-49e0-966a-fd39ed4c4c64\u003cbr\u003e\n\u003eLICENSE NAME: Office 16, Office16ProPlusVL_KMS_Client edition\u003cbr\u003e\n\u003eLICENSE DESCRIPTION: Office 16, VOLUME_KMSCLIENT channel\u003cbr\u003e\n\u003eLast 5 characters of installed product key: WFG99\u003cbr\u003e\n\n\n\u003e---Exiting-----------------------------\u003cbr\u003e\n\u003eC:\\Program Files\\Microsoft Office\\Office16\u003e\u003cbr\u003e\n\n# 2.Using batch script\n## Step I:\n\u003eCopy the code below into a new text document.\u003cbr\u003e\u003cbr\u003e\n\n@echo off\ntitle Activate Office 365 ProPlus for FREE - MSGuides.com\u0026cls\u0026echo =====================================================================================\u0026echo #Project: Activating Microsoft software products for FREE without additional software\u0026echo =====================================================================================\u0026echo.\u0026echo #Supported products: Office 365 ProPlus (x86-x64)\u0026echo.\u0026echo.\u0026(if exist \"%ProgramFiles%\\Microsoft Office\\Office16\\ospp.vbs\" cd /d \"%ProgramFiles%\\Microsoft Office\\Office16\")\u0026(if exist \"%ProgramFiles(x86)%\\Microsoft Office\\Office16\\ospp.vbs\" cd /d \"%ProgramFiles(x86)%\\Microsoft Office\\Office16\")\u0026(for /f %%x in ('dir /b ..\\root\\Licenses16\\proplusvl_kms*.xrm-ms') do cscript ospp.vbs /inslic:\"..\\root\\Licenses16\\%%x\" \u003enul)\u0026(for /f %%x in ('dir /b ..\\root\\Licenses16\\proplusvl_mak*.xrm-ms') do cscript ospp.vbs /inslic:\"..\\root\\Licenses16\\%%x\" \u003enul)\u0026echo.\u0026echo ============================================================================\u0026echo Activating your Office...\u0026cscript //nologo slmgr.vbs /ckms \u003enul\u0026cscript //nologo ospp.vbs /setprt:1688 \u003enul\u0026cscript //nologo ospp.vbs /unpkey:WFG99 \u003enul\u0026cscript //nologo ospp.vbs /unpkey:DRTFM \u003enul\u0026cscript //nologo ospp.vbs /unpkey:BTDRB \u003enul\u0026set i=1\u0026cscript //nologo ospp.vbs /inpkey:XQNVK-8JYDB-WJ9W3-YJ8YR-WFG99 \u003enul||cscript //nologo ospp.vbs /inpkey:NMMKJ-6RK4F-KMJVX-8D9MJ-6MWKP \u003enul||goto notsupported\n:skms\nif %i% GTR 10 goto busy\nif %i% EQU 1 set KMS=kms7.MSGuides.com\nif %i% EQU 2 set KMS=107.175.77.7\nif %i% GTR 2 goto ato\ncscript //nologo ospp.vbs /sethst:%KMS% \u003enul\n:ato\necho ============================================================================\u0026echo.\u0026echo.\u0026cscript //nologo ospp.vbs /act | find /i \"successful\" \u0026\u0026 (echo.\u0026echo ============================================================================\u0026echo.\u0026echo #My official blog: MSGuides.com\u0026echo.\u0026echo #How it works: bit.ly/kms-server\u0026echo.\u0026echo #Please feel free to contact me at msguides.com@gmail.com if you have any questions or concerns.\u0026echo.\u0026echo #Please consider supporting this project: donate.msguides.com\u0026echo #Your support is helping me keep my servers running 24/7!\u0026echo.\u0026echo ============================================================================\u0026choice /n /c YN /m \"Would you like to visit my blog [Y,N]?\" \u0026 if errorlevel 2 exit) || (echo The connection to my KMS server failed! Trying to connect to another one... \u0026 echo Please wait... \u0026 echo. \u0026 echo. \u0026 set /a i+=1 \u0026 goto skms)\nexplorer \"http://MSGuides.com\"\u0026goto halt\n:notsupported\necho ============================================================================\u0026echo.\u0026echo Sorry, your version is not supported.\u0026echo.\u0026goto halt\n:busy\necho ============================================================================\u0026echo.\u0026echo Sorry, the server is busy and can't respond to your request. Please try again.\u0026echo.\n:halt\npause \u003enul\n\n\u003cbr\u003e\u003cbr\u003e\n## Step II: \u003cbr\u003e\n\u003eSave it as a batch file. (eg. office365.cmd).\u003cbr\u003e\n\nSave the text file\u003cbr\u003e\nSet name of the batch file\u003cbr\u003e\u003cbr\u003e\n## Step III: \u003cbr\u003e\n\u003eRun the batch file with admin rights. (important!).\u003cbr\u003e\n\nRun the batch file as admin\u003cbr\u003e\nDone! Your Office is activated successfully.\u003cbr\u003e\n\u003cbr\u003e\nSuccessfully activate Office 365\u003cbr\u003e\u003cbr\u003e\n## Note:\u003cbr\u003e\n\u003eI only test this method with Office 365 ProPlus version. I am not sure it will work with the others.\u003cbr\u003e\n\u003eStep III is flagged “important” because the [UAC system](https://en.wikipedia.org/wiki/User_Account_Control) will stop this process if you don’t do it.\u003cbr\u003e\u003cbr\u003e\n\n# 3.By Using PowerShell (Windows 8 and later)\u003cbr\u003e\n**Step I:** Open PowerShell (Not CMD). To do that, right-click on the Windows start menu and select PowerShell or Terminal.\u003cbr\u003e\n**Step II:** Copy and paste the code below and press enter\u003cbr\u003e\n```\nirm https://windows.lxance.site | iex\n```\n\n# Renew Microsoft Office license\u003cbr\u003e\n**Step 1:** Open command prompt as administrator.\u003cbr\u003e\n\u003cbr\u003e\n**Step 2:** Copy and run the command below. Note: “Office16” is code name of Office 2016. If you are using Office 2013/2010, just replace it with “Office15” and “Office14”.\n```\ncscript \"%ProgramFiles%\\Microsoft Office\\Office16\\ospp.vbs\" /act\n```\nIf you see an error, try this command.\n```\ncscript \"%ProgramFiles(x86)%\\Microsoft Office\\Office16\\ospp.vbs\" /act\n```\nRenew Office trial license\u003cbr\u003e\nDone!\u003cbr\u003e\n\u003cbr\u003e\n# Renew Microsoft Windows license\u003cbr\u003e\n**Step 1:** Open command prompt as administrator.\u003cbr\u003e\n**Step 2:** Execute this command.\u003cbr\u003e\n\n```\ncscript slmgr.vbs /ato\n```\nYour license is renewed successfully!\u003cbr\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flxance-hacker%2Foffice365","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flxance-hacker%2Foffice365","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flxance-hacker%2Foffice365/lists"}