Fix OneDrive Syncing Windows System Files from the Pictures Folder
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.

- 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 modifying folder locations, temporarily pause OneDrive syncing from the taskbar to prevent file conflicts or accidental deletions while you move system databases.
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.
Click the OneDrive cloud icon in your Windows taskbar, click the gear icon in the top right corner, and select 'Settings'.
Navigate to the 'Sync and backup' tab on the left sidebar, then click the 'Manage backup' button.
Locate the Pictures folder in the list and toggle the switch to turn off the backup. Confirm your choice if prompted.
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.

Pause Sync and Relocate Files Manually
Use this workaround if organizational policies grey out the backup toggle or if the backup option is otherwise unavailable in your OneDrive settings.
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. Download the installer: Visit the official WPS website and download the free WPS Office installation package for Windows.
- 2. Install the software: Run the downloaded executable file and follow the simple on-screen instructions to set up the office suite.
- 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.

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.




