Set Documents folder as mount point

I am a Windows 10 user, and my document is at the default location c:\Users\name\Documents.

I created a vault on a NAS that has all the files from my Documents folder, and have cryptonmator open the vault automatically using Dokany. All is well if I set my mount point at any folder on my harddisk, except c:\Users\name\Documents. Why this is so? c:\Users\name\Documents\ is empty.

For now, my mount point is c:\Users\name\Documents\doc. This is not as elegant as I wish for.

Please be more specific. What exactly happens? Is there an error message? Anything suspicious in the log file?

Here is the error:

	at org.cryptomator.common.vaults.DokanyVolume.mount(DokanyVolume.java:48)
	at org.cryptomator.common.vaults.Vault.unlock(Vault.java:151)
	at org.cryptomator.ui.unlock.UnlockWorkflow.attemptUnlock(UnlockWorkflow.java:100)
	at org.cryptomator.ui.unlock.UnlockWorkflow.call(UnlockWorkflow.java:81)
	at org.cryptomator.ui.unlock.UnlockWorkflow.call(UnlockWorkflow.java:44)
	at javafx.concurrent.Task$TaskCallable.call(Task.java:1425)
	at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
	at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
	at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
	at java.base/java.lang.Thread.run(Unknown Source)
Caused by: org.cryptomator.frontend.dokany.DokanyMountFailedException: Error while mounting.
	at org.cryptomator.frontend.dokany.MountFactory.mount(MountFactory.java:130)
	at org.cryptomator.frontend.dokany.MountFactory.mount(MountFactory.java:116)
	at org.cryptomator.common.vaults.DokanyVolume.mount(DokanyVolume.java:43)
	... 11 more
Caused by: com.dokany.java.DokanyException: DokanMain returned error code-5: Dokan mount failed - Cannot assign a drive letter or mount point. Probably already used by another volume.
	at com.dokany.java.DokanyMount.lambda$mount$2(DokanyMount.java:98)
	... 1 more

I make sure that c:\Users\name\Documents\ is empty, including deleted desktop.ini before I run a test to get the above.

I really doubt that the standard document folder is completely empty and/or not already in use by your OS.
That is also what the logfile is pointing to.

If nobody corrects me, I’m afraid you have to select a mount point that is not a system standard folder.

1 Like