How to hide disk volume

Hi, Gurus.

It is very hard to do this for me, because of my luck of acknowlegement of
device driver and would like to get any advice or pointer to realize my
issue.

What I want to do is:

  1. USB disk is connected, I need to decide it can be used or not.
  2. If it can be used, do nothing.
  3. If it can not be used, I want to hide disk volume from end user.

I tried to reject any IRP in my filesystem filter driver if request is to
“can not be used” volume, but that volume can be enumerated in explorer. I
would like to hide such disk volume from explorer also.

Can I do this in filesystem filter driver? Or do I need to develop another
device driver?

Any advice and pointer is highly welcome. I always appriciate your help and
adivce in this group.

Thank you,
Hideyuki Inamasu.

You need a disk filter, not FS filter. Disk filters are simpler.

Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
xxxxx@storagecraft.com
http://www.storagecraft.com

----- Original Message -----
From: “Hideyuki Inamasu”
Newsgroups: ntfsd
To: “Windows File Systems Devs Interest List”
Sent: Saturday, July 02, 2005 1:01 PM
Subject: [ntfsd] How to hide disk volume

> Hi, Gurus.
>
> It is very hard to do this for me, because of my luck of acknowlegement of
> device driver and would like to get any advice or pointer to realize my
> issue.
>
> What I want to do is:
> 1. USB disk is connected, I need to decide it can be used or not.
> 2. If it can be used, do nothing.
> 3. If it can not be used, I want to hide disk volume from end user.
>
> I tried to reject any IRP in my filesystem filter driver if request is to
> “can not be used” volume, but that volume can be enumerated in explorer. I
> would like to hide such disk volume from explorer also.
>
> Can I do this in filesystem filter driver? Or do I need to develop another
> device driver?
>
> Any advice and pointer is highly welcome. I always appriciate your help and
> adivce in this group.
>
> Thank you,
> Hideyuki Inamasu.
>
>
> —
> Questions? First check the IFS FAQ at
https://www.osronline.com/article.cfm?id=17
>
> You are currently subscribed to ntfsd as: xxxxx@storagecraft.com
> To unsubscribe send a blank email to xxxxx@lists.osr.com

Hello!

Could you please let me know where I can find sample source code for
realizing such hiding disk volume? Is it in DDK or IFSKIT?

Thank you,
Hideyuki Inamasu.
“Maxim S. Shatskih” wrote in message
news:xxxxx@ntfsd…
> You need a disk filter, not FS filter. Disk filters are simpler.
>
> Maxim Shatskih, Windows DDK MVP
> StorageCraft Corporation
> xxxxx@storagecraft.com
> http://www.storagecraft.com
>
> ----- Original Message -----
> From: “Hideyuki Inamasu”
> Newsgroups: ntfsd
> To: “Windows File Systems Devs Interest List”
> Sent: Saturday, July 02, 2005 1:01 PM
> Subject: [ntfsd] How to hide disk volume
>
>
>> Hi, Gurus.
>>
>> It is very hard to do this for me, because of my luck of acknowlegement
>> of
>> device driver and would like to get any advice or pointer to realize my
>> issue.
>>
>> What I want to do is:
>> 1. USB disk is connected, I need to decide it can be used or not.
>> 2. If it can be used, do nothing.
>> 3. If it can not be used, I want to hide disk volume from end user.
>>
>> I tried to reject any IRP in my filesystem filter driver if request is to
>> “can not be used” volume, but that volume can be enumerated in explorer.
>> I
>> would like to hide such disk volume from explorer also.
>>
>> Can I do this in filesystem filter driver? Or do I need to develop
>> another
>> device driver?
>>
>> Any advice and pointer is highly welcome. I always appriciate your help
>> and
>> adivce in this group.
>>
>> Thank you,
>> Hideyuki Inamasu.
>>
>>
>> —
>> Questions? First check the IFS FAQ at
> https://www.osronline.com/article.cfm?id=17
>>
>> You are currently subscribed to ntfsd as: xxxxx@storagecraft.com
>> To unsubscribe send a blank email to xxxxx@lists.osr.com
>
>

DiskPerf in the DDK.

Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
xxxxx@storagecraft.com
http://www.storagecraft.com

----- Original Message -----
From: “Hideyuki Inamasu”
Newsgroups: ntfsd
To: “Windows File Systems Devs Interest List”
Sent: Saturday, July 02, 2005 3:39 PM
Subject: Re:[ntfsd] How to hide disk volume

> Hello!
>
> Could you please let me know where I can find sample source code for
> realizing such hiding disk volume? Is it in DDK or IFSKIT?
>
> Thank you,
> Hideyuki Inamasu.
> “Maxim S. Shatskih” wrote in message
> news:xxxxx@ntfsd…
> > You need a disk filter, not FS filter. Disk filters are simpler.
> >
> > Maxim Shatskih, Windows DDK MVP
> > StorageCraft Corporation
> > xxxxx@storagecraft.com
> > http://www.storagecraft.com
> >
> > ----- Original Message -----
> > From: “Hideyuki Inamasu”
> > Newsgroups: ntfsd
> > To: “Windows File Systems Devs Interest List”
> > Sent: Saturday, July 02, 2005 1:01 PM
> > Subject: [ntfsd] How to hide disk volume
> >
> >
> >> Hi, Gurus.
> >>
> >> It is very hard to do this for me, because of my luck of acknowlegement
> >> of
> >> device driver and would like to get any advice or pointer to realize my
> >> issue.
> >>
> >> What I want to do is:
> >> 1. USB disk is connected, I need to decide it can be used or not.
> >> 2. If it can be used, do nothing.
> >> 3. If it can not be used, I want to hide disk volume from end user.
> >>
> >> I tried to reject any IRP in my filesystem filter driver if request is to
> >> “can not be used” volume, but that volume can be enumerated in explorer.
> >> I
> >> would like to hide such disk volume from explorer also.
> >>
> >> Can I do this in filesystem filter driver? Or do I need to develop
> >> another
> >> device driver?
> >>
> >> Any advice and pointer is highly welcome. I always appriciate your help
> >> and
> >> adivce in this group.
> >>
> >> Thank you,
> >> Hideyuki Inamasu.
> >>
> >>
> >> —
> >> Questions? First check the IFS FAQ at
> > https://www.osronline.com/article.cfm?id=17
> >>
> >> You are currently subscribed to ntfsd as: xxxxx@storagecraft.com
> >> To unsubscribe send a blank email to xxxxx@lists.osr.com
> >
> >
>
>
> —
> Questions? First check the IFS FAQ at
https://www.osronline.com/article.cfm?id=17
>
> You are currently subscribed to ntfsd as: xxxxx@storagecraft.com
> To unsubscribe send a blank email to xxxxx@lists.osr.com

can we not use Volume filter for this

“Maxim S. Shatskih” wrote in message
news:xxxxx@ntfsd…
> You need a disk filter, not FS filter. Disk filters are simpler.
>
> Maxim Shatskih, Windows DDK MVP
> StorageCraft Corporation
> xxxxx@storagecraft.com
> http://www.storagecraft.com
>
> ----- Original Message -----
> From: “Hideyuki Inamasu”
> Newsgroups: ntfsd
> To: “Windows File Systems Devs Interest List”
> Sent: Saturday, July 02, 2005 1:01 PM
> Subject: [ntfsd] How to hide disk volume
>
>
> > Hi, Gurus.
> >
> > It is very hard to do this for me, because of my luck of acknowlegement
of
> > device driver and would like to get any advice or pointer to realize my
> > issue.
> >
> > What I want to do is:
> > 1. USB disk is connected, I need to decide it can be used or not.
> > 2. If it can be used, do nothing.
> > 3. If it can not be used, I want to hide disk volume from end user.
> >
> > I tried to reject any IRP in my filesystem filter driver if request is
to
> > “can not be used” volume, but that volume can be enumerated in explorer.
I
> > would like to hide such disk volume from explorer also.
> >
> > Can I do this in filesystem filter driver? Or do I need to develop
another
> > device driver?
> >
> > Any advice and pointer is highly welcome. I always appriciate your help
and
> > adivce in this group.
> >
> > Thank you,
> > Hideyuki Inamasu.
> >
> >
> > —
> > Questions? First check the IFS FAQ at
> https://www.osronline.com/article.cfm?id=17
> >
> > You are currently subscribed to ntfsd as: xxxxx@storagecraft.com
> > To unsubscribe send a blank email to xxxxx@lists.osr.com
>
>