Fix Microsoft Office Stuck on an Expired Enterprise License and Activate Microsoft 365 Personal
Question details
The user cannot switch an Office installation from another person's expired Microsoft 365 Apps for enterprise license to their newly purchased Microsoft 365 Personal subscription because cached license and account information persists after reinstalling Office.

- Product
- Microsoft Office / Microsoft 365
- Device & OS
- not provided
- Scenario
- A user purchased Microsoft 365 Personal but the installed Office remains tied to another person's expired Microsoft 365 Apps for enterprise license.
- Observed behavior
- Office continues to show the expired enterprise license and cached account after reinstallation, preventing activation of the Microsoft 365 Personal subscription.
Close all Office applications and sign in to Windows with an administrator account before running the cleanup script. Have the Microsoft 365 Personal sign-in email and password ready.
Run OLicenseCleanup.vbs to Remove the Expired Office License
Use this when reinstalling Office does not clear the cached enterprise license and you need to activate Microsoft 365 Personal.
The OLicenseCleanup.vbs script removes the expired Microsoft 365 Apps for enterprise license, cached identities, and stored credentials. It does not delete personal documents or Office installation files.
Save your work and close every Office app, including Word, Excel, Outlook, and Teams.
Download the Microsoft OLicenseCleanup.vbs script from the official Microsoft support download page and save it to a folder you can access.
Right-click the downloaded OLicenseCleanup.vbs file, select Run as administrator, and click Yes on the User Account Control prompt.
Let the script remove the expired license, cached identities, and stored credentials. Do not close the window until it completes.
Open Word, go to File > Account, click Sign in, and enter your Microsoft 365 Personal email and password.
Return to File > Account and confirm the product shows Microsoft 365 Personal and Product Activated.

Manually Clear Cached Office Credentials as a Fallback
Use this if you cannot run the cleanup script or if the old account still appears after cleanup.
Avoid Office License Activation Hassles with WPS Office
If recurring Microsoft 365 license issues interrupt your work, WPS Office is a free, lightweight office suite with familiar Word, Excel, PowerPoint, and PDF tools. It opens and saves Microsoft Office formats, so switching is simple without losing your current files.
- 1. Download WPS Office: Go to the WPS official website and download WPS Office for Windows or Mac.
- 2. Install and launch WPS Office: Open the installer, follow the setup prompts, and start WPS Office.
- 3. Open or create Microsoft-compatible files: Use Writer, Spreadsheet, or Presentation to open existing .docx, .xlsx, or .pptx files or create new ones.

Frequently Asked Questions
Why does reinstalling Office not clear the expired enterprise license?
Office activation data can remain in cached licenses, identities, and Windows credential storage even after a reinstall. Run OLicenseCleanup.vbs to remove this data before signing in with Microsoft 365 Personal.
Can I activate Microsoft 365 Personal without removing the old license first?
It is not reliable because Office may continue to read the expired enterprise license and cached account. Remove the old activation data first, then sign in with the personal subscription.
Where do I check the activation status in Word?
Open Word, go to File > Account, and look under Product Information. It should show Microsoft 365 Personal and Product Activated after successful activation.
Will OLicenseCleanup.vbs delete my personal documents?
No, the script removes Office license and credential data. It does not delete personal documents, spreadsheets, presentations, or the Office installation files.
What if Word still asks for the previous account after cleanup?
Open File > Account in Word and sign out of the previous account. Then open Windows Credential Manager, remove MicrosoftOffice or Office16 entries, restart Word, and sign in with Microsoft 365 Personal.




