Hello,
The error you’re seeing in OneNote after moving the folder is expected behavior. OneNote notebooks are not simple file containers; they are bound to a specific path and sync relationship. When you manually move the OneNote folder, the application loses track of the internal notebook IDs and the cached sync metadata. Even if you move the folder back, the metadata mismatch remains, which is why you’re still seeing “We can’t access this section file or attached file because the file was moved” with error code 0x2 bdf5f.
The supported way to relocate OneNote data is through OneNote itself or by using OneDrive/SharePoint sync, not by manually moving the folder in File Explorer. Once the notebook path is broken, OneNote cannot re‑bind it automatically. The fix is to re‑open the notebook from its original source location (OneDrive, SharePoint, or local path) and let OneNote rebuild the sync relationship. If the notebook was originally stored in OneDrive, go to OneNote > File > Open > Open from OneDrive, and select the notebook. If it was local, open the .one or .onetoc2 file from the correct folder path.
If you have unsynced changes in the broken notebook, you can export them manually. In OneNote, go to File > Export, and export the affected sections to .onepkg or .pdf. Then re‑open the notebook from the correct source and import the exported content back in. That way you don’t lose data while restoring sync.
I hope you've found something useful here. If it helps you get more insight into the issue, it's appreciated to accept the answer. Should you have more questions, feel free to leave a message. Have a nice day!
Domic Vo.