Fix Word or Excel File Name Automatically Changing to User Name
Question details
Users are experiencing a problem where Microsoft Office files automatically change their names to the current user's name upon being opened.

- Product
- Microsoft Word, Microsoft Excel
- Device & OS
- not provided
- Scenario
- Opening and viewing files in Word or Excel, particularly when connected to OneDrive or utilizing third-party add-ins.
- Observed behavior
- The file name automatically changes to the user name without any manual renaming input. This can cause OneDrive sync failures if the user name contains restricted characters like an apostrophe.
Ensure you have administrator privileges on your computer, as fixing this issue may require temporarily disabling background services or modifying Windows Registry settings.
Disable Office Add-ins and Perform a Clean Boot
Faulty add-ins or third-party background programs can interfere with Office file handling. Disabling them helps identify if external software is forcing the rename.
Often, enterprise add-ins or specific document management extensions conflict with native Office saving features, causing unexpected behaviors like automatic renaming.
Open Microsoft Word or Excel. Click on 'File' in the top-left corner, select 'Options', and then click on 'Add-ins' from the left sidebar.
At the bottom of the window, ensure 'COM Add-ins' is selected in the Manage drop-down list and click 'Go'. Uncheck all active add-ins and click 'OK'.
Restart the Office application and open a file to see if the name changes automatically. If the issue stops, re-enable add-ins one by one to find the culprit.
If add-ins are not the cause, press Windows + R, type 'msconfig', and press Enter. Go to the 'Services' tab, check 'Hide all Microsoft services', click 'Disable all', and restart your computer to test Office without third-party interference.

Reset Office User Settings via Registry
Corrupted Office user configurations can trigger unwanted automatic renaming. Resetting the Office registry key forces the application to rebuild default settings.
Try WPS Office for a Stable Document Experience
If Microsoft Office continues to experience file saving glitches and complex registry issues, consider switching to WPS Office. It provides a stable, lightweight environment for processing Word, Excel, and PowerPoint files without the hassle of background synchronization errors.
- 1. Download the Installer: Visit the official WPS Office website and download the free installation package for your operating system.
- 2. Install the Software: Run the downloaded file and follow the simple on-screen instructions to complete the installation.
- 3. Open Your Files: Launch WPS Office and open your existing Word or Excel documents directly to continue your work without saving glitches.

Frequently Asked Questions
Why does OneDrive block saving when the file name changes?
OneDrive cannot synchronize files containing certain restricted characters, such as an apostrophe. If the automatically applied user name includes an apostrophe or special character, OneDrive will block the save process to prevent sync errors.
Does this auto-rename issue happen on personal or work accounts?
This issue can occur on both personal and enterprise work accounts. It is frequently seen in enterprise environments where OneDrive synchronization protocols or specific network management add-ins are active.
What should I do if resetting the registry doesn't fix the problem?
If modifying the registry and disabling add-ins do not resolve the automatic renaming, the issue might be deeply rooted in your account configuration. Record your troubleshooting steps and contact Microsoft Support for advanced diagnostics.




