this is my first forum topic ever so excuse me if I make any "mistakes".
I'm using a Win 10 (1909) PC and the current version of VeraCrypt 1.24 Update6, 64bit
I'm working on a Powershell script which automatically creates and mounts a VHDX drive. So Mounting via powershell was no bigger problem. Now I'd like to create a new non-system partition/drive via the VeraCrypt Volume Creation Wizard in Powershell (VeraCrypt Format.exe). Unfortunatly in the documentation (https://www.veracrypt.fr/en/Command%20Line%20Usage.html) there is, as I understand it, no function to create a new non-system partition/drive as the "/c" is to create a new container?
Did I understood this correctly? Anyone can provide some tips to solve this porblem, or is it just not possible to do that via Commandline in Windows?
It is not possible at present to create an encrypted drive or partition using VC command line syntax (and as far as I know, there are no plans to make that possible in the future).
Whether it might be possible to leverage more powerful scripting tools to emulate doing it via the GUI is not something I can comment on, since I am only a simple soul!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi Alex, we're a specialized forensics IT-company and have to create very often some kind of virtual vhdx files and therefore VeraCrypt containers, so I'm currently working on a powershell script which automate this process. Therefore it would be great if such a command line syntax would be available
Last edit: Tobias Ordosch 2020-04-24
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi Guys,
this is my first forum topic ever so excuse me if I make any "mistakes".
I'm using a Win 10 (1909) PC and the current version of VeraCrypt 1.24 Update6, 64bit
I'm working on a Powershell script which automatically creates and mounts a VHDX drive. So Mounting via powershell was no bigger problem. Now I'd like to create a new non-system partition/drive via the VeraCrypt Volume Creation Wizard in Powershell (VeraCrypt Format.exe). Unfortunatly in the documentation (https://www.veracrypt.fr/en/Command%20Line%20Usage.html) there is, as I understand it, no function to create a new non-system partition/drive as the "/c" is to create a new container?
Did I understood this correctly? Anyone can provide some tips to solve this porblem, or is it just not possible to do that via Commandline in Windows?
Thanks in advance!
It is not possible at present to create an encrypted drive or partition using VC command line syntax (and as far as I know, there are no plans to make that possible in the future).
Whether it might be possible to leverage more powerful scripting tools to emulate doing it via the GUI is not something I can comment on, since I am only a simple soul!
Thanks Adrian, I feared that. ^^
So I got to continue do it with the GUI.
just wondering, why would you need to create it through the commandline?
Hi Alex, we're a specialized forensics IT-company and have to create very often some kind of virtual vhdx files and therefore VeraCrypt containers, so I'm currently working on a powershell script which automate this process. Therefore it would be great if such a command line syntax would be available
Last edit: Tobias Ordosch 2020-04-24