Digitare:

cscript "C:\Program Files\Microsoft Office\Office15\OSPP.VBS" /dstatus

Otterrete un risultato simile:

SKU ID: cd256150-a898-441f-aac0-9f8f33390e45
LICENSE NAME: Office 15, OfficeHomeBusinessR_Retail edition
LICENSE DESCRIPTION: Office 15, RETAIL channel
LICENSE STATUS:  ---LICENSED---
Last 5 characters of installed product key: X4PXD