100% found this document useful (1 vote)
2K views1 page

Activate Microsoft Office via CMD

Uploaded by

amjadalimalik998
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
100% found this document useful (1 vote)
2K views1 page

Activate Microsoft Office via CMD

Uploaded by

amjadalimalik998
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 1

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

You might also like