How to Activate Microsoft Office 365 via CMD
1) Please open the Command Prompt (CMD) but run it as “Administrator“.
2) Please execute one of the following commands, depending on where your Microsoft Office 365 installation is located.
cd C:\Program Files (x86)\Microsoft Office\Office16
or
cd C:\Program Files\Microsoft Office\Office163) Convert your Microsoft Office 365 from Retail to Volume License.
for /f %x in ('dir /b ..\root\Licenses16\proplusvl_kms*.xrm-ms') do cscript ospp.vbs /inslic:"..\root\Licenses16\%x"4) Then activate Microsoft Office 365 using the following command.
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:kms8.msguides.com
cscript ospp.vbs /setprt:1688
cscript ospp.vbs /actCongratulations, you will successfully activate Microsoft Office 365 using Command Prompt (CMD). I hope this article can help you. If you need Microsoft Office 365 you can download it through this page.