I’ve been wanting to use OneNote with an encrypted file system backed up to a cloud, but have had problems with many existing solutions (including Cryptomator/OneDrive). Basically, modifying notebooks can lead to OneNote crashing, including data loss.
I created a solution that fixes this problem - it basically “checks out” OneNote files when running OneNote, and “checks in” OneNote files as soon as OneNote closes.
The solution is a batch file, so if others have interest, I will post the details here. Let me know!