Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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.

  2. 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!
@MinhNH182

This comment has been minimized.

Copy link

@MinhNH182 MinhNH182 commented Aug 30, 2017

It works pretty well, many thanks 👍

@pere88

This comment has been minimized.

Copy link

@pere88 pere88 commented Nov 7, 2017

Fantastic!

@ialima

This comment has been minimized.

Copy link

@ialima ialima commented Nov 12, 2017

Thanks, thanks, thanks!!! Works perfectly.

@yosefzai

This comment has been minimized.

Copy link

@yosefzai yosefzai commented Jun 11, 2018

It fixed my issue however for some reason now when I access one note it gives me a message that "we didn't find any office product for this account" my email account

@gurkannavruz

This comment has been minimized.

Copy link

@gurkannavruz gurkannavruz commented Jun 18, 2018

You;re great.. thnxx!

@licengkuri

This comment has been minimized.

Copy link

@licengkuri licengkuri commented Sep 22, 2018

thanks working

@Tommasov

This comment has been minimized.

Copy link

@Tommasov Tommasov commented Oct 31, 2018

Thank you

@ghost

This comment has been minimized.

Copy link

@ghost ghost commented Nov 21, 2018

Thank you so much! I don't really know why but I had 4 licenses but I only have a 365 home subscription... I've been able to remove the other ones because of you. Thanks again!

@joanaarantes

This comment has been minimized.

Copy link

@joanaarantes joanaarantes commented May 18, 2019

Working! Problem Solved! Thank you!

@mudabbirali92

This comment has been minimized.

Copy link

@mudabbirali92 mudabbirali92 commented Mar 3, 2020

those who are wandering here to find why my cmd showing "C:>" in advance. So you have to change the directory to installed directory of your ms office. just type cd "your path" then type cscript "OPSS.vbs" /dstatus. Make sure to append spaces as I have mentioned in demo..
Thanks in advance

@cpardanaz

This comment has been minimized.

Copy link

@cpardanaz cpardanaz commented Jun 24, 2020

Great tip!. Thank you.

@vleitzgen

This comment has been minimized.

Copy link

@vleitzgen vleitzgen commented Sep 18, 2020

Hi, worked great, but the old license is coming back again and again and again and I cannot get rid of it this way. Any other idea? Registry?

@sibbieboi

This comment has been minimized.

Copy link

@sibbieboi sibbieboi commented Oct 27, 2020

Hey thank you very much for solving the problem. I specially made an account to thank you. Much Appreciated. Tension released. May god bless you and your family and everyone around you . Much Love. Thanks

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