OneDrive File Issues

Fix OneDrive Selecting the Entire File Name When Renaming

Nimra MalikNimra Malik Oct 19, 2026 868 views

Question details

Users experience a bug where attempting to select only a part of a file or folder name in OneDrive causes the entire name to be highlighted after a short delay.

How to Fix OneDrive Selecting the Entire File or Folder Name When Renaming
Product
Microsoft OneDrive
Device & OS
not provided
Scenario
Renaming files or folders stored within a synced OneDrive directory.
Observed behavior
The text selection unexpectedly jumps to highlight the entire file or folder name, preventing the user from easily editing just a specific part of the name. This does not happen with local files.
Before you start

Ensure that your internet connection is stable, as synchronization delays can sometimes cause erratic file explorer behavior. Temporarily pause any heavy file transfers to see if the renaming issue resolves immediately.

Solution 1Recommended

Sign Out and Restart OneDrive Synchronization

Refreshing the connection to OneDrive often resolves temporary synchronization glitches affecting Windows File Explorer.

1
Open OneDrive settings

Right-click the OneDrive cloud icon in your system tray (taskbar) and click on the gear icon or 'Settings'.

2
Unlink this PC

Go to the 'Account' tab and click the 'Unlink this PC' link. Confirm the action to sign out of your account.

3
Restart the computer

Restart your computer to clear any lingering background processes related to the file selection bug.

4
Sign back in

Open OneDrive from the Start menu, sign in with your Microsoft account credentials, and allow the files to finish synchronizing before attempting to rename them again.

Sign Out and Restart OneDrive Synchronization
Free Microsoft Office alternative

Manage and Edit Your Files Easily with WPS Office

If you are experiencing ongoing issues with Microsoft file management and syncing, consider switching to WPS Office. It provides a lightweight, highly compatible alternative for document creation and comes with its own reliable built-in cloud storage solution for file synchronization.

Seamlessly view and edit Microsoft Word, Excel, and PowerPoint file formats without compatibility issues.Avoid File Explorer glitches with WPS Office's built-in robust file and cloud management.Enjoy a lightweight application installation that consumes minimal system resources.Access files anywhere with smooth cross-platform synchronization across Windows, Mac, Linux, iOS, and Android.
microsoft office alternative - wps office

Frequently Asked Questions

Why does OneDrive keep resetting my text selection when renaming?

This usually happens because the OneDrive synchronization process refreshes the file's metadata in the background. When Windows File Explorer receives this refresh signal, it resets the active text field, causing the entire name to be highlighted again.

Will unlinking my PC delete my OneDrive files?

No, unlinking your PC simply stops the synchronization process and signs you out. Your files remain safely stored in the cloud and on your local hard drive. They will sync again once you sign back in.

Does this renaming bug affect local files not stored in OneDrive?

No, this issue is specifically tied to OneDrive's synchronization behavior. Files stored in purely local directories outside the synced OneDrive folder can be renamed normally without the text selection jumping.

How can I temporarily bypass this bug without resetting OneDrive?

You can temporarily bypass the issue by pausing OneDrive syncing. Click the OneDrive icon in the taskbar, click the gear icon, select 'Pause syncing', choose a time frame, and then rename your files.