Here is my environment:
- Windows 10 (also occurs with 8.1)
- System partition C: is not encrypted using bitlocker
- "Data" partition E: is encrypted using bitlocker with manual unlock
- OneDrive desktop sync location: E:\OneDrive
When Windows starts, I manually unlock E: using my passphrase.
When my computer starts, OneDrive complains that my OneDrive sync location is not available. This is because the location is within a bitlocker-protected drive that is not yet unlocked.
We couldn't find the location of your OneDrive folder. Click OK to reconfigure your OneDrive folder.
Whether I click OK or close, OneDrive deletes its own configuration and starts from scratch. "Hello, this is OneDrive, a place for all your files blah blah blah". I am forced to reconfigure the sync location and a very long sync operation starts.
Encrypt your system partition and enable auto-unlock for your secondary partition. This way the partition will be unlocked before OneDrive starts.
OK but I do not want to encrypt the system partition. I want OneDrive to wait for my partition to be unlocked and then do its job.
Do you know a way of delaying the startup of the OneDrive desktop app?
This would avoid the bug.
Do you know any other trick that would prevent the app from deleting its own configuration and state when this occurs?