Activation command for Office 2024/2021/2019/2016
Open Command Prompt (CMD) with administrator privileges and paste the following command:
----------------
for %a in (4,5,6) do (if exist "%ProgramFiles%\Microsoft Office\Office1%a\ospp.vbs" (cd /d "%ProgramFiles%\Microsoft Office\Office1%a")
if exist "%ProgramFiles(x86)%\Microsoft Office\Office1%a\ospp.vbs" (cd /d "%ProgramFiles(x86)%\Microsoft Office\Office1%a"))&cls
set CID=369430640434639974313920595562300762332486851480
cscript.exe OSPP.vbs /actcid:%CID%
cscript.exe OSPP.vbs /act
Activation command for Windows
Open Command Prompt (CMD) with administrator privileges and paste the following command:
----------------
set CID=369430640434639974313920595562300762332486851480
cscript.exe "%windir%\system32\slmgr.vbs" /atp %CID%
cscript.exe "%windir%\system32\slmgr.vbs" /ato