il want to encrypt my usb disk through command line. with linux it s OK but with windows i can only encrypt a partition on the disk, not the whole disk. With graphical tool, no problem but i have to use command line in my application.
My first question : is it normal ? maybe i dont use the good parameters.
if it is normal, i would like to modify source code for adding this feature in command line. Could somebody help me to find where i have to do the modification please ? i am not confortable with c++😊 and with english too sorry !
thanks !
Johan
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
... I get an error message: "Only container files can be created through the command line". So, it seems to me, that creating other than container files is currently not possible with Windows.
So I understand that it is not possible to encrypt the whole USB stick through the command line.
I have downloaded source code and compiled the setup. It seems to be ok. So now I would like to modify source code in order to enable this feature. Can somebody helps me to find where I have to unlock this feature in the code. It's possible through graphical interface so it would be possible through the commande line with some modifications.
Thanks for your help
Greets
Johan
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
il want to encrypt my usb disk through command line. with linux it s OK but with windows i can only encrypt a partition on the disk, not the whole disk. With graphical tool, no problem but i have to use command line in my application.
My first question : is it normal ? maybe i dont use the good parameters.
if it is normal, i would like to modify source code for adding this feature in command line. Could somebody help me to find where i have to do the modification please ? i am not confortable with c++😊 and with english too sorry !
thanks !
Johan
Hi,
VeraCrypt's command line interface seems to be limited under Windows. When I try to encrypt a whole drive, using the following command line...
... I get an error message: "Only container files can be created through the command line". So, it seems to me, that creating other than container files is currently not possible with Windows.
Having a look at the documentation, it is only about creating container files via command line.
https://veracrypt.fr/en/Command%20Line%20Usage.html
Greets
Hi RealTehreal,
Thanks for your response.
So I understand that it is not possible to encrypt the whole USB stick through the command line.
I have downloaded source code and compiled the setup. It seems to be ok. So now I would like to modify source code in order to enable this feature. Can somebody helps me to find where I have to unlock this feature in the code. It's possible through graphical interface so it would be possible through the commande line with some modifications.
Thanks for your help
Greets
Johan