logo
search
OneDrive File Issues

How to Exclude Specific Files from OneDrive Photos Section

Algirdas JasaitisAlgirdas Jasaitis Oct 10, 2026 870 views

Question details

The user wants to hide or exclude certain image files from appearing in the OneDrive Photos section without removing them from their OneDrive account.

How to Exclude Specific Files from the OneDrive Photos Section
Product
Microsoft OneDrive
Device & OS
not provided
Scenario
Managing synced folders containing image files that are automatically aggregated and displayed in the cloud's Photos view.
Observed behavior
OneDrive automatically identifies all image files (such as JPEG and PNG) across synced folders and displays them in the Photos section, with no native setting to exclude selected files or folders.
Before you start

Keep in mind that OneDrive is designed to aggregate all compatible image files by default. If you have highly sensitive images, it is best to move them to a completely different local directory or an encrypted location before adjusting any OneDrive settings.

Solution 1Recommended

Move Sensitive Files Outside of the OneDrive Directory

Since OneDrive does not allow excluding specific synced folders from the Photos view, the most reliable method is to store sensitive images outside of your OneDrive sync folders.

Because OneDrive scans every synced folder for image formats like JPEGs and PNGs, leaving images in the OneDrive folder guarantees they will appear in the Photos tab. Moving them to an un-synced local folder prevents this behavior completely.

1
Create a local folder

Open File Explorer or Finder and create a new folder on your local drive that is outside of the main OneDrive directory (e.g., C:\PrivateImages on Windows).

2
Relocate the images

Navigate to your OneDrive folder, select the specific image files or folders you want to hide, and move them to the newly created local folder.

3
Verify removal

Open OneDrive online or your mobile app, navigate to the Photos section, and verify that those specific images no longer appear in the timeline.

Move Sensitive Files Outside of the OneDrive Directory
Data Backup: Remember that files moved out of OneDrive will no longer be backed up to the cloud automatically. You will need a separate backup strategy for these local files.
Free Microsoft Office alternative

Manage Your Documents Efficiently with WPS Office

If you find Microsoft cloud integrations too restrictive or difficult to customize, consider switching to WPS Office. It provides a lightweight, highly compatible, and free alternative to Microsoft Office, giving you full control over how and where your documents are saved.

  1. 1. Download the software: Visit the official WPS Office website and download the free installation package for your operating system.
  2. 2. Install and launch: Run the installer, follow the on-screen instructions, and launch WPS Office.
  3. 3. Open existing files: Simply drag and drop your existing Microsoft Word, Excel, or PowerPoint files into WPS Office to continue working seamlessly.
Fully compatible with Microsoft Office formats (DOCX, XLSX, PPTX)Lightweight installation with fast document loading speedsBuilt-in cloud storage options with customizable and predictable file syncingFree to use with a familiar, user-friendly interface requiring no learning curve
microsoft office alternative - wps office

Frequently Asked Questions

Can I permanently hide a specific folder from OneDrive Photos?

No, Microsoft OneDrive does not currently offer a supported feature to permanently hide or exclude specific folders from the Photos view while keeping them synced in the cloud.

Why do random graphic assets appear in my OneDrive Photos?

OneDrive automatically scans all synced folders and aggregates any recognizable image formats (such as JPEGs, PNGs, or app assets) into the Photos section, regardless of the folder they are stored in.

Will deleting a picture from the Photos section delete it from my OneDrive folders?

Yes. The Photos section is just a visual aggregation of the images stored in your folders. Deleting an image from the Photos view will also delete the source file from your OneDrive storage.

Does moving pictures to a hidden folder exclude them from Photos?

No. Even if you mark a folder as 'Hidden' using your computer's operating system settings, OneDrive's cloud service will still detect the image files and display them in the online Photos section.