How to Fix Microsoft 365 Asking for Expired Account During Activation
Question details
The user is unable to successfully activate Microsoft 365 because Office applications keep prompting for the password of an old or expired account, ignoring the new account that has an active subscription.

- Product
- Microsoft 365
- Device & OS
- Windows and Mac
- Scenario
- Activating Office applications after renewing a subscription with a different account or transitioning from an old Microsoft account to a new one.
- Observed behavior
- Word and other Microsoft 365 apps continuously request credentials for the obsolete account. Even after signing out of the old account and signing in with the new one, the activation prompt reverts to the expired account.
Before modifying your license files, ensure you have the exact email address and password for your current active Microsoft 365 account ready, and close all open Office applications.
Clear Obsolete Office Credentials and Remove Old License Keys (Windows)
Use the Windows Credential Manager and Command Prompt to completely strip the old account and license from your system so Office can recognize your new subscription.
Microsoft Office often caches old license keys and login credentials locally on your machine. Simply logging out is sometimes not enough to clear this cache. By using the official Office software protection script (ospp.vbs), you can forcefully remove the hidden product keys tied to your expired account.
Open the Start menu, search for 'Credential Manager', and select it. Click on 'Windows Credentials', locate any entries starting with 'MicrosoftOffice16', click on them, and select 'Remove'.
Search for 'cmd' in the Start menu, right-click on 'Command Prompt', and choose 'Run as administrator'.
Type 'cd C:\Program Files\Microsoft Office\Office16' (without quotes) and press Enter. If you are using 32-bit Office on a 64-bit system, use 'cd C:\Program Files (x86)\Microsoft Office\Office16' instead.
Type 'cscript ospp.vbs /dstatus' and press Enter. This will display all installed Office licenses. Look for the license tied to your old account and note the 'Last 5 characters of installed product key' (e.g., XXXXX).
Type 'cscript ospp.vbs /unpkey:XXXXX' (replace XXXXX with the 5 characters you found) and press Enter. You should see a message stating 'Product key uninstall successful'.
Open Microsoft Word. When prompted, sign in with the email address and password of your current account that holds the active Microsoft 365 subscription.

Remove Office License Files (Mac)
Use Microsoft's official license removal tool for macOS to clear out the old activation data causing the credential loop.
Switch to WPS Office to Avoid Complex Activation Hassles
If Microsoft 365 activation loops and credential caching issues are slowing down your productivity, consider switching to WPS Office. It is a completely free, lightweight alternative that avoids complex account licensing issues while maintaining seamless compatibility with all your existing Microsoft Office files.
- 1. Download and Install: Visit the official WPS website, click 'Download', and run the lightweight installer.
- 2. Open Your Existing Files: Launch WPS Office and drag and drop your existing .docx, .xlsx, or .pptx files directly into the workspace.
- 3. Edit Without Hassle: Start editing your documents immediately without dealing with recurring activation prompts.

Frequently Asked Questions
Why does Microsoft 365 keep reverting to my old account?
Microsoft 365 stores product keys and account credentials deep in the Windows Credential Manager and the system registry. If these cached files are not actively purged, the software will prioritize the older credential tokens over your newly entered login details.
Will removing the old product key delete my personal files?
No. Running the 'ospp.vbs' script or using the Mac License Removal Tool only deletes the hidden activation tokens. Your Word documents, Excel spreadsheets, and OneDrive files will remain entirely untouched and safe.
What if Credential Manager doesn't solve the issue?
If clearing the Credential Manager does not work, the activation loop is likely caused by an orphaned license key left in the Office directory. You must use the Command Prompt (Administrator) to run the 'ospp.vbs /unpkey' command to completely remove the lingering key.
How do I find the correct Office folder in Command Prompt?
The path depends on your installation bit-version. For 64-bit Office on a 64-bit Windows, use 'C:\Program Files\Microsoft Office\Office16'. If you installed the 32-bit version of Office on a 64-bit Windows system, use 'C:\Program Files (x86)\Microsoft Office\Office16'.




