How To Stop OneDrive From Syncing Your Desktop (Before It Copies Your AI Folder)
If you keep your AI folder on your Windows Desktop, OneDrive might be copying it to the internet.
Your notes. Your settings. Your saved logins. To stop it, move the folder into your user folder first. Then turn off the Desktop backup in OneDrive.
A tester caught this inside my own software this week. Here's what we found & how Fred fixed it.
Should an AI folder sit on a Desktop that OneDrive backs up?
No. Not if you can help it.
OneDrive is Microsoft's file backup. It comes on most Windows computers. Microsoft's own page says it can back up your Desktop, Documents & Pictures to the cloud.
That's great for your vacation photos.
It's not great for the folder your AI works out of.
My 1 folder isn't a few documents. I counted it last night. 107,468 files. 7,817 folders. Over 20 million words.
My Claude Code agent reads & writes in that folder all day. I named him Fred.
Every time Fred saves a file, OneDrive wants to copy that file. And some of what lives in an AI folder was never meant to leave your computer.
What does OneDrive copy when your AI folder is on the Desktop?
Everything inside the folder.
For me that's my notes, my settings & the files that tell my tools how to talk to each other. Some of those files hold keys. A key is a password 1 program uses to get into another.
And until this week, my software kept your saved logins inside its own folder too. The logins that keep you signed in to your sites.
I built that software with AI. It's called OwnerActual™. It's my AI command center. 1 window for my links, my numbers, my skills & Fred.
Here's the 12 minute demo. No slides. Just my screen.
That's version 1.0.8. The demo page has the same video. A tester set up OwnerActual™ on his own computer & sent me his notes. 1 of them was about OneDrive.
If OwnerActual™ sat inside a folder OneDrive backs up, OneDrive copied his answers, his settings & his saved logins to the internet.
Nobody would want that. So Fred fixed it.
How did Fred fix it in 1.0.9?
Here are the 2 lines from the 1.0.9 change notes, word for word.
OwnerActual™ now tells you to put its folder in your user folder, the folder with your name on it, so OneDrive does not copy your answers and settings to the internet.
The sign ins that keep you logged in to your sites inside OwnerActual™ now live in a folder outside the OwnerActual™ folder, so OneDrive no longer uploads them.
If your folder already sits inside OneDrive, the START HERE file tells you in plain words. Then it hands you 1 sentence to ask Claude Code.
The move copies your folder out of OneDrive, checks the copy & leaves the old folder alone until you delete it yourself.
That last part matters. You'll see why in a minute.
Where should I keep my Claude Code folder on Windows?
In your user folder. The folder with your name on it.
On most computers that's C:\Users\ and then your name. OneDrive doesn't back that folder up by itself.
Claude Code keeps its own settings in a folder named .claude inside that same user folder. Anthropic's setup page shows how Claude Code installs on Windows.
Your AI folder & Claude Code end up living side by side. Out of OneDrive's way.
How do I check if my folder is inside OneDrive?
Ask Claude Code. Open Claude Code in your folder & type this.
Is this folder inside OneDrive?
If the answer is yes, keep reading before you touch any setting.
Can I move my folder out of OneDrive without losing anything?
Yes. Copy first. Then check the copy. Then turn off the backup.
Here's why the order matters.
When you turn off a folder's backup, Microsoft gives you 2 choices. Keep the files only in OneDrive, which removes them from your computer. Or keep the files only on your PC, which removes them from OneDrive.
Pick the wrong 1 in a hurry & your folder isn't where your AI expects to find your work anymore.
So do it in this order.
Step 1) Ask Claude Code to copy your folder into your user folder & check that every file made it.
Step 2) Open the copy in Claude Code. Ask Claude Code a question only your folder can answer.
Step 3) Leave the old folder alone until you're sure the copy works.
Step 4) Then stop the Desktop backup with Microsoft's steps below.
How do I stop OneDrive from syncing my Desktop?
These are the steps on Microsoft's own page, read on December 5.
Step 1) Click the OneDrive cloud by your clock.
Step 2) Click the Help & Settings icon, then Settings.
Step 3) Open the Sync and backup tab.
Step 4) Click Manage backup.
Step 5) Turn off the toggle for Desktop.
Step 6) Pick where the files stay. Your copy is already safe in your user folder from the steps above.
Microsoft's screens change. If yours look different, Microsoft's page has the newest version.
Why does an AI folder need a home of its own?
Because your AI reads that folder every single day.
Mine is a 1 Folder AI OS. 1 folder, 3 text files at the front & open rooms inside. Fred reads the map before I type a word. Here's how I turned 1 folder into my Claude Code OS.
I teach the folder itself in the free 1 Folder AI OS training.
OwnerActual™ sits on top of that folder. If you want to see OwnerActual™ set up on a computer that had nothing on it, read how 1 file installed Claude Code on Windows.
I'm letting 15 people in first. The early bird deal is on my home page.
Not ready to buy? Grab the free files.