
In scenarios where all stored credentials (such as domain/tenant migration) must be cleared, clear the additional WAM locations. Open a command prompt as an administrator.
ACTIVATE WINDOWS REGISTRY CLEANER WINDOWS 7 HOW TO
Here's how to find out if a device is DJ, AADJ, HAADJ, or WPJ: These configurations use Web Account Management (WAM), which stores credentials in different locations. In a managed environment, more locations store credentials.ĭevices are considered managed if they're Azure AD Joined (AADJ), Hybrid Azure AD Joined (HAADJ), or Workplace Joined (WPJ). The above steps reset the Office activation for unmanaged devices (Domain Joined aka DJ). Clear Office credentials and activation state for managed devices

Simply download and run the script with elevated privileges. The four steps above can be automated using OLicenseCleanup.vbs. HKEY_USERS\The user's SID\Software\Microsoft\Office\16.0\Common\Identity.HKEY_CURRENT_USER\Software\Microsoft\Office\16.0\Common\Identity.%localappdata%\Microsoft\Office\Licenses (Microsoft 365 Apps for enterprise version 1909 or later).%localappdata%\Microsoft\Office\16.0\Licensing.Office 365 activation tokens and identities HKEY_CURRENT_USER\Software\Microsoft\Protected Storage System Provider.

Remove all Windows credentials listed for Office16 by selecting the drop-down arrow and Remove.Ĭlear the following persisted locations if they exist: Credential Manager Step 3: Remove the stored credentials in Credential Manager

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