How to exclude folders in the Documents folder from Syncing with Onedrive?

NachtMondVogel 20 Reputation points
2026-09-07T21:09:55.13+00:00

Some games safe their Shadercache in the "MyGames" folder of "Documents". I dont want it to allways safe 1Gb of data that i cant use when i switch to my laptop. Is there any easy fix?

Windows for home | Windows 11 | Files, folders, and storage
0 comments No comments

Answer accepted by question author
EmilyS726 264.5K Reputation points Independent Advisor
2026-09-07T21:48:16.67+00:00

Hello

Unfortunately it is either backing up the entire Documents folder or none of it. Right now it doesn't support selective folders inside the Documents folder.

However, you can first right click on the game folder in Documents folder in File Explorer, choose "always keep on this device". Give it some time to download and turn solid green for that folder. Then turn off the entire Documents folder sync by going to OneDrive Settings > Sync & Backup tab > Manage Backup.

Restart the computer - that should return the entire Documents folder into local path.

For anything moving forward you want to sync to OneDrive, manually save them to C:\users\your username\OneDrive\Documents folder instead.

Was this answer helpful?

1 person found this answer helpful.

1 additional answer

Sort by: Newest
  1. AI answer

    2026-09-07T21:10:10.6733333+00:00

    Yes. The easiest fix is to stop backing up Documents to OneDrive, then keep the game files only on the local PC.

    Steps:

    1. Select the OneDrive cloud icon in the taskbar.
    2. Open Settings.
    3. Go to Sync and Backup or Backup.
    4. Select Manage backup.
    5. Turn off Documents.

    Important:

    • Files may appear to disappear after turning this off, but they are usually still in the OneDrive folder and can be moved back to the local Documents folder.
    • If the game is saving under a path like OneDrive\Documents\My Games, move that game folder to the local Documents folder so it stays on the PC only.

    What cannot be done through normal folder selection:

    • OneDrive folder selection only lets folders already inside OneDrive be checked or unchecked.
    • Documents is one of the important folders that cannot be unchecked there.
    • So excluding only a subfolder inside Documents is not the simple built-in option described here; turning off backup for Documents is the supported workaround in this scenario.

    For game saves specifically, saving under Documents can conflict with OneDrive sync. The recommended local location for game save data is %USERPROFILE%\Saved Games instead of Documents.


    AI-generated content may be incorrect. Read our transparency notes for more information.

    Was this answer helpful?

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.