The answer to this question used to be FreeOTFE (https://en.wikipedia.org/wiki/FreeOTFE); sadly, the project has not been updated for three years and its website (http://www.freeotfe.org) is no longer online.

Is there any software available now that can be used to access LUKS/dm-crypt volumes from Windows, now that FreeOTFE is no longer maintained/available?

  • 2
    Could you use a VM with Linux installed and mount the entire parition in the VM? I know it's not strictly accessing it directly in Windows, but would allow you to access it on an existing computer with Windows installed, to recover the files and put them in a more windows friendly format like TruCrypt. – Kibbee Aug 1 '13 at 14:12
  • 2
    Yes, it works well. This is the way to go for me. No cluttering Windows with buggy and unstable third-party drivers. Just set up a Linux VM, mount the encrypted volume on a Samba share, then access the contents from the Windows host system. – Martin Hansen Jun 30 '15 at 11:04

LibreCrypt (formerly DoxBox, itself formerly FreeOTFE) offers LUKS-compatible disk encryption for Windows. It will also open legacy FreeOTFE volumes.

  • LibreCrypt has unfortunately been abandoned :-( – Chetan Bhargava Dec 1 '17 at 1:39
  • 5
    FreeOTFE -> DoxBox -> LibreCrypt -> is there a 2018 successor? – flith Mar 19 '18 at 11:04
  • @flith, Veracrypt also see alternativeto.net/software/doxbox – adam Oct 21 '18 at 3:27
  • 1
    afaik Veracrypt is not compatible with LUKS containers – eadmaster Dec 14 '19 at 13:16

FreeOTFE from 2010, although abandonware, is still available for download from here.

However, while as far as I know it is the only solution of its kind, there were still reports of problems and bugs with this product. Therefore @Kibbee's comment of using in Windows a Linux virtual machine might be the safest way to go.

I don't know of any successors to FreeOTFE.

I remark that Truecrypt is an excellent alternative to LUKS/dm-crypt, available on both Linux and Windows and still under development.


WSL 2 on Windows10

Windows allows now to mount physical disks using the Windows Subsystem for Linux 2 (WSL).

For people who are not familiar with WSL2:

... Windows Subsystem for Linux is a compatibility layer for running Linux binary executables natively on Windows 10 and Windows Server 2019. In May 2019, WSL 2 was announced, introducing important changes such as a real Linux kernel, through a subset of Hyper-V features. ...

find more on Wikipedia

The Windows 10 WSL2 now supports a mount command for linux filesystems called wsl.

First of all you have to install WSL2 on your windows10+ release. I recommend to simply follow the microsoft installation guide.

Now you can use apt commands as common on ubuntu/debian systems

sudo apt install cryptsetup

and use thecryptsetup luksOpen command.

Previous WSL didn't support CRYPT, and you had to recompile the kernel. To check if DM_CRYPT is supported on your system, open a wsl2 terminal and type the following command:

cat /proc/config.gz | gunzip | grep CONFIG_DM_CRYPT

The output should be CONFIG_DM_CRYPT=y without a hash (# ), and =y should be set.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.