12/26/2021»»Sunday

Mac Microsoft Office License Removal Tool

12/26/2021
-->
  1. Find Microsoft Office License
  2. What Is A Microsoft Office License
  3. Mac Microsoft Office License Removal Tool For Mac
  4. Office Removal Tool For Mac
  5. Buy Microsoft Office License

This article is written and maintained by Matt Philipenko, Sr Premier Field Engineer.

It's very common for users to switch devices or for an enterprise to add or change Microsoft Office 365 tenants. Another scenario is when enterprise organizations roam licenses or credentials to simplify the sign- in process. After an Office 365 user is activated, there are multiple locations that must be cleared to reset the application to a clean state.

Microsoft

Step 1: Remove Office 365 license for subscription -based installations

Note

If Shared Computer Activation (SCA) is enabled and running, you should not see any product keys installed when you follow this procedure. However, if you are trying to set up SCA on a computer, make sure that you first clean up any existing keys.

To remove the Office 365 license, follow these steps:

Mar 19, 2020  Yes, we can do that as long as you have the required license. To remove the current activation, you can use the tool in the following article. How to remove Office license files on a Mac. Download and run the License removal tool to remove all the Office keychain entries. If you're still having issues with activating Office for Mac, please contact Microsoft support. Get support Contact us. Expand your Office skills Explore training. Was this information helpful?

  1. Run the following cscript command:

    Note

    The opss.vbs script is in the Program FilesMicrosoft OfficeOffice16 folder. If you installed the 32-bit version of Office on a 64-bit operating system, the script is in the Program Files (x86)Microsoft OfficeOffice16 folder. Before you run the 'ospp.vbs' command, you may have to change to the correct directory by using one of the following commands, based on your Office versions:

    • cd C:Program Files (x86)Microsoft OfficeOffice16
    • cd C:Program Files/Microsoft Office/Office16

    The 'ospp.vbs' command generates a report of the current licenses that are in use. The output resembles the following example:

    Note

    You might see multiple licenses in the report. However, if the output contains a 'No installed Product Keys' message after you run ospp.vbs /dstatus, you can skip 'Step 2: Remove cached identities in HKCU registry' and go to Step 3.

  2. Note the value for Last 5 characters of installed product key.

  3. Run the following command:

    For example:

    Repeat the command if it is necessary until all keys are removed.

    If the output contains a 'product key uninstall successful' message, you can close the Command Prompt window and go to Step 2.

Step 2: Remove cached identities in HKCU registry

Warning

Find Microsoft Office License

Follow the steps in this section carefully. Serious problems can occur if you modify the registry incorrectly. Before you modify it, back up the registry for restoration in case problems occur.

In Registry Editor, locate the following registry:

HKEY_CURRENT_USERSoftwareMicrosoftOffice16.0CommonIdentityIdentities

Remove all the identities under the Identities registry entry.

Note

If you have Shared Computer Licensing enabled, remove the same identities from the registry HKEY_USERSThe user's SID.

Step 3: Remove the stored credentials in Credential Manager

  1. Open Control Panel > Credential Manager.

  2. Remove all Windows credentials that are listed for Office16. To remove the credentials, select the drop-down arrow and then select Remove.

For Shared Computer Licensing scenarios, you must remove the tokens and identities that are listed as follows:

What Is A Microsoft Office License

Mac

AppdatalocalMicrosoftOffice16.0Licensing

Step 4: Clear persisted locations

Clear the following persisted locations:

Mac Microsoft Office License Removal Tool For Mac

Credential Manager

Office Removal Tool For Mac

  • AppdataRoamingMicrosoftCredentials
  • AppdataLocalMicrosoftCredentials
  • AppdataRoamingMicrosoftProtect
  • HKEY_CURRENT_USERSoftwareMicrosoftProtected Storage System Provider

Office 365 activation tokens and identities

Buy Microsoft Office License

  • AppdatalocalMicrosoftOffice16.0Licensing
  • %localappdata%MicrosoftOfficeLicenses (Microsoft 365 Apps for enterprise version 1909 or later)
  • HKEY_CURRENT_USERSoftwareMicrosoftOffice16.0CommonIdentity
  • HKEY_USERSThe user's SIDSoftwareMicrosoftOffice16.0CommonIdentity

These steps reset the activation state for Microsoft 365 Apps for enterprise. After the locations are cleared, the activation flow will represent an initial activation.

The four steps can be automated by using a script. To do this, copy the following content, save the content as a .vbs file, and then run the .vbs file.