It is currently Thu Oct 19, 2017 3:38 am

All times are UTC




Post new topic Reply to topic  [ 22 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: [WISH] Compability with Truecrypt - a new parameter in start/stop scripts
PostPosted: Fri Oct 17, 2008 7:04 pm 
Offline

Joined: Fri Oct 17, 2008 6:55 pm
Posts: 9
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
...


Top
 Profile  
 
 Post subject: Re: [WISH] Compability with Truecrypt - a new parameter in start/stop scripts
PostPosted: Tue Oct 21, 2008 12:26 pm 
Offline
Developer
User avatar

Joined: Thu Nov 01, 2007 12:44 pm
Posts: 554
Location: Saint Petersburg
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
...

Hi pzYsTorM,
Yes it's a good idea to pass some more additional parameters. We will consider adding this in the next versions of USB Safely Remove.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Nov 03, 2008 12:29 pm 
Offline

Joined: Fri Oct 17, 2008 6:55 pm
Posts: 9
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.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Nov 06, 2008 10:10 am 
Offline
Developer
User avatar

Joined: Thu Nov 01, 2007 12:44 pm
Posts: 554
Location: Saint Petersburg
pzYsTorM 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.

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.exe


Top
 Profile  
 
 Post subject:
PostPosted: Fri Nov 07, 2008 4:41 pm 
Offline

Joined: Fri Oct 17, 2008 6:55 pm
Posts: 9
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


Top
 Profile  
 
 Post subject:
PostPosted: Sat Nov 08, 2008 9:49 am 
Offline
Developer
User avatar

Joined: Thu Nov 01, 2007 12:44 pm
Posts: 554
Location: Saint Petersburg
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

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.

P.S. I wonder, what happens if you press "Forced stop" in this case?


Top
 Profile  
 
 Post subject:
PostPosted: Mon Mar 09, 2009 3:56 pm 
Offline
Developer
User avatar

Joined: Thu Nov 01, 2007 12:44 pm
Posts: 554
Location: Saint Petersburg
Hi pzYsTorM,

We have released beta version of USB Safely Remove 4.1, which allows to pass physical device object name to the command line. Could you download it and see if it works in your case and is it convenient for you.

You may download it here: http://safelyremove.com/exe/usbsafelyre ... -beta2.exe


Top
 Profile  
 
 Post subject:
PostPosted: Sat Apr 25, 2009 6:37 pm 
Offline

Joined: Fri Oct 17, 2008 6:55 pm
Posts: 9
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! :-)


Top
 Profile  
 
 Post subject:
PostPosted: Tue Apr 28, 2009 4:15 am 
Offline
Developer
User avatar

Joined: Thu Nov 01, 2007 12:44 pm
Posts: 554
Location: Saint Petersburg
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! :-)

Thanks for the tip. Great to hear that!

P.S. You said that you check our site not regularly. Does it mean that you don't receieve notifications from our forum?


Top
 Profile  
 
 Post subject:
PostPosted: Tue Apr 28, 2009 7:24 pm 
Offline

Joined: Fri Oct 17, 2008 6:55 pm
Posts: 9
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.


And concerning the notifications:
There is the setting "Always notify me of replies"... I put this to "No"... Well, I really do not like so much mails. A forum lives, because I want to check it daily...weekly... and not because I receive a mail...
Then we could switch over to a mailing list instead of a forum ;-)


Top
 Profile  
 
 Post subject:
PostPosted: Sun May 03, 2009 1:44 pm 
Offline

Joined: Sun May 03, 2009 11:37 am
Posts: 1
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.


Top
 Profile  
 
 Post subject:
PostPosted: Thu May 21, 2009 11:34 am 
Offline
Developer
User avatar

Joined: Thu Nov 01, 2007 12:44 pm
Posts: 554
Location: Saint Petersburg
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.


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?


Top
 Profile  
 
 Post subject:
PostPosted: Thu May 21, 2009 11:35 am 
Offline
Developer
User avatar

Joined: Thu Nov 01, 2007 12:44 pm
Posts: 554
Location: Saint Petersburg
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.

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?

You may get it here:
http://safelyremove.com/upload/usbsafel ... ta4pre.exe


Top
 Profile  
 
 Post subject:
PostPosted: Sat May 23, 2009 1:10 am 
Offline

Joined: Fri Oct 17, 2008 6:55 pm
Posts: 9
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


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jun 03, 2009 2:01 pm 
Offline
Developer
User avatar

Joined: Thu Nov 01, 2007 12:44 pm
Posts: 554
Location: Saint Petersburg
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

We have checked this problem and we haven't encounter it neither on Vista nor on XP.

1. Do you have UAC enabled?
2. Also it maybe caused by another programs which manage your desktop or windows. Do you have some ones?


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 22 posts ]  Go to page 1, 2  Next

All times are UTC


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Crystal Rich Ltd © 2014 Powered by phpBB ©