Skip to content

Instantly share code, notes, and snippets.

@Ondra3211
Last active July 21, 2023 08:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save Ondra3211/2707d749e3cb94bffbe77a263d97d42b to your computer and use it in GitHub Desktop.
Save Ondra3211/2707d749e3cb94bffbe77a263d97d42b to your computer and use it in GitHub Desktop.
Office licence informations

Office 2019

  1. In the command prompt, type the following:
  • Office 2019 (32-bit) on a 32-bit version of Windows

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

  • Office 2019 (32-bit) on a 64-bit version of Windows

    cscript "C:\Program Files (x86)\Microsoft Office\Office16\OSPP.VBS" /dstatus

  • Office 2019 (64-bit) on a 64-bit version of Windows

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

  1. You should now get a screen with some license details such as the license name, type and the last 5 characters of the Product Key.

Office 2016

  1. In the command prompt, type the following:
  • Office 2016 (32-bit) on a 32-bit version of Windows

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

  • Office 2016 (32-bit) on a 64-bit version of Windows

    cscript "C:\Program Files (x86)\Microsoft Office\Office16\OSPP.VBS" /dstatus

  • Office 2016 (64-bit) on a 64-bit version of Windows

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

  1. You should now get a screen with some license details such as the license name, type and the last 5 characters of the Product Key.

Office 2013

  1. In the command prompt, type the following:
  • Office 2013 (32-bit) on a 32-bit version of Windows

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

  • Office 2013 (32-bit) on a 64-bit version of Windows

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

  • Office 2013 (64-bit) on a 64-bit version of Windows

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

  1. You should now get a screen with some license details such as the license name, type and the last 5 characters of the Product Key.

Office 2010

  1. In the command prompt, type the following:
  • Office 2010 (32-bit) on a 32-bit version of Windows

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

  • Office 2010 (32-bit) on a 64-bit version of Windows

    cscript "C:\Program Files (x86)\Microsoft Office\Office14\OSPP.VBS" /dstatus

  • Office 2010 (64-bit) on a 64-bit version of Windows

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

  1. You should now get a screen with some license details such as the license name, type and the last 5 characters of the Product Key.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment