Cmd Office 365

Once connected, you can manage your tenant. Here are the most common commands used in daily administration:

@echo off cd /d "C:\Program Files\Microsoft Office\Office16" cscript ospp.vbs /dstatus > lic.txt for /f "tokens=6" %%a in ('find "Last 5 characters" lic.txt') do cscript ospp.vbs /unpkey:%%a cscript ospp.vbs /inpkey:XXXXX-XXXXX-XXXXX-XXXXX-XXXXX cscript ospp.vbs /act del lic.txt cmd office 365

Example configuration.xml (install 64-bit, English, exclude Access): Once connected, you can manage your tenant

This method is preferred for custom enterprise deployments. cmd office 365

The ospp.vbs script is the standard tool for managing Office licenses via CMD. It is typically located in: : C:\Program Files\Microsoft Office\Office16

Use . Steps:

Top