Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HELP WINDOWS VERSION Error: Could not unmount filesystem #467

Open
inKdahood opened this issue Jan 7, 2024 · 3 comments
Open

HELP WINDOWS VERSION Error: Could not unmount filesystem #467

inKdahood opened this issue Jan 7, 2024 · 3 comments

Comments

@inKdahood
Copy link

Hello,

I'm a newbie with cryfs I just install it on my pc, read about its use and command to create, mount, etc...
I did a test, I enter :
"cryfs BASEDIRECTORY .CRYFSTEST"
in windows command prompt, the console tell me there is no directory with that name wanna create it ? I enter "y".
Next I follow all the step to create the directory and the mount point, after enter a password and repeat it I have this message:
(Mounting filesystem. To unmount, call:
$ cryfs-unmount "M:.PATH.CRYFSTEST")
I go in explorer to see if all what i set up is at its place (all is correct all work here I have the Basedir and the folder mounted with the good name just next to it, OK for me). I put a txt file in the mounted directory so I have ".CRYFSTEST\test.txt"
OK, so now I try to unmount the directory so I enter:
cryfs-unmount "M:.PATH.CRYFSTEST"
and have this error:
CryFS Version 0.11.4
Unmounting CryFS filesystem at "M:.PATH.CRYFSTEST".
Error: Could not unmount filesystem
I don't understand, I test with the default command to (we can find it on the website of cryfs: cryfs basedir mountdir) and try to do it on C:\users\MYUSERNAME but same trouble. I can create it with no issue but never able to unmount it.
I don't know what to do. Can someone help?

@inKdahood inKdahood changed the title Error: Could not unmount filesystem VERSION : 0.11.4 PLS help a newbie Error: Could not unmount filesystem VERSION : 0.11.4 Jan 7, 2024
@inKdahood inKdahood changed the title PLS help a newbie Error: Could not unmount filesystem VERSION : 0.11.4 PLEASE help a newbie Error: Could not unmount filesystem VERSION : 0.11.4 Jan 7, 2024
@inKdahood inKdahood reopened this Jan 7, 2024
@inKdahood
Copy link
Author

OK I found solution xD a day to find it but FINALLY WORK soooooooooooo there is the solution:
If you have microsoft defender on windows or any other anti-virus for me it's microsoft defender.
so if your anti-virus direct-protection is on you will need to authorize Cryfs.exe to access to file because anti-virus detect it as a virus (but defender never send me a notification to say it blocked cryfs.exe don't know why but it block without saying it block, so I was not knowing defender was the problem).
In a second time go check if you have ransom-ware protect turned on (in microsoft defender i know that exist for other anti-virus I don't know but you can check) so if ransom-ware protect or something about ransomware is active on your computer click on it and add an exception to cryfs.exe.
That two step should fix the problem, if not, that would say you don't find the issue number 451 and 382 before arrived on this issue so these issues 451 and 382 say "you need to downgrade dokanY from 2.x to 1.5.0.2000" there is the github link to download it:
https://github.com/dokan-dev/dokany/releases/tag/v1.5.0.2000
after download you don't need to uninstall dokan 2.x for install dokan 1.5.0.2000 so you can install it directly (so u can use cppcryptfs AND cryfs on same computer).
you don't need to reboot after install just try again the tutorial instruction on the cryfs website (you can find it here: https://www.cryfs.org/tutorial) and you can finally do every step with no error, so you can now enjoy cryfs on your windows computer. =)
Now all work good for me hope for others peoples with same trouble to.

Ps: Note that solution dosen't work for sirikali if you still have some error with it I don't know how to do but personnally I don't need it because I don't use it, so let's continue your way after this issue.

Hope that will help others newbies. =)

@inKdahood inKdahood changed the title PLEASE help a newbie Error: Could not unmount filesystem VERSION : 0.11.4 HELP WINDOWS VERSION Error: Could not unmount filesystem Jan 7, 2024
@ntnguyen1234
Copy link

Hmm... I don't use windows defender or anti-virus and the cryfs-unmount.exe still appears on my computer.

I have installed version 1.5.0.2000 and both of Dokan libraries appear in the environments
image

but I still cannot unmount the mounted directory

@ntnguyen1234
Copy link

ntnguyen1234 commented Apr 20, 2024

Ok, I'm f*cked. I accidentally deleted the files in the dokan library 1.5.0 without uninstalling and now I cannot install 1.5.1 version, it says a previous version of 1.5.1 is already installed.

I tried re-installing 1.5.0 but it just has an option of remove but it cannot remove 1.5.0 either.

Do I have to reinstall my whole windows because of this? Why is this thing so incompatible forward and backward? Fck, fck, f*ck...


After searching and removing all entries in windows registry, finally I can install 1.5.1. But I still cannot unmount the directory, and I don't know how to debug it either. There's no other options for cryptfs-unmount

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants