# How to Check the Microsoft Office License Expiration Date

Today I will guide you How to check the Microsoft Office license expiration date

Step 1: You click “Computer” then you open disk C

Step 2: In search toolbar of disk C, you type “ospp.vbs

You can see the result

Now you have link of Microsoft Office: C:\Program Files\Microsoft Office\Office14

Step 3: You click menu Start then you type “Run” => Enter

Step 4: You type “cmd” => enter to open Command Prompt

Step 5: You type

`cscript "%ProgramFiles%\Microsoft Office\Office14\ospp.vbs" /dstatus`

(link of Microsoft Office you get from step 2)

Example my office:

`cscript "%ProgramFiles% (x86)\Microsoft Office\Office14\ospp.vbs" /dstatus`

Then you enter.

Done.

You can see result:

It’s a year

Summary

I will write these codes to check the license of Office 2010/2013/2016/2019/365 here:

Note:

• On Windows 10 you can copy and paste these codes easily in cmd (open by admin)
• If you use Windows 7/8/8.1, you read this article to know How to Copy and Paste in cmd

If you use Office 2010, your code is

• `cscript "%ProgramFiles% (x86)\Microsoft Office\Office14\ospp.vbs" /dstatus` (for Windows 32 bit)
• `cscript "%ProgramFiles%\Microsoft Office\Office14\ospp.vbs" /dstatus` (for Windows 64 bit)

If you use Office 2013, your code is

• `cscript "%ProgramFiles% (x86)\Microsoft Office\Office15\ospp.vbs" /dstatus` (for Windows 32 bit)
• `cscript "%ProgramFiles%\Microsoft Office\Office15\ospp.vbs" /dstatus` (for Windows 64 bit)

If you use Office 2016, Office 2019, Office 2021 or Office 365, your code is

• `cscript "%ProgramFiles% (x86)\Microsoft Office\Office16\ospp.vbs" /dstatus` (for Windows 32 bit)
• `cscript "%ProgramFiles%\Microsoft Office\Office16\ospp.vbs" /dstatus` (for Windows 64 bit)

If you don’t know your Windows is 32-bit or 64-bit, you type both codes.

I also sell Microsoft Office key (lifetime)