Sunday, June 9, 2024

MS Activation

 

Run CMD as administrator 
 
cd "C:\Program Files\Microsoft Office\Office16"
cscript ospp.vbs /sethst:kms.digiboy.ir
cscript ospp.vbs /act
 
 
slmgr /skms kms.digiboy.ir
slmgr /ato 
 
Windows Server 2019 Datacenter:
slmgr /ipk WMDGN-G9PQG-XVVXX-R3X43-63DFG
slmgr /skms kms.digiboy.ir
slmgr /ato

Windows Server 2019 Standard:
slmgr /ipk N69G4-B89J2-4G8F4-WWYCC-J464C
slmgr /skms kms.digiboy.ir
slmgr /ato
 
-----------------
 
## Find Available Target Editions
DISM.exe /Online /Get-TargetEditions

## Convert Server Standard 2019 Evaluation to Server Standard 2019
DISM /online /Set-Edition:ServerStandard /ProductKey:N69G4-B89J2-4G8F4-WWYCC-J464C /AcceptEula

## How To Activate
slmgr /ipk XXXXX-XXXXX-XXXXX-XXXXX-XXXXX
slmgr /skms [server]:[port]
slmgr /ato
slmgr /dlv

## Licence Key
Windows Server 2022 Standard VDYBN-27WPP-V4HQT-9VMD4-VMK7H
Windows Server 2022 Datacenter WX4NM-KYWYW-QJJR4-XV3QB-6VM33

Windows Server 2019 Standard N69G4-B89J2-4G8F4-WWYCC-J464C
Windows Server 2019 Datacenter WMDGN-G9PQG-XVVXX-R3X43-63DFG
Windows Server 2019 Essentials WVDHN-86M7X-466P6-VHXV7-YY726

Windows Server 2016 Standard WC2BQ-8NRM3-FDDYY-2BFGV-KHKQY
Windows Server 2016 Datacenter CB7KF-BWN84-R7R2Y-793K2-8XDDG
Windows Server 2016 Essentials JCKRF-N37P4-C2D82-9YXRT-4M63B

Windows Server 2012 R2 Standard DBGBW-NPF86-BJVTX-K3WKJ-MTB6V
Windows Server 2012 R2 Standard D2N9P-3P6X9-2R39C-7RTCD-MDVJX

Windows Server 2012 R2 Datacenter Y4TGP-NPTV9-HTC2H-7MGQ3-DV4TW
Windows Server 2012 R2 Datacenter W3GGN-FT8W3-Y4M27-J84CP-Q3VJ9

Windows Server 2012 R2 Essentials K2XGM-NMBT3-2R6Q8-WF2FK-P36R2
Windows Server 2012 R2 Essentials KNC87-3J2TX-XB4WP-VCPJV-M4FWM

Windows 10/11 Pro W269N-WFGWX-YVC9B-4J6C9-T83GX
Windows 10/11 Pro N MH37W-N47XK-V7XM9-C7227-GCQG9
Windows 10/11 Pro Education 6TP4R-GNPTD-KYYHQ-7B7DP-J447Y
Windows 10/11 Pro Education N YVWGF-BXNMC-HTQYQ-CPQ99-66QFC
Windows 10/11 Education NW6C2-QMPVW-D7KKK-3GKT6-VCFB2
Windows 10/11 Education 2WH4N-8QGBV-H22JP-CT43Q-MDWWJ
Windows 10/11 Enterprise NPPR9-FWDCX-D2C8J-H872K-2YT43
Windows 10/11 Enterprise N DPH2V-TTNVB-4X9Q3-TJR4H-KHJW4

Windows 10 Enterprise LTSB 2016 DCPHK-NFMTC-H88MJ-PFHPY-QJ4BJ
Windows 10 Enterprise N LTSB 2016 QFFDN-GRT3P-VKWWX-X7T3R-8B639

Windows 10 Enterprise LTSC 2019/2021 M7XTQ-FN8P6-TTKYV-9D4CC-J462D
Windows 10 Enterprise N LTSC 2019/2021 92NFX-8DJQP-P6BBQ-THF9C-7CG2H

## Online KMS Server Host Address
* kms8.msguides.com
* kms.digiboy.ir
* kms.ddns.net
* kms.shuax.com
* kensol263.imwork.net:1688
* kms789.com
* dimanyakms.sytes.net:1688
* kms.03k.org:1688
* 54.223.212.31
* kms.cnlic.com
* hq1.chinancce.com
* kms.chinancce.com
* franklv.ddns.net
* k.zpale.com
* m.zpale.com
* mvg.zpale.com
* xykz.f3322.org
 
-------------------
 
DISM /Online /Get-TargetEditions
 
DISM /online /Set-Edition:ServerStandard /ProductKey:XXXXX-XXXXX-XXXXX-XXXXX-XXXXX /AcceptEula
 
-----------------------------------------------
 
cd /d %ProgramFiles%\Microsoft Office\Office16
cd /d %ProgramFiles(x86)%\Microsoft Office\Office16
 
for /f %x in ('dir /b ..\root\Licenses16\proplusvl_kms*.xrm-ms') do cscript ospp.vbs /inslic:"..\root\Licenses16\%x"
 
cscript ospp.vbs /inpkey:XQNVK-8JYDB-WJ9W3-YJ8YR-WFG99
cscript ospp.vbs /unpkey:BTDRB >nul
cscript ospp.vbs /unpkey:KHGM9 >nul
cscript ospp.vbs /unpkey:CPQVG >nul
cscript ospp.vbs /sethst:107.175.77.7
cscript ospp.vbs /setprt:1688
cscript ospp.vbs /act   
 
-------------------------
CCreate .cmd batch
 
@echo off
title Activate Office 365 ProPlus for FREE - MSGuides.com&cls&echo =====================================================================================&echo #Project: Activating Microsoft software products for FREE without additional software&echo =====================================================================================&echo.&echo #Supported products: Office 365 ProPlus (x86-x64)&echo.&echo.&(if exist "%ProgramFiles%\Microsoft Office\Office16\ospp.vbs" cd /d "%ProgramFiles%\Microsoft Office\Office16")&(if exist "%ProgramFiles(x86)%\Microsoft Office\Office16\ospp.vbs" cd /d "%ProgramFiles(x86)%\Microsoft Office\Office16")&(for /f %%x in ('dir /b ..\root\Licenses16\proplusvl_kms*.xrm-ms') do cscript ospp.vbs /inslic:"..\root\Licenses16\%%x" >nul)&(for /f %%x in ('dir /b ..\root\Licenses16\proplusvl_mak*.xrm-ms') do cscript ospp.vbs /inslic:"..\root\Licenses16\%%x" >nul)&echo.&echo ============================================================================&echo Activating your Office...&cscript //nologo slmgr.vbs /ckms >nul&cscript //nologo ospp.vbs /setprt:1688 >nul&cscript //nologo ospp.vbs /unpkey:WFG99 >nul&cscript //nologo ospp.vbs /unpkey:DRTFM >nul&cscript //nologo ospp.vbs /unpkey:BTDRB >nul&set i=1&cscript //nologo ospp.vbs /inpkey:XQNVK-8JYDB-WJ9W3-YJ8YR-WFG99 >nul||cscript //nologo ospp.vbs /inpkey:NMMKJ-6RK4F-KMJVX-8D9MJ-6MWKP >nul||goto notsupported
:skms
if %i% GTR 10 goto busy
if %i% EQU 1 set KMS=kms7.MSGuides.com
if %i% EQU 2 set KMS=107.175.77.7
if %i% GTR 2 goto ato
cscript //nologo ospp.vbs /sethst:%KMS% >nul
:ato
echo ============================================================================&echo.&echo.&cscript //nologo ospp.vbs /act | find /i "successful" && (echo.&echo ============================================================================&echo.&echo #My official blog: MSGuides.com&echo.&echo #How it works: bit.ly/kms-server&echo.&echo #Please feel free to contact me at msguides.com@gmail.com if you have any questions or concerns.&echo.&echo #Please consider supporting this project: donate.msguides.com&echo #Your support is helping me keep my servers running 24/7!&echo.&echo ============================================================================&choice /n /c YN /m "Would you like to visit my blog [Y,N]?" & if errorlevel 2 exit) || (echo The connection to my KMS server failed! Trying to connect to another one... & echo Please wait... & echo. & echo. & set /a i+=1 & goto skms)
explorer "http://MSGuides.com"&goto halt
:notsupported
echo ============================================================================&echo.&echo Sorry, your version is not supported.&echo.&goto halt
:busy
echo ============================================================================&echo.&echo Sorry, the server is busy and can't respond to your request. Please try again.&echo.
:halt
pause >nul 
 
-- 
 

Office 2021

Method 1: Using my command line

Step 1.1: Open cmd program with administrator rights.

  • First, you need to open cmd in the admin mode, then run all commands below one by one.

Step 1.2: Get into the Office directory in cmd.

  • For x86 and x64
cd /d %ProgramFiles(x86)%\Microsoft Office\Office16 cd /d %ProgramFiles%\Microsoft Office\Office16
  • If you install your Office in the ProgramFiles folder, the Office directory depends on the architecture of your OS. If you are not sure of this issue, just run both of the commands above. One of them will be not executed and an error message will be printed on the screen.

Step 1.3: Install Office 2021 volume license.

for /f %x in ('dir /b ..\root\Licenses16\ProPlus2021VL_KMS*.xrm-ms') do cscript ospp.vbs /inslic:"..\root\Licenses16\%x"
  • This step is required. You can not install the KMS client product key of Office without a volume license.

Step 1.4: Activate your Office using the KMS key.

  • Make sure your device is connected to the internet, then run the following commands.
cscript ospp.vbs /setprt:1688 cscript ospp.vbs /unpkey:6F7TH >nul cscript ospp.vbs /inpkey:FXYTK-NJJ8C-GB6DW-3DYQT-6F7TH cscript ospp.vbs /sethst:e8.us.to cscript ospp.vbs /act
  • If 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.

Here is all the text you will get in the command prompt window

C:\Windows\system32>cd /d %ProgramFiles(x86)%\Microsoft Office\Office16 The system cannot find the path specified. C:\Windows\system32>cd /d %ProgramFiles%\Microsoft Office\Office16 C:\Program Files\Microsoft Office\Office16>for /f %x in ('dir /b ..\root\Licenses16\ProPlus2021VL_KMS*.xrm-ms') do cscript ospp.vbs /inslic:"..\root\Licenses16\%x" C:\Program Files\Microsoft Office\Office16>cscript ospp.vbs /inslic:"..\root\Licenses16\ProPlus2021VL_KMS_Client_AE-ppd.xrm-ms" Microsoft (R) Windows Script Host Version 5.812 Copyright (C) Microsoft Corporation. All rights reserved. ---Processing-------------------------- --------------------------------------- Installing Office license: ..\root\licenses16\proplus2021vl_kms_client_ae-ppd.xrm-ms Office license installed successfully. --------------------------------------- ---Exiting----------------------------- C:\Program Files\Microsoft Office\Office16>cscript ospp.vbs /inslic:"..\root\Licenses16\ProPlus2021VL_KMS_Client_AE-ul-oob.xrm-ms" Microsoft (R) Windows Script Host Version 5.812 Copyright (C) Microsoft Corporation. All rights reserved. ---Processing-------------------------- --------------------------------------- Installing Office license: ..\root\licenses16\proplus2021vl_kms_client_ae-ul-oob.xrm-ms Office license installed successfully. --------------------------------------- ---Exiting----------------------------- C:\Program Files\Microsoft Office\Office16>cscript ospp.vbs /inslic:"..\root\Licenses16\ProPlus2021VL_KMS_Client_AE-ul.xrm-ms" Microsoft (R) Windows Script Host Version 5.812 Copyright (C) Microsoft Corporation. All rights reserved. ---Processing-------------------------- --------------------------------------- Installing Office license: ..\root\licenses16\proplus2021vl_kms_client_ae-ul.xrm-ms Office license installed successfully. --------------------------------------- ---Exiting----------------------------- C:\Program Files\Microsoft Office\Office16>cscript ospp.vbs /setprt:1688 Microsoft (R) Windows Script Host Version 5.812 Copyright (C) Microsoft Corporation. All rights reserved. ---Processing-------------------------- --------------------------------------- Successfully applied setting. --------------------------------------- ---Exiting----------------------------- C:\Program Files\Microsoft Office\Office16>cscript ospp.vbs /unpkey:6F7TH >nul C:\Program Files\Microsoft Office\Office16>cscript ospp.vbs /inpkey:FXYTK-NJJ8C-GB6DW-3DYQT-6F7TH Microsoft (R) Windows Script Host Version 5.812 Copyright (C) Microsoft Corporation. All rights reserved. ---Processing-------------------------- --------------------------------------- <Product key installation successful> --------------------------------------- ---Exiting----------------------------- C:\Program Files\Microsoft Office\Office16>cscript ospp.vbs /sethst:e8.us.to Microsoft (R) Windows Script Host Version 5.812 Copyright (C) Microsoft Corporation. All rights reserved. ---Processing-------------------------- --------------------------------------- Successfully applied setting. --------------------------------------- ---Exiting----------------------------- C:\Program Files\Microsoft Office\Office16>cscript ospp.vbs /act Microsoft (R) Windows Script Host Version 5.812 Copyright (C) Microsoft Corporation. All rights reserved. ---Processing-------------------------- --------------------------------------- Installed product key detected - attempting to activate the following product: SKU ID: cd18ecc0-466a-45d4-8d2e-8c4fa48ae591 LICENSE NAME: Office 21, Office21ProPlus2021R_Grace edition LICENSE DESCRIPTION: Office 21, RETAIL(Grace) channel Last 5 characters of installed product key: PG343 ERROR CODE: 0xC004F017 ERROR DESCRIPTION: The Software Licensing Service reported that the license is not installed. --------------------------------------- Installed product key detected - attempting to activate the following product: SKU ID: fbdb3e18-a8ef-4fb3-9183-dffd60bd0984 LICENSE NAME: Office 21, Office21ProPlus2021VL_KMS_Client_AE edition LICENSE DESCRIPTION: Office 21, VOLUME_KMSCLIENT channel Last 5 characters of installed product key: 6F7TH <Product activation successful> --------------------------------------- --------------------------------------- ---Exiting----------------------------- C:\Program Files\Microsoft Office\Office16>

Congratulations! The activation was completed successfully.

 
 
 
 
 

Whatsapp ports

  If you need WhatsApp Voice Calling to work behind a firewall you will need to open the following ports. TCP: 4244,5222,5223,5228,5242 TC...