Drive Letter assignment to USB drive key

Hi,

Question: Can anybody suggest me how to remove a drive letter assigned
to a removable flash drive on Win2k/Xp ?

Known Facts: I can easily remove the drive letter assigned to a
non-removable drive using diskpart.exe (MS Resource Kit) but this
fails for a removable drive (for eg. USB drive key). Diskpart
documentation says that the tool should work for
removable/non-removable drive.

Does anybody else has the same problem ?

http://winfs.tripod.com

Hi,

Question: Can anybody suggest me how to remove a drive letter assigned
to a removable flash drive on Win2k/Xp ?

Known Facts: I can easily remove the drive letter assigned to a
non-removable drive using diskpart.exe (MS Resource Kit) but this
fails for a removable drive (for eg. USB drive key). Diskpart
documentation says that the tool should work for
removable/non-removable drive.

Does anybody else has the same problem ?

Hi,

Question: Can anybody suggest me how to remove a drive letter assigned
to a removable flash drive on Win2k/Xp ?

Known Facts: I can easily remove the drive letter assigned to a
non-removable drive using diskpart.exe (MS Resource Kit) but this
fails for a removable drive (for eg. USB drive key). Diskpart
documentation says that the tool should work for
removable/non-removable drive.

Does anybody else has the same problem ?

http://winfs.tripod.com

I use ‘%windir%\mountvol.exe X: /d’ (replacing X: with the appropriate
drive). You can also use mountvol.exe to assign it to a mount point on
an NTFS volume, so you don’t actually lose easy access to the data on
the drive.

Hth,
.

-----Original Message-----
From: DD Developer [mailto:xxxxx@gmail.com]
Sent: Saturday, February 26, 2005 9:56 AM
Subject: Drive Letter assignment to USB drive key

Hi,

Question: Can anybody suggest me how to remove a drive letter assigned
to a removable flash drive on Win2k/Xp ?

Known Facts: I can easily remove the drive letter assigned to a
non-removable drive using diskpart.exe (MS Resource Kit) but this fails
for a removable drive (for eg. USB drive key). Diskpart documentation
says that the tool should work for removable/non-removable drive.

Does anybody else has the same problem ?

http://winfs.tripod.com

Henry,

Thanks a bunch. This is very good. But I need better method.

I would like to prevent the assignment of drive letter rather than
remove after it is assigned.

For non removable drive: To keep secure drive as secure, I create a
hidden partition so that the drive letter is never assigned by the OS
(win2k/xp) every time I plug USB flash drive. I assign the drive
letter after authentication.

For removable drive: I am unable to create partitions. So every time
my software has to remove the assigned drive letter (by using
mountvol.exe as u suggested)

http://winfs.tripod.com

On Mon, 28 Feb 2005 10:00:39 -0800, Henry Gabryjelski
wrote:
> I use ‘%windir%\mountvol.exe X: /d’ (replacing X: with the appropriate
> drive). You can also use mountvol.exe to assign it to a mount point on
> an NTFS volume, so you don’t actually lose easy access to the data on
> the drive.
>
> Hth,
> .
>
> -----Original Message-----
> From: DD Developer [mailto:xxxxx@gmail.com]
> Sent: Saturday, February 26, 2005 9:56 AM
> Subject: Drive Letter assignment to USB drive key
>
> Hi,
>
> Question: Can anybody suggest me how to remove a drive letter assigned
> to a removable flash drive on Win2k/Xp ?
>
> Known Facts: I can easily remove the drive letter assigned to a
> non-removable drive using diskpart.exe (MS Resource Kit) but this fails
> for a removable drive (for eg. USB drive key). Diskpart documentation
> says that the tool should work for removable/non-removable drive.
>
> Does anybody else has the same problem ?
> –
> http://winfs.tripod.com
>
> —
> Questions? First check the Kernel Driver FAQ at http://www.osronline.com/article.cfm?id=256
>
> You are currently subscribed to ntdev as: unknown lmsubst tag argument: ‘’
> To unsubscribe send a blank email to xxxxx@lists.osr.com
>

Ramesh,

I wonder if I understood your solution. I think you allow the volume to
be created (i.e. it will show up in mountvol.exe output) even without
authentication. I also understood that you “secure” the partition by
not allowing a drive letter to be assigned.

Although it’s not obvious, anyone can open a volume’s file even without
drive letters attached: ‘dir
\?\Volume{4cd9c7c0-8558-11d9-811f-00e08161a5ca}\Windows’ works for me.
So, I don’t see how hiding the drive letter will help you secure the
partition.

I think what you need to do is actually prevent the volume from showing
up at all until the authentication has occurred. I have never done
this, but perhaps someone on this alias would already done something
like this?

Hth,
.

-----Original Message-----
From: DD Developer [mailto:xxxxx@gmail.com]
Sent: Monday, February 28, 2005 10:15 PM
Subject: Re: Drive Letter assignment to USB drive key

Henry,

Thanks a bunch. This is very good. But I need better method.

I would like to prevent the assignment of drive letter rather than
remove after it is assigned.

For non removable drive: To keep secure drive as secure, I create a
hidden partition so that the drive letter is never assigned by the OS
(win2k/xp) every time I plug USB flash drive. I assign the drive letter
after authentication.

For removable drive: I am unable to create partitions. So every time my
software has to remove the assigned drive letter (by using mountvol.exe
as u suggested)

http://winfs.tripod.com

On Mon, 28 Feb 2005 10:00:39 -0800, Henry Gabryjelski
wrote:
> I use ‘%windir%\mountvol.exe X: /d’ (replacing X: with the appropriate

> drive). You can also use mountvol.exe to assign it to a mount point
> on an NTFS volume, so you don’t actually lose easy access to the data
> on the drive.
>
> Hth,
> .
>
> -----Original Message-----
> From: DD Developer [mailto:xxxxx@gmail.com]
> Sent: Saturday, February 26, 2005 9:56 AM
> Subject: Drive Letter assignment to USB drive key
>
> Hi,
>
> Question: Can anybody suggest me how to remove a drive letter assigned

> to a removable flash drive on Win2k/Xp ?
>
> Known Facts: I can easily remove the drive letter assigned to a
> non-removable drive using diskpart.exe (MS Resource Kit) but this
> fails for a removable drive (for eg. USB drive key). Diskpart
> documentation says that the tool should work for
removable/non-removable drive.
>
> Does anybody else has the same problem ?
> –
> http://winfs.tripod.com
>
> —
> Questions? First check the Kernel Driver FAQ at
> http://www.osronline.com/article.cfm?id=256
>
> You are currently subscribed to ntdev as: unknown lmsubst tag
argument: ‘’
> To unsubscribe send a blank email to xxxxx@lists.osr.com
>