Fix SharePoint Automatically Adds a Number to Duplicate File Names
Question details
The user needs to understand why SharePoint adds a number to copied file names and how to restore the "Replace or Keep Both" prompt.

- Product
- Microsoft SharePoint
- Device & OS
- not provided
- Scenario
- Uploading or copying a file into a SharePoint document library where a file with the identical name already exists.
- Observed behavior
- SharePoint bypasses the traditional "Replace or Keep Both" prompt and automatically appends a "1" to the new file's name.
Verify your SharePoint permissions and check if versioning is enabled on your document library before attempting to manually overwrite files.
Submit Feedback on SharePoint Auto-Numbering
Since Microsoft is gradually rolling out this behavior without providing a built-in toggle to disable it, submitting feedback is the official way to request the return of the file replacement prompt.
Microsoft frequently updates SharePoint's file handling behaviors. The removal of the 'Replace or Keep Both' prompt in favor of auto-numbering appears to be a rolled-out feature rather than a bug.
Because there is no administrative setting to revert this change, the most effective course of action is to report how this impacts your workflow directly to Microsoft.
Click on the Settings gear icon or the Help (?) icon in the top right corner of your SharePoint site.
Select the Feedback option and explain that copying a file automatically adds a "1" to the name. Request the restoration of the "Replace or Keep Both" prompt.
Click Send to submit your report directly to the Microsoft development team so they can evaluate user impact.

Manually Overwrite or Manage the Existing File (Workaround)
Use this workaround to manually overwrite files and prevent SharePoint from creating a duplicate with an appended number.
Try WPS Office for Uncomplicated Document Management
If unexpected behaviors in Microsoft SharePoint and Office are slowing down your workflow, consider switching to WPS Office. It offers a highly compatible, fast, and familiar environment for handling all your documents offline and online without forced auto-renaming.
- 1. Download WPS Office: Visit the official WPS website and download the free installation package for your operating system.
- 2. Install the Software: Run the downloaded installer and follow the simple on-screen instructions to set up the suite.
- 3. Open and Manage Files: Launch WPS Office and easily open your existing Microsoft Office documents to start editing with complete formatting compatibility.

Frequently Asked Questions
Why did the 'Replace or Keep Both' prompt disappear in SharePoint?
Microsoft is gradually rolling out an update that defaults to auto-renaming duplicate files by appending a number, which bypasses the traditional manual prompt to improve bulk upload speeds.
Can I disable the auto-numbering feature in SharePoint?
Currently, Microsoft has not provided a built-in toggle or setting in the SharePoint admin center to disable this auto-numbering behavior.
How do I properly overwrite a file in SharePoint now?
To ensure a file is overwritten rather than duplicated with a new number, you should manually delete the older file first or use the Version History feature to upload a new version directly.




