
In this example, the screen displays the Retail type license. Type cscript ospp.vbs /dstatus, and then press Enter. Type the following command to navigate to the Office folder.Ĭd c:\Program Files (x86)\Microsoft Office\Office16\Ĭd c:\Program Files\Microsoft Office\Office16\ Using the command line to check your license type If a security prompt window is displayed, select Allow. Press Windows logo key+X on your keyboard to open the quick action menu. Office LTSC 2021, Office 2019 and Office 2016

Follow the steps to find your license type and other details about your version of Office.

If you're using a Microsoft 365 product, see View Microsoft 365 licenses and services with PowerShell. To determine whether you have a retail edition or a volume license edition, use one of the following methods, depending on which version of Microsoft Office product you've installed.
