logo
search
Sign-in & Login Problems

How to Remove an Old Account That Keeps Appearing in Microsoft Office

Aamir Naveed AkramAamir Naveed Akram Oct 9, 2026 868 views

Question details

The user needs to permanently remove an old or inactive Microsoft account that repeatedly reappears and automatically signs in when opening Office applications.

How to Remove an Old Account That Keeps Appearing in Microsoft Office
Product
Microsoft Office
Device & OS
Windows
Scenario
Launching or attempting to use Microsoft Office applications on a personal Windows device.
Observed behavior
Microsoft Office applications reopen using an old or inactive account due to cached identity credentials, even after removing account entries from the Windows Credential Manager.
Before you start

Ensure you know the correct email and password for the active Microsoft account you intend to use, and save all your open documents before closing any Office applications.

Solution 1Recommended

Clear Office Identity Cache and Windows Account Settings

Manually deleting cached identity files and disconnecting obsolete accounts from Windows Settings is the most effective way to prevent old accounts from reappearing in Office.

Microsoft Office relies on local cache folders to store authentication tokens. When these tokens are not properly cleared, Office bypasses the standard Credential Manager and restores the old account upon startup.

1
Sign out and close applications

Sign out of every Office account currently logged into your applications, then completely close all Microsoft Office programs including Word, Excel, and PowerPoint.

2
Clear the OneAuth folder

Press Win + R to open the Run dialog, type %localappdata%\Microsoft\OneAuth, and press Enter. Delete all files and folders inside this directory.

3
Clear the IdentityCache folder

Open the Run dialog again (Win + R), type %localappdata%\Microsoft\IdentityCache, and press Enter. Delete the entire contents of this folder.

4
Remove obsolete Windows accounts

Go to Windows Settings > Accounts > Access work or school. Locate any obsolete, old, or inactive accounts listed there and disconnect them.

5
Restart and sign in

Restart your computer. Open any Office application and sign in with your active account. When prompted by Windows, select 'No, sign in to this app only' to prevent the account from being added system-wide.

Clear Office Identity Cache and Windows Account Settings
Repeat if necessary: Sometimes you may need to perform the folder deletion process twice if the old accounts reappear after your first system restart.
Free Microsoft Office alternative

Avoid Account Login Glitches with WPS Office

Tired of dealing with persistent login issues and credential cache bugs in Microsoft Office? Try WPS Office, a free, lightweight, and user-friendly alternative that does not force complex account syncs for offline editing.

  1. 1. Download WPS Office: Visit the official WPS website and download the free WPS Office installer.
  2. 2. Install and launch: Run the installer and open the application in seconds without waiting for background services.
  3. 3. Open your files directly: Double-click your existing Word, Excel, or PowerPoint files to continue working seamlessly without annoying account prompts.
No mandatory cloud logins required to edit or save your local files.Fully compatible with Microsoft Office formats (.docx, .xlsx, .pptx).Lightweight installation that consumes fewer system resources and opens files instantly.Familiar user interface for a seamless transition from Microsoft Office.
microsoft office alternative - wps office

Frequently Asked Questions

Why doesn't clearing the Credential Manager fix the Office login issue?

Microsoft Office uses additional local directories, specifically OneAuth and IdentityCache, to store persistent authentication tokens. If these folders are not manually cleared, Office will continue to restore the old account credentials upon startup regardless of the Credential Manager.

What does the 'No, sign in to this app only' option do?

Selecting this option prevents Windows from applying your login credentials globally across the entire operating system and other apps. It restricts the login strictly to the specific Office application you are using, reducing future caching conflicts.

Will deleting the OneAuth and IdentityCache folders delete my documents?

No. These folders only store temporary authentication tokens for Microsoft accounts. Deleting them simply forces you to log back into your account; your personal files, documents, and settings remain completely safe.

Do I really need to restart my computer after clearing the cache?

Yes. Restarting your computer ensures that all background Microsoft authentication services are completely reset. This prevents active background processes from restoring the deleted cache files from memory.