You are on page 1of 1

Open Command Prompt as an Administrator, type cscript "%ProgramFiles%\Microsoft

Office\Office16\"ospp.vbs /dstatus or cscript "%ProgramFiles(x86)%\Microsoft


Office\Office16\"ospp.vbs /dstatus   (To check 32-bit edition of Office on 64-bit edition of Windows
OS), then  press Enter.
Please find the records related to Office365, pay attention to find out “Last 5 characters of installed
product key: XXXXX” then type cscript "%ProgramFiles%\Microsoft Office\Office16\"ospp.vbs
/unpkey:XXXXX or cscript "%ProgramFiles(x86)%\Microsoft Office\Office16\"ospp.vbs
/unpkey:XXXXX , press Enter. Then check if it works.

You might also like