logo
search
Activation Problems

How to Fix Microsoft 365 Asking for Expired Account During Activation

Huma Ashraf ChHuma Ashraf Ch Sep 25, 2026 870 views

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.

How to Fix Microsoft 365 Asking for an Expired Account During Activation
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 you start

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.

Solution 1Recommended

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.

1
Clear Windows Credentials

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'.

2
Open Command Prompt as Administrator

Search for 'cmd' in the Start menu, right-click on 'Command Prompt', and choose 'Run as administrator'.

3
Navigate to the Office Directory

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.

4
Find the Expired Product Key

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).

5
Remove the Old License

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'.

6
Reactivate Office

Open Microsoft Word. When prompted, sign in with the email address and password of your current account that holds the active Microsoft 365 subscription.

Clear Obsolete Office Credentials and Remove Old License Keys (Windows)
Tip: If you see multiple old product keys listed when you run the status command, repeat the unpkey step for each one until only your active key remains or the list is empty before signing back in.
Free Microsoft Office alternative

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. 1. Download and Install: Visit the official WPS website, click 'Download', and run the lightweight installer.
  2. 2. Open Your Existing Files: Launch WPS Office and drag and drop your existing .docx, .xlsx, or .pptx files directly into the workspace.
  3. 3. Edit Without Hassle: Start editing your documents immediately without dealing with recurring activation prompts.
Free to use with no mandatory subscription renewals or confusing license keys.Fully compatible with Microsoft Word (.docx), Excel (.xlsx), and PowerPoint (.pptx) formats.Lightweight installation that does not bloat your system registry or credential manager.All-in-one workspace featuring Writer, Presentation, Spreadsheet, and PDF tools in a single window.
microsoft office alternative - wps office

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'.