Forum Discussion

Re: Cache being saved to documents, which gets synced by Onedrive

Also having this issue, I have low bandwidth and slow internet, with no internet development in my area for years to come. This syncing to OneDrive needs to be fixed, it should not be persistently creating reems upon reems of files each game. I am getting disconnected because of the high ping it is causing a lot of the time and making it unplayable with the ping issues. This has been ongoing since the day I purchased and played the game, I have never been able to actually have a decent game of battlefield 2042. This needs to be fixed

3 Replies

  • techb00mer's avatar
    techb00mer
    Seasoned Adventurer
    3 years ago

    Hi everyone,

    So I was getting a little annoyed with this, and decided to see if there was a way to fix this without resorting to un-syncing documents, purposefully creating sync conflicts, or having to pause Onedrive every time I launched the game.

    There may be for some of us, depending on your setup. This is the "official" way from Microsoft to stop certain files from being synchronised. Microsoft doesn't yet allow you to exclude entire folders, but there is a rumor they are working on it.


    NOTE: The second method involves modifying your registry, if you're not comfortable doing this please dont try it. I have linked to the original documentation from Microsoft for reference.

    First method (For Business customers):
    If you are using OneDrive on a business account (Not personal), and have access to Sharepoint admin for your M365 tenant, you can drop a file filter in:
    Block syncing of specific file types - SharePoint in Microsoft 365 | Microsoft Learn

    You wont be able to filter the entire Cache folder itself, but you can drop a filter in for the file extension "PcDx12" which is what the vast majority of the cache files are called. This will stop OneDrive trying to upload them. It can take up to 8 hours for this filter to trickle down to your computer.

    Second method (I haven't tested this as the previous option worked for me):
    Use OneDrive policies to control sync settings - SharePoint in Microsoft 365 | Microsoft Learn
    1. Quit OneDrive (Right click system tray > settings > Quit Onedrive
    2. Open notepad, and paste the following contents in:

    Windows Registry Editor Version 5.00
    
    [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\OneDrive\EnableODIgnoreListFromGPO]
    "*.PcDx12"="*.PcDx12"

    3. Save the file as "cache.reg" and then run/import it into your registry.
    4. Once that is done, empty out your "cache" folder (ie delete everything)

    5. Reboot your computer

    After completing either of the above methods (and waiting up to 8 hours in the first), you should see something like this:

About Battlefield 2042 General Discussion

Discuss the latest news and game information around Battlefield 2042 in the community forums.16,225 PostsLatest Activity: 15 days ago