logo
search
OneDrive File Issues

Keep Files on Computer Without Syncing to OneDrive

Algirdas JasaitisAlgirdas Jasaitis Sep 30, 2026 868 views

Question details

The user wants to keep certain files stored locally on their device but needs to prevent OneDrive from automatically uploading and syncing those specific files to the cloud.

How to Keep Files on Your Computer Without Syncing Them to OneDrive
Product
OneDrive
Device & OS
not provided
Scenario
Managing local file storage to ensure sensitive or device-specific files remain only on the computer without being uploaded to OneDrive.
Observed behavior
Files placed in synchronized folders (like Desktop or Documents) are automatically uploaded. The 'Files On-Demand' feature only manages local storage space for cloud files, rather than excluding local files from uploading.
Before you start

Before making changes, verify which folders on your computer are currently being backed up by OneDrive (typically Desktop, Documents, and Pictures) to understand your current sync scope.

Solution 1Recommended

Move Files Outside the OneDrive Synchronization Folder

The most effective way to keep files strictly on your local computer is to store them in a directory that OneDrive does not monitor or back up.

OneDrive does not offer a direct feature to permanently exclude an individual file from uploading if it resides inside a synced folder. Anything placed in the Desktop, Documents, or Pictures folders (if PC Backup is enabled) will automatically sync. Moving the files to a completely separate local directory prevents this.

1
Create a new local folder

Open File Explorer and navigate to your local 'C:' drive. Right-click an empty space, select 'New' > 'Folder', and name it something like 'Local Projects' or 'Unsynced Files'.

2
Transfer your files

Locate the files you want to keep exclusively on your computer. Cut and paste them from their current synchronized location into the newly created folder on your C: drive.

3
Verify sync status

Check the files in their new location. They should no longer display the OneDrive sync status icons (like a cloud or a green checkmark), indicating they are strictly local.

Move Files Outside the OneDrive Synchronization Folder
Complete Isolation: By keeping files in a dedicated local root folder (e.g., C:\Local Files), you guarantee that no accidental OneDrive updates or sync settings will upload them to the cloud.
Free Microsoft Office alternative

Take Control of Your Local Files with WPS Office

If you are frustrated by forced cloud synchronization and prefer to manage your documents strictly on your local device, WPS Office is an excellent, lightweight alternative. It allows you to create, edit, and save your work directly to your local drives without mandating cloud uploads.

  1. 1. Download the installer: Visit the official WPS Office website and download the free installer for your operating system.
  2. 2. Install the software: Run the setup file and follow the on-screen instructions to install WPS Office on your local machine.
  3. 3. Save files locally: When working on documents, simply use 'Save As' and select any local folder outside of OneDrive to keep your work completely offline.
Save documents strictly to your local hard drive without forced background syncsHighly compatible with Microsoft Word, Excel, and PowerPoint file formatsLightweight installation that does not slow down your deviceFree to download with a familiar, easy-to-use tabbed interface
QA img-9

Frequently Asked Questions

Can I exclude a specific file type from uploading to OneDrive?

No, OneDrive does not currently offer a built-in setting to exclude specific file types (like .tmp or .exe) or individual files from syncing if they are located within a monitored folder.

Does turning on 'Files On-Demand' prevent files from uploading?

No. The Files On-Demand feature only dictates whether files already in the cloud take up physical space on your hard drive. It does not prevent locally created files from being uploaded to OneDrive.

How do I stop OneDrive from automatically syncing my Desktop and Documents?

Open OneDrive Settings, navigate to the 'Sync and backup' tab, and click 'Manage backup'. From there, you can toggle off the backup for your Desktop, Documents, or Pictures folders to stop them from syncing automatically.