@Poremsky.com

Tips & Tricks for Windows, Office, and Whatever

  • Home
  • Windows
  • Office
  • BlackBerry
  • Web Design
  • WordPress
  • Internet Explorer

Remove Office Licenses from Windows

Published on November 19, 2019 Last reviewed on November 19, 2019

The problem: you had an Office 365 trial version or a subscription and switched to a different subscription or a perpetual license but are always being asked to sign in to activate the old license.

Or you switched from Office 365 Home or Personal subscription to an Office 365 Business subscription but are missing some business features because the license keeps reverting to the Home license.

To fix this, you need to remove the license for the Office version you no longer use. You can use the Support and Recovery Assistant (SaRA) to remove the license or the following steps (which are faster).

The steps below work with 64-bit Windows and 64-bit Office.

  1. Type cmd on the start menu and open the Command prompt when it comes up.
  2. Paste this line in the window (right click to paste)
    cscript "C:\Program Files\Microsoft Office\Office16\OSPP.VBS" /dstatus
  3. The Command windows will list the licenses installed on your computer, showing you the last 5 characters of the product key linked to the license. The subscription version will say 'subscription' in the name. command window displaying the licenses
  4. Paste the next command, replacing the xxxxx with the last 5 characters to remove the subscription license.
    cscript "C:\Program Files\Microsoft Office\Office16\OSPP.VBS" /unpkey:XXXXX
  5. Repeat for each license you want to remove.

For 64-bit Windows and 32-bit Office, use the following commands:

If you have the 32-bit version, you need to use the 32-bit path for Office:
cscript "C:\Program Files (x86)\Microsoft Office\Office16\OSPP.VBS" /dstatus

Use this line to remove the license, replacing the X's with the last 5 characters of the license key.
cscript "C:\Program Files (x86)\Microsoft Office\Office16\OSPP.VBS" /unpkey:XXXXX

You may also have one entry listed as grace edition. You can remove it but it shouldn't cause problems. If you want to remove it, you may need to restart the Command prompt using Run as Administrator first.

MoreĀ Information

How to remove Office license files on a Mac
Unlicensed Product and activation errors in Office

Share this:

  • Facebook
  • LinkedIn
  • Twitter
  • Print
Subscribe
Notify of
8 Comments
Newest
Oldest Most Voted
Inline Feedbacks
View all comments

FUAD
November 27, 2021 12:43 am
#400

GREAT THANKS ! ITS WORK LIKE MAGIC...

0
Reply
Renee Moodie
June 22, 2021 10:30 am
#396

Thank you, thank you. This worked like a charm. I moved from one computer to another, and kept getting the counterfeit message. Annoying since I know I gave Microsoft money! You do need to run the command prompt as administrator though.

Last edited 1 year ago by Renee Moodie
0
Reply
John P
May 25, 2021 11:04 am
#395

What a great post! I found 4 trial licenses on my laptop and this info was just what I needed to get rid of the trial license nag prompts. I never used the trial licenses, so it was a real pain. Thanks .................. JP

0
Reply
Puja
May 5, 2021 6:35 am
#394

Thank you so much, Worked like a charm šŸ™‚

0
Reply
Rich
April 21, 2021 10:44 am
#393

This worked beautifully to fix the counterfeit license error that office was constantly giving me. Note that the YouTube fixit videos that want to change privacy settings don't work. Uninstalling and reinstalling Office didn't work. Also the Microsoft Support and Recovery Assistant didn't fix the problem but your scripts did the trick! I am a licensed Office 365 user who wasted hours try to fix this problem. Thank you so very much!

0
Reply

Recent Posts

  • Change Password or Pin Complexity after removing from Intune
  • Server drafts location is not valid error message
  • What is the Brown File Box Icon on Files in Windows 11?
  • Remove Office Licenses from Windows
  • Add the Recent Items Folder to Windows 10 Quick Access

Recent Comments

  • FUAD on Remove Office Licenses from Windows
  • Brian DuBridge on Add the Recent Items Folder to Windows 10 Quick Access
  • Renee Moodie on Remove Office Licenses from Windows
  • John P on Remove Office Licenses from Windows
  • Puja on Remove Office Licenses from Windows
Privacy & Cookies: This site uses cookies. By continuing to use this website, you agree to their use.
To find out more, including how to control cookies, see here: Cookie Policy

© 2023 · @Poremsky.com

wpDiscuz
Go to mobile version
You are going to send email to

Move Comment