logo
search
OneDrive File Issues

Fix OneDrive Syncing Windows System Files from the Pictures Folder

Amos GikundaAmos Gikunda Oct 10, 2026 868 views

Question details

The user needs to prevent OneDrive for Business from synchronizing hidden Windows system files located within a Search folder inside the Pictures directory.

How to Stop OneDrive from Syncing Windows System Files in the Pictures Folder
Product
OneDrive for Business
Device & OS
Windows
Scenario
Attempting to unsync the Pictures folder to stop the upload of internal Windows database files like Windows.db.
Observed behavior
OneDrive attempts to sync hidden database files from the Pictures folder, but the folder cannot be easily unsynced because Windows classifies it as an important system folder.
Before you start

Before modifying folder locations, temporarily pause OneDrive syncing from the taskbar to prevent file conflicts or accidental deletions while you move system databases.

Solution 1Recommended

Disable Pictures Folder Backup and Restore Default Location

This is the primary method to detach your Pictures folder from OneDrive and stop it from syncing system databases.

By default, Windows may configure the Pictures folder to back up to OneDrive automatically. Turning off this backup restores the folder to its local state.

1
Access OneDrive settings

Click the OneDrive cloud icon in your Windows taskbar, click the gear icon in the top right corner, and select 'Settings'.

2
Manage folder backups

Navigate to the 'Sync and backup' tab on the left sidebar, then click the 'Manage backup' button.

3
Turn off Pictures backup

Locate the Pictures folder in the list and toggle the switch to turn off the backup. Confirm your choice if prompted.

4
Restore local files

Open File Explorer and move the Windows system files from the OneDrive Pictures folder back to the default local path at C:\Users\<user>\Pictures.

Disable Pictures Folder Backup and Restore Default Location
Verification: Once moved, check the OneDrive sync queue to ensure it is no longer attempting to upload the Windows.db files.
Free Microsoft Office alternative

Manage Your Documents Efficiently with WPS Office

While resolving Windows and OneDrive folder sync issues, consider using WPS Office for your document management. It offers a lightweight, highly compatible alternative to Microsoft Office, ensuring seamless productivity without heavy background syncing issues.

  1. 1. Download the installer: Visit the official WPS website and download the free WPS Office installation package for Windows.
  2. 2. Install the software: Run the downloaded executable file and follow the simple on-screen instructions to set up the office suite.
  3. 3. Save securely: Open any document and use the 'Save As' feature to store files locally or securely in WPS Cloud without triggering OneDrive system file errors.
Fully compatible with Microsoft Word, Excel, and PowerPoint formatsLightweight installation with fast loading times to keep your PC running smoothlyBuilt-in independent cloud storage options that do not conflict with Windows system foldersFree to use with a familiar, user-friendly interface for easy migration
microsoft office alternative - wps office

Frequently Asked Questions

Why does OneDrive try to sync hidden Windows.db files?

When an important folder like Pictures is set to back up to OneDrive, it captures all subfolders and files within it. If Windows stores internal search databases in a subfolder there, OneDrive treats them as regular user files and attempts to sync them.

Can I exclude specific hidden system files from OneDrive syncing?

OneDrive does not currently offer a built-in feature to easily exclude specific file types or hidden system files if they reside inside a folder that is actively being backed up.

What should I do if the option to stop the Pictures backup is greyed out?

If you are using OneDrive for Business, your IT administrator may have forced the backup of known folders. You will need to pause syncing, manually move the problematic system files out of the synced directory, or contact your IT department to adjust the policy.