Enter your legitimate product key (format: XXXXX-XXXXX-XXXXX-XXXXX-XXXXX ):
cscript ospp.vbs /act
You must point CMD to the folder where Office is installed. The path depends on your version: activar office 365 cmd windows 11 original
cscript ospp.vbs /sethst:kms.yourcompany.com activar office 365 cmd windows 11 original