Office License Removal Tool

Also, as noted above, before using the Office 2010 SP Uninstall Tool, you are strongly encouraged to read the following: For more complete technical details, see 'Microsoft Service Pack Uninstall Tool for Office 2010' in the Apply Updates section of the Office 2010 Resource Kit, which contains additional information on using the tool. The following are situations where you may need to use the CUT Tool for OfficeScan/Apex One: When the OfficeScan agent gets corrupted, you cannot remove it completely using the usual way. If you forget the uninstall password for the OfficeScan agent. The Agent lost the managing server and you cannot remove it without the password.

Download Office License Removal Tool For Mac

-->

This article is written and maintained by Eric Splichal, Support Escalation Engineer and Matt Philipenko, Sr Premier Field Engineer. Best torrent client for nas.

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

Note

To automatically perform all of the checks listed below and run the appropriate scripts needed to reset the activation state, you can download and run the Microsoft Support and Recovery Assistant.

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

Note

If Shared Computer Activation (SCA) is enabled and running, you shouldn't see any product keys installed during the procedure. If you're trying to set up SCA on a computer, make sure to clean up existing keys first.

You can use the ospp.vbs script to remove the Office 365 license. The ospp.vbs script is located in the Program FilesMicrosoft OfficeOffice16 folder. If you installed the 32-bit version of Office on a 64-bit operating system, go to the Program Files (x86)Microsoft OfficeOffice16 folder.

Office License Removal Tool

Important

Before you run the ospp.vbs, ensure that:

  • If you want to run the script on a remote computer, the Windows firewall allows Windows Management Instrumentation (WMI) traffic on the remote computer.
  • The user account you will use is a member of the Administrators group on the computer on which you run the script.
  • You run ospp.vbs script from an elevated command prompt.
  1. In an elevated command prompt, set the correct directory by using one of these commands, based on your Office installation location:

    or

  2. Run the following command:

    The ospp.vbs command generates a report of the licenses currently in use. The output is in this format:

    Note

    The report could include multiple licenses. If the output contains a 'No installed Product Keys' message after you run ospp.vbs /dstatus, skip the section below and go to 'Step 2: Remove cached identities in HKCU registry'.

    Take note of the Last 5 characters of the installed product key.

  3. If a partial product key is returned from /dstatus, run the following command:

    For example:

    Repeat the command until all keys are removed.

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

Note

For Shared Computer Activation (SCA), remove the tokens listed here:%localappdata%MicrosoftOffice16.0Licensing

Step 2: Remove cached identities in HKCU registry

Warning

Follow this section's steps carefully. Incorrect registry entries can cause serious system issues. As a precaution, back up the registry for restoration.

In Registry Editor, locate the following registry:

HKEY_CURRENT_USERSoftwareMicrosoftOffice16.0CommonIdentityIdentities

Remove all 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 listed for Office16 by selecting the drop-down arrow and Remove.

Step 4: Clear persisted locations

Clear the following persisted locations if they exist:

Credential Manager

  • %appdata%MicrosoftCredentials
  • %localappdata%MicrosoftCredentials
  • %appdata%MicrosoftProtect
  • HKEY_CURRENT_USERSoftwareMicrosoftProtected Storage System Provider

Office 365 activation tokens and identities

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

OLicenseCleanup.vbs

The four steps above can be automated using OLicenseCleanup.vbs. Simply download and run the script with elevated privileges. Apowersoft screen recorder microphone not working.

Clear Office credentials and activation state for managed devices

The above steps reset the Office activation for unmanaged devices (Domain Joined aka DJ). In a managed environment, more locations store credentials.

Devices are considered managed if they're Azure AD Joined (AADJ), Hybrid Azure AD Joined (HAADJ), or Workplace Joined (WPJ). These configurations use Web Account Management (WAM), which stores credentials in different locations.

Here's how to find out if a device is DJ, AADJ, HAADJ, or WPJ:

  1. Open a command prompt as an administrator.

  2. Type dsregcmd /status.

    Domain Joined (DJ):

    Azure AD Joined (AADJ):

    Hybrid Azure AD Joined (HAADJ):

    Apowersoft screen recorder crack. Workplace Joined (WPJ):

In scenarios where all stored credentials (such as domain/tenant migration) must be cleared, clear the additional WAM locations.

To clear all WAM accounts associated with Office on the device, download and run the signoutofwamaccounts.ps1 script with elevated privileges.

Note

  • This script will remove tokens and accounts associated with Office, this is a safe operation. Single sign-on (SSO) of other applications will remain untouched, as well as the device state.
  • This script is only compatible with Windows 10 version 1803 and later. If the OS isn't compatible, you'll receive a message saying the tool isn't supported on that version of Windows.
  • Signoutofwamaccounts.ps1 can be ran separately or in conjuction with OLicenseCleanup.vbs. If you place signoutofwamaccounts.ps1 in the same location as OLicenseCleanup.vbs, running only OLicenseCleanup.vbs will also execute Signoutofwamaccounts.ps1.

Clear credentials from Workplace Join

To manually clear Workplace Joined accounts, go to Access Work or School on the device and select Disconnect to remove the device from WPJ.

Office License Removal Tool

To automate WPJ removal, download WPJCleanUp.zip, extract the folder, and run WPJCleanUp.cmd.

Note

This tool removes all SSO accounts in the current Windows logon session. After this operation, all applications in the current logon session will lose SSO state, and the device will be unenrolled from management tools (MDM) and unregistered from the cloud. The next time an application tries to sign in, users will be asked to add the account again.

Additional Information: Plan your hybrid Azure Active Directory join implementation

Learning has never been so easy!

This KB article will walk you though the process of Uninstall Microsoft product trial license or KMS license completely.

5 Steps total

Step 1: Step 1: Open command prompt as administrator.

Open command prompt as administrator.

Windows, Run, CMD /admin or Windows, Run, CMD, right click, and run as Administrator

This will run an elevated command prompt

Step 2: Step 2: Copy/run this command to determine what is the license key you want to remove.

Step 2: Copy/run this command to determine what is the license key you want to remove.

1
cscript '%ProgramFiles%Microsoft OfficeOffice16ospp.vbs' /dstatus

Note: “Office16” is codename of Office 2016. If you are using Office 2010/2013, replace “Office16” with “Office14” or “Office15”.

Step 3: Step 3: Copy and run these commands to remove the license. Note: replace “VMFTK” with the last 5 characters of your product key.

Office License Removal Tool On Mac

Step 3: Copy and run these commands to remove the license. Note: replace “VMFTK” with the last 5 characters of your product key.

1
cscript '%ProgramFiles%Microsoft OfficeOffice16ospp.vbs' /unpkey:VMFTK

If you see an error, try this command.

Office

1
cscript '%ProgramFiles(x86)%Microsoft OfficeOffice16ospp.vbs' /unpkey:VMFTK

Done!

Step 4: Steps to remove your Windows license

Step 1: Open command prompt with admin rights.

Step 5: Step 2: Execute this command.

Step 2: Execute this command.

1
cscript slmgr.vbs /upk&cscript slmgr.vbs /cpky

Done! The license you want to remove is uninstalled successfully.

You should now have the license issue resolved

References

  • MS OFFICE LICENSE REMOVAL PROCESS

Office License Removal Tool Mac

0 Comments