Hi pzYsTorM,pzYsTorM wrote:Hi,
I use a batch file to mount a TrueCrypt volume on a USB stick:
TrueCrypt.exe /q /a /l k /m rm /v \Device\Harddisk1\Partition1
But sometimes the USB stick is not Harddisk1, it is Harddisk2 or 3...
And then my batch file does not work.
Is it possible to offer a third parameter %3 in start/stop scripts which contains the harddisk number?
It would be very easy, because this information is already available. In the last tab "technical information" there is:
...
SPDRP_PHYSICAL_DEVICE_OBJECT_NAME=\Device\Harddisk1\DP(1)0-0+3
...
pzYsTorM, I'm sorry for the delay with the response. We have added an ability to see handles of "non-storage" devices in to the current development version. Could you test it? You may download it here: http://safelyremove.com/upload/usbsafel ... -beta8.exepzYsTorM wrote:Hi Igor,
Thank You, so far.
There is a second wish for compability with TrueCrypt:
I have mounted a crypted USB stick partition to drive letter W:
When trying to "safely remove" the stick with your tool, it may occur that the stick cannot be unmounted because drive W is still mounted. I am asking myself: What are the blocked files... the open file handles? Normally my shut down script (see my first posting above) should unmount drive W. But something blocks it.
Your tool has the opportunity to list the open file handles if the usb device is a hard disk and cannot be unmounted.
On this screen I would like to have a drop down box to switch to drive W, so that I can see, which file handles are open on my TrueCrypt drive W.
SafelyRemove does not do this, because my usb stick does not directly register the driver letter W. My usb stick does register nothing, because there is no readable partitions on it. Drive letter W is registered by TrueCrypt - and so SafelyRemove does not show the file handles on drive W, when trying to remove ths stick.
A better option would be, to put the drive letter assignment in the "device properties" dialog (Ctrl+E) in place of the wished drop down box.
It means that the device is being locked by the TrueCrypt's driver (all drivers are run under "system" process). Everything you may do in this case is just go to TrueCrypt control panel and dismount drive. In future our program will provide more services to interact with TrueCrypt.pzYsTorM wrote:Thanks. It works without any problems. The blocking processes are quite interesting. But in case of a TrueCrypt USB stick its not helpful.
The list shows the following process:
System
|-- \Device\Harddisk1\DP(1)0-0+3
Thanks for the tip. Great to hear that!pzYsTorM wrote:Hi Igor,
sorry, for the delay. I did not regurlarly check your website for new versions
The TrueCrypt mount and dismount feature is absolutely great. It works like a charm. There is nothing else to say than: Phenomenal. Big, big thanks!
I'm sorry for the long response. We will look into this issue, but I cannot remember that I encountered this problem. BTW what version of TrueCrypt do you use?pzYsTorM wrote:One... last... thing
The TrueCrypt window asking for the password for mounting the volume is always in the background... behind all other windows.
Would it be possible to switch it to the foreground and put the focus on it?
At the moment I have to minimize all windows, because there is no other chance to get to this TrueCrypt window, because it has no task bar entry.
That was a problem of the previous beta version (4.1 beta 3). In new beta-version we have fixed it. So could you see if it works for you?Schlitz wrote:I have a problem with getting the information like "\Device\Harddisk1\Partition1 " out of the USBSafelyRemove variable '%PhysicalDriveName%' when the device is connected. The variable is just empty ("").
I need this information for TrueCrypt Volumes, which I did not format.
I do not use truecrypt with files, I encrypted the hole partition.
We have checked this problem and we haven't encounter it neither on Vista nor on XP.pzYsTorM wrote:Igor wrote: I'm sorry for the long response. We will look into this issue, but I cannot remember that I encountered this problem. BTW what version of TrueCrypt do you use?
TrueCrypt 6.1a with Windows Vista SP1