Resolving NinjaTrader Issues with OneDrive

NinjaTrader should not be used with OneDrive as you may see file access violations or other issues when OneDrive tries to sync files to the cloud. We do not recommend deleting bar cache unless directed by a support technician for troubleshooting reasons.

Below are several ways to troubleshoot/remove OneDrive issues. Note that these steps may slightly change as OneDrive updates.

  1. The first suggestion is to disable OneDrive completely, this isn’t necessary, but is one option. You can find the steps to remove OneDrive on Microsoft’s website.
  • The second suggestion is to prevent OneDrive from backing up the My Documents folder. Steps to do this can be found below.
    • Right click the OneDrive icon on the taskbar.
    • Select Settings and choose the Backup Tab.
    • Click on Manage backup and unselect My Documents.
    • Click ok/start backup until you are out of the Settings window.
  • The third suggestion is to stop OneDrive from backing up files while using NinjaTrader. Steps to do this can be found below.
    • Right click the OneDrive icon on the taskbar.
    • Select Pause Syncing and choose from the options of how long you want to pause OneDrive.
    • Once done with NinjaTrader you can un-pause OneDrive Syncing.
  • The fourth suggestion is to temporarily end OneDrive’s sync session. Steps to do this can be found below.
    • Right click the OneDrive icon on the taskbar.
    • Select Close OneDrive.
    • OneDrive will restart automatically during your next session. To be safe, you can check to make sure OneDrive begins resyncing after rebooting your computer.

Leave a Comment

Your email address will not be published. Required fields are marked *

Most Popular NinjaTrader Articles

NinjaTrader Logo

Chart Trader

The Enhanced Chart Trader makes it easy to manage trades in a Chart window by solving many common challenges.

Order Flow

The Impact Order Flow analyzes tick data to create a dynamic display of details that truly impact trading decisions.


We build the best NinjaTrader indicators with years of experience in trading futures and understanding what traders need.

Customer Reviews

I’ve used dozens of different indicators over the years and the ones I’ve gotten from Affordable Indicators are by far my favorite. They’re reliable, they are not resource heavy and, when I have a question, the support is responsive and helpful. Highly recommended!

Brent S.

Futures Trader

Contact Our Team

We would love to hear from you! The best way to reach us is using the circular help button in the bottom right corner of this page.


Are you ready to take NinjaTrader to the next level? Enter your email and get 10% off your first purchase!