Monitoring carefully the installation process, I managed to find most of what I needed.
The plugin Pepak wrote for the Volume Encryption also helped a lot.
For this problem I used Windows XP SP2 as my source and BartPE 3.1.10a with VMWare Workstation 8.
FIND HERE LINK TO PLUGIN(S): http://www.mediafire.com/?qzsqkhc116426o7
Problems:
A ) A mounted container does not show correctly in the BartPE interface. Although this is likely not a problem caused by BestCrypt, it is still very annoying.
You mount a container to drive T: and this drive will not be accessible or available after mounting!
This has been reported before, but never a good solution was given!
To show the actual problem, I uploaded some pictures:
http://tinypic.com/r/30uqqgl/6
http://tinypic.com/r/4r85li/6
http://tinypic.com/r/2ai0qo5/6
I did manage to somewhat fix the problem by doing the following actions:
1. diskmgmt.msc : assigning a drive letter and formatting the drive
2. Then the following commands (in random order and numerous times):
a ) HWPnP.exe +all /p /d /a /log
b ) HWPnP.exe -all +STORAGE\VOLUME +USB\ +USBSTOR\ /a /u /p /d /log
According to http://www.911cd.net/forums/lofiversion/in...php/t15086.html :
c ) HWPnP.exe -all =ROOT\FTDISK\0000 /u
d ) Removing HKEY_CURRENT_USER\Software\Jetico\BestCrypt\MountPoint
Eventually the drive shows up in explorer and after that the problem is history, which means that all future mounted drives show up instantly in explorer (** actually when mounting a new container, BestCrypt opens the wrong drive after mounting, usually the X: drive for some reason, but other than that, everything seems to work fine).
My question is of course, what is the definite fix for this problem?
-=-=-=-=--=-=-=-=--=-=-=-=--=-=-=-=--=-=-=-=--=-=-=-=--=-=-=-=--=-=-=-=--=-=-=-=--=-=-=-=--=-=-=-=--=-=-=-=--=-=-=-=--=-=-=-=--=-=-=-=--=-=-=
B ) Volume Encryption gives an error at starting: “Error in loading BestCrypt Volume Encryption driver.”.
This error is given once and on a second attempt to start Volume Encryption the error disappears (which probably means that the driver is loaded this time around).
Trying to fix the error, I added the following line to the plugin:
0x7, "ControlSet001\Control\Class\{4D36E967-E325-11CE-BFC1-08002BE10318}","UpperFilters","bcfnt","PartMgr"
This was an original monitored registry entry made by BestCrypt, but it gave some issues originally, so that is why I removed it.
When putting this line back in, a new error appears: “File system guard module is not active or version of the module is incorrect. It is also possible that you have not rebooted computer after installation of the software.”.
Now I cannot start the Volume Encryption as this warning will reappear every time.
The fsh.sys driver is the guard module, but now I am confused why this driver is not giving a problem the first time around.
So maybe not a smart idea to put this line back...
Also other two registry lines added originally by BestCrypt I removed, because they were giving a conflict with the mouse and keyboard driver:
0x7, "ControlSet001\Control\Class\{4D36E96B-E325-11CE-BFC1-08002BE10318}","UpperFilters","kbdclass","mhk"
0x7, "ControlSet001\Control\Class\{4D36E96F-E325-11CE-BFC1-08002BE10318}","UpperFilters","mouclass","moh"
-=-=-=-=--=-=-=-=--=-=-=-=--=-=-=-=--=-=-=-=--=-=-=-=--=-=-=-=--=-=-=-=--=-=-=-=--=-=-=-=--=-=-=-=--=-=-=-=--=-=-=-=--=-=-=-=--=-=-=-=--=-=-=
C ) I know the syntax for adding entries to txtsetup.sif is quite difficult, so to prevent going off topic I will not ask the exact explanation of errors, but can someone validate the first part of the plugin where I attempt to add the drivers to txtsetup.sif.
Also I should add that volsnap.sys driver was already added to my BartPE setup, so that is why you will not see this driver in the plugin.
-=-=-=-=--=-=-=-=--=-=-=-=--=-=-=-=--=-=-=-=--=-=-=-=--=-=-=-=--=-=-=-=--=-=-=-=--=-=-=-=--=-=-=-=--=-=-=-=--=-=-=-=--=-=-=-=--=-=-=-=--=-=-=
If you need any more information, please let me know!
Looking forward to hear some feedback and hopefully some answers to the few problems I have left to make BestCrypt work perfectly inside WinPE/BartPE.
Thanks!
