How to Rename a OneDrive Folder When It Is Open Elsewhere
Question details
The user is unable to rename a OneDrive for Business folder because the system indicates that the folder or its files are currently open or being used by another application.

- Product
- OneDrive
- Device & OS
- not provided
- Scenario
- Attempting to rename a synchronized OneDrive folder either locally or online.
- Observed behavior
- An error message prevents the renaming process, stating that the folder cannot be renamed because it is open or in use elsewhere.
Ensure that you have saved your progress in any open documents and close all active applications that might be utilizing files within the target OneDrive folder.
Close Local OneDrive and Rename the Folder Online
This is the most effective method. By temporarily exiting the local OneDrive application, you remove any background file locks, allowing you to rename the folder directly via the web browser.
Often, background synchronization processes or invisible file locks on your local computer prevent folder modifications. Renaming the folder in the cloud while the local app is closed bypasses these restrictions.
Right-click the OneDrive cloud icon in your system tray (Windows) or menu bar (Mac), click the gear icon for Help & Settings, and select 'Quit OneDrive' or 'Close OneDrive'.
Open your preferred web browser, navigate to the OneDrive online portal, and sign in with your Microsoft credentials.
Locate the folder you want to rename, right-click it (or click the three-dot menu icon), select 'Rename', type the new name, and save the changes.
Open OneDrive again from your computer's Start menu or Applications folder. Allow a few moments for the newly renamed folder to synchronize to your local file explorer.

Close Active Applications and Rename Locally
Identify and shut down any software that might be secretly holding the folder open, then rename it directly through your file explorer.
Enjoy Seamless Cloud Document Editing with WPS Office
If you frequently encounter file locking and syncing issues with Microsoft Office and OneDrive, consider switching to WPS Office. It is a highly compatible, free, and lightweight alternative that integrates smoothly with various cloud services, ensuring your workflow remains uninterrupted.
- 1. Download WPS Office: Visit the official WPS website and download the free installation package for your operating system.
- 2. Install and Launch: Run the installer and follow the on-screen instructions. Once installed, launch the application to access the all-in-one workspace.
- 3. Open Your Cloud Files: Sign in to your preferred cloud storage directly within WPS Office to open, edit, and save your documents without encountering persistent file-lock errors.

Frequently Asked Questions
Why does OneDrive say my folder is in use when all my apps are closed?
Background processes such as antivirus scans, file indexing services, or hidden OneDrive synchronization tasks might be temporarily accessing the files. Restarting your computer or quitting OneDrive usually clears these hidden locks.
Will renaming a OneDrive folder break shared links?
If you rename a folder that you have shared with others, the existing shared links to the files inside that folder typically remain functional in OneDrive for Business, as links are tied to the file's unique ID rather than its path. However, local file paths for synced users will change.
Can I force rename a folder using third-party unlocking tools?
It is highly discouraged to use third-party file unlockers on active OneDrive directories. Forcing a rename while the sync client is active can lead to synchronization conflicts, duplicated files, or data corruption. Always use the web version or gracefully close the locking application.




