Skip to content

Instantly share code, notes, and snippets.

@SethCalkins
Forked from giordanocardillo/README.MD
Created February 7, 2018 14:19
Show Gist options
  • Save SethCalkins/c50a1b9f29c21757714801442dbeb5f5 to your computer and use it in GitHub Desktop.
Save SethCalkins/c50a1b9f29c21757714801442dbeb5f5 to your computer and use it in GitHub Desktop.
Remove Office 2016 Product Key
  1. Open a command prompt as Administrator
  2. 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.

c1fa53a7-7749-4294-b4cc-8b8f6a22b528.png 4. You can use the last 5 characters of the Product Key to remove it using command:

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

    cscript "C:\Program Files\Microsoft Office\Office16\OSPP.VBS" /unpkey:<LAST 5 CHARACTERS>

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

    cscript "C:\Program Files (x86)\Microsoft Office\Office16\OSPP.VBS" /unpkey:<LAST 5 CHARACTERS>

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

    cscript "C:\Program Files\Microsoft Office\Office16\OSPP.VBS" /unpkey:<LAST 5 CHARACTERS>

  1. Enjoy!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment