open cmd run as admin
then check the directory where you can installed your office if your office is in
program files then copy and paste link one else copy and paste link second in the
cmd in order to change the directory in the cmd then paste the licensing in the cmd
after that you can copy the activation code and paste it in to the cmd in the end
press enter and your office will be activated.
(First Code)
cd /d %ProgramFiles%\Microsoft Office\Office16
(Second Code)
cd /d %ProgramFiles(x86)%\Microsoft Office\Office16
(volume licensing)
for /f %x in ('dir /b ..\root\Licenses16\proplusvl_kms*.xrm-ms') do cscript
ospp.vbs /inslic:"..\root\Licenses16\%x"
Activation cmd
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 /act
then press enter