Fix Office Apps Crashing Opening OneDrive Files After Installing Visio
Question details
Users need to resolve an issue where Microsoft Office 365 applications crash immediately when attempting to open files from OneDrive after Visio has been installed.

- Product
- Microsoft 365, OneDrive, Visio
- Device & OS
- Windows
- Scenario
- Opening cloud documents stored in OneDrive following a new Microsoft Visio installation.
- Observed behavior
- Microsoft Office applications unexpectedly crash upon opening OneDrive files, which is often isolated to a specific Windows user profile.
Ensure you have administrative privileges on your Windows PC and save any locally unsynced work before making changes to your Office credentials or repairing applications.
Clear Credentials and Reset OneDrive in Current Profile
Use this solution if testing confirmed the issue is isolated to your current Windows user profile due to corrupted settings or cache.
Often, conflicting authentication tokens or corrupted Office integration data in a single Windows profile causes application crashes. Clearing cached credentials and resetting the OneDrive client can effectively resolve these localized profile conflicts.
Open any Office application like Word, click on your profile picture at the top right, and select 'Sign out'. Next, right-click the OneDrive cloud icon in your system tray, go to Settings, navigate to the Account tab, and select 'Unlink this PC'.
Open the Windows Start menu, search for 'Credential Manager', and open it. Click on 'Windows Credentials' and remove all credentials that start with 'MicrosoftOffice'.
Press Windows Key + R to open the Run dialog. Type '%localappdata%\Microsoft\OneDrive\onedrive.exe /reset' and press Enter. The OneDrive icon will disappear and reappear after a minute or two.
Launch OneDrive and sign back into your account. Then open an Office application and sign back in to refresh your Microsoft 365 authentication.

Run an Online Repair for Microsoft 365
Use this method if resetting credentials and OneDrive did not stop the application crashes.
Match Visio and Microsoft 365 Installation Types
Check your installation types if you recently purchased or installed a standalone version of Visio alongside Microsoft 365.
Experience Crash-Free Document Editing with WPS Office
If Microsoft Office applications continue to crash or conflict with other software like Visio, consider switching to WPS Office. It provides a lightweight, stable, and completely free alternative that seamlessly integrates with your existing cloud workflows without complex installation conflicts.
- 1. Download the Installer: Visit the official WPS Office website and click the free download button to get the lightweight installer.
- 2. Install WPS Office: Run the downloaded file and follow the brief setup wizard to install the suite on your Windows PC.
- 3. Open and Edit Seamlessly: Launch WPS Office and immediately start opening your cloud or local documents with full format compatibility.

Frequently Asked Questions
Why does installing Visio cause my other Office apps to crash?
Installing Visio might introduce conflicting Office integration data, especially if the installation types are mismatched (e.g., mixing MSI and Click-to-Run installations), leading to crashes when accessing cloud files in OneDrive.
How do I test if my Windows user profile is corrupted?
You can verify this by creating a new local administrator account in Windows settings. Log into the new profile, set up OneDrive, and try opening a file. If it opens normally without crashing, the issue is tied to your original profile's settings or cache.
Will resetting OneDrive delete any of my synced files?
No, running the reset command for Microsoft OneDrive only clears the sync settings and re-establishes the connection. You will not lose any personal data or documents, though a full sync check will take place immediately afterward.




