OneDrive File Issues

Fix OneDrive Folder Cannot Be Created in Selected Location

Camila MilosovichCamila Milosovich Nov 13, 2026 873 views

Question details

The user needs to resolve the OneDrive error stating that a folder cannot be created in the selected location, which may be caused by a damaged OneDrive installation, leftover OneDrive files, or security software blocking synchronization.

Fix OneDrive Folder Cannot Be Created in Selected Location
Product
Microsoft OneDrive
Device & OS
Windows
Scenario
A user is setting up or syncing OneDrive on a Windows PC and wants to create or use a OneDrive folder in a selected location.
Observed behavior
OneDrive displays the error "folder cannot be created in selected location" and synchronization stops, preventing the folder from being created.
Before you start

Before reinstalling or changing folders, make sure OneDrive is fully closed, and check whether antivirus or ransomware protection is currently blocking OneDrive. Note the OneDrive folder location you want to use so you can test the fix afterward.

Solution 1Recommended

Reinstall OneDrive and Remove Leftover Files

Use this solution when the OneDrive installation is damaged, uninstall fails, or leftover files prevent a clean setup.

A damaged OneDrive installation or leftover files often causes this error. Reinstalling gives you a clean sync client while keeping your existing files.

1
Close OneDrive and open Apps settings

Right-click the OneDrive icon in the notification area and select Exit. Press Windows + I to open Settings, then go to Apps > Installed apps.

2
Uninstall Microsoft OneDrive

Find Microsoft OneDrive, select it, and choose Uninstall. If uninstall fails or nothing happens, continue with manual cleanup.

3
Remove leftover OneDrive files

Open File Explorer and paste %localappdata%\Microsoft\OneDrive\ into the address bar. Delete the contents, then check C:\Program Files (x86)\Microsoft OneDrive\ and remove leftover items if present.

4
Install the latest OneDrive version

Download the latest OneDrive setup from the official Microsoft page, run it as administrator, sign in again, and test creating the folder in the selected location.

Reinstall OneDrive and Remove Leftover Files
Clean installation completed: After reinstalling OneDrive, the folder can usually be created in the selected location without the previous sync error.
Free Microsoft Office alternative

Switch to WPS Office for Lightweight Document Work Without OneDrive Sync Errors

If OneDrive sync issues keep interrupting your work, WPS Office offers a free, lightweight Office suite that reads and writes Microsoft Word, Excel, PowerPoint, and PDF files with a familiar ribbon interface. You can save files locally or use your preferred cloud service without OneDrive folder restrictions.

Avoid OneDrive folder creation errors by saving documents locally or to any cloud drive you chooseFull compatibility with Microsoft Word, Excel, PowerPoint, and PDF formatsFree, lightweight suite with a familiar Office-style interface and tabbed documentsFast installation and easy migration from Microsoft Office without losing formatting
microsoft office alternative - wps office

Frequently Asked Questions

Why does OneDrive keep saying “folder cannot be created in selected location”?

The error is usually caused by a damaged OneDrive installation, leftover OneDrive files, or antivirus and antimalware software blocking synchronization. Reinstall OneDrive or add OneDrive as an allowed app in your security software.

Can I fix the OneDrive folder error by renaming the existing OneDrive folder?

Yes. Open File Explorer and go to C:\Users\YourUserName\, rename the OneDrive folder to BK-OneDrive, then restart OneDrive and sign in again to reset synchronization.

How do I remove leftover OneDrive files after uninstall?

Open File Explorer and paste %localappdata%\Microsoft\OneDrive\ into the address bar, delete the contents, and also check C:\Program Files (x86)\Microsoft OneDrive\ for leftover items.

Do I need to uninstall OneDrive before installing the latest version?

If normal uninstall works, uninstall OneDrive first. If uninstall fails or nothing happens, manually delete the leftover OneDrive files from the local app data and Program Files folders, then install the latest version.

Can WPS Office fix OneDrive sync errors?

WPS Office cannot repair Microsoft OneDrive, but it offers a free alternative for editing Word, Excel, PowerPoint, and PDF files locally or through another cloud service, without OneDrive folder restrictions.