How to Stop Office 2019 from Connecting to a Former Work Account
Question details
The user needs to stop Office 2019 from constantly trying to connect to a former employer's Microsoft sign-in service in the background.

- Product
- Microsoft Office 2019
- Device & OS
- not provided
- Scenario
- The user is running Office on a personal computer after leaving a job, but the software continues to attempt connections to the old enterprise domain.
- Observed behavior
- Security software, such as Kaspersky, repeatedly detects and reports unauthorized background connection attempts to login.microsoftonline.com.
Ensure you have fully closed all Microsoft Office applications, including Outlook, before attempting to modify or delete account profiles to prevent synchronization errors.
Remove Old Account from the Control Panel Mail Applet
Delete the obsolete work email account directly from the Windows Control Panel to stop background authentication attempts.
Office primarily relies on profiles configured in the system's Mail applet. Removing the outdated account here stops Outlook from pinging the former employer's servers.
Click the Windows Start button, type 'Control Panel' in the search bar, and press Enter.
Change the 'View by' setting in the top right to 'Large icons', then find and click on 'Mail' or 'Mail (Microsoft Outlook)'.
Click on the 'Email Accounts...' button to open the Account Settings dialog.
Under the 'Email' tab, locate the account associated with your former workplace, select it, and click 'Remove'. Restart your computer.

Delete the Obsolete Outlook Profile
If removing the email account doesn't work or the account list is empty, deleting the associated Outlook profile entirely severs the connection.
Disconnect the Account in Windows Settings
Windows itself might be caching the enterprise credentials. Disconnecting the account at the system level resolves stubborn login attempts.
Switch to WPS Office for a Hassle-Free Experience
Tired of dealing with lingering enterprise accounts and constant background login prompts? WPS Office is a lightweight, independent, and free alternative to Microsoft Office. It offers a powerful suite for documents, spreadsheets, and presentations without forcing frustrating enterprise cloud connections.
- 1. Download the Installer: Visit the official WPS website and download the free WPS Office installer.
- 2. Install the Software: Run the setup file and follow the quick on-screen instructions to install the suite.
- 3. Open Your Files: Instantly open and edit your existing Word, Excel, and PowerPoint files without any login roadblocks.

Frequently Asked Questions
Why does my antivirus software keep flagging login.microsoftonline.com?
Security software actively monitors outbound connections. If Office caches an old work account profile, it silently attempts to authenticate in the background to sync data, which triggers an alert from your antivirus or firewall.
What if the Mail applet in Control Panel shows no email accounts or profiles?
If the Mail applet is empty but connections persist, the account is likely linked directly at the Windows OS level. You can resolve this by going to Windows Settings > Accounts > Access work or school, and disconnecting the old account there.
Will removing my old work Outlook profile delete my personal emails?
No. Removing an Outlook profile only deletes the specific configuration, connection settings, and offline cache for that profile. If you have personal emails set up under a different profile, they will remain completely unaffected.




