USB Stuff

I want to develop a program with features below :

  1. The usb mass storage device should not be recognised by the windows operating system as a removable storage device at all. i.e. in the standard windows explorer the new removable drive should not be visible

  2. But my program must recognise it , and must do all user applications like file operations on it

How can this be done , must i write a strong USB Bus filter driver ?

Thank you very much…

Forget this. If you make it so that it is not recognized as a storage
device, then you are going to have to write your own file system to make it
accessible. This is a really bad design.


Don Burn (MVP, Windows DDK)
Windows 2k/XP/2k3 Filesystem and Driver Consulting
Website: http://www.windrvr.com
Blog: http://msmvps.com/blogs/WinDrvr
Remove StopSpam to reply

wrote in message news:xxxxx@ntdev…
>I want to develop a program with features below :
>
> 1. The usb mass storage device should not be recognised by the windows
> operating system as a removable storage device at all. i.e. in the
> standard windows explorer the new removable drive should not be visible
>
> 2. But my program must recognise it , and must do all user applications
> like file operations on it
>
> How can this be done , must i write a strong USB Bus filter driver ?
>
> Thank you very much…
>

xxxxx@hotmail.com wrote:

I want to develop a program with features below :

  1. The usb mass storage device should not be recognised by the windows operating system as a removable storage device at all. i.e. in the standard windows explorer the new removable drive should not be visible

  2. But my program must recognise it , and must do all user applications like file operations on it

How can this be done , must i write a strong USB Bus filter driver ?

I continue to be astounded by the number of people who are actively
spending their waking hours pursuing complicated schemes to PREVENT me
from using my computer for what it was intended for. Apparently, the
first 60 years of computing was about enabling technology, and the next
60 years will be all about DISABLING it.

Assuming that you want to do this for some specific USB device, just
change the descriptors so that it doesn’t look like a mass storage
class. If you don’t expect generic applications to use it, then there
is no particular reason to make it look like a file system. Just write
a simple driver to read and write the raw sectors.

You can’t have your cake and eat it, too. Either it is a mass storage
device, or it isn’t.


Tim Roberts, xxxxx@probo.com
Providenza & Boekelheide, Inc.