Hi,
I know how to hide a non-disk device in the device manager, but I am curious if anyone knows how to hide a Disk Drive in the DM?
I have a ataport storage device that is only accessible to my kernel driver. I would like to keep it out the of the device manager list so as not to cause any confusion for a user.
Thanks
If it doesn’t claim to be a disk or a CD/DVD drive, why would not you want it to appear in DevMgr? And by the way, it won’t be in DiskMan, if it’s not a disk.
It is a disk, I just don’t want to advertise it as such. Since I want it to be accessible ONLY to my kernel driver (on a different device stack), I don’t want to cause confusion for an end-user thinking that they can use it.
BTW, not having it in DiskMan is the desired behavior. I know how to do that.
Thanks
> It is a disk, I just don’t want to advertise it as such. Since I want it to be accessible ONLY to my kernel
driver (on a different device stack)
Then make it non-disk and allow your driver to work with this non-disk.
–
Maxim S. Shatskih
Windows DDK MVP
xxxxx@storagecraft.com
http://www.storagecraft.com
> Then make it non-disk
So I take that this means that it isn’t possible to hide?
> So I take that this means that it isn’t possible to hide?
Surely yes, Windows is not designed for all its UI elements to be hideable.
–
Maxim S. Shatskih
Windows DDK MVP
xxxxx@storagecraft.com
http://www.storagecraft.com
If it isn’t managed by disk.sys then it isn’t a ‘disk’. If you have your own
class driver then it can control the visibility of the device.
If it is managed by disk.sys then you really do not have control over the
visibility of those device objects.
Mark Roddy
On Thu, Sep 23, 2010 at 12:09 AM, wrote:
> It is a disk, I just don’t want to advertise it as such. Since I want it
> to be accessible ONLY to my kernel driver (on a different device stack), I
> don’t want to cause confusion for an end-user thinking that they can use it.
> BTW, not having it in DiskMan is the desired behavior. I know how to do
> that.
>
> Thanks
>
> —
> NTDEV is sponsored by OSR
>
> For our schedule of WDF, WDM, debugging and other seminars visit:
> http://www.osr.com/seminars
>
> To unsubscribe, visit the List Server section of OSR Online at
> http://www.osronline.com/page.cfm?name=ListServer
>
Can a filter driver set NoDisplayInUI in the device caps to hide it?
> Can a filter driver set NoDisplayInUI in the device caps to hide it?
In Device Manager - yes, in Disk Management - no.
–
Maxim S. Shatskih
Windows DDK MVP
xxxxx@storagecraft.com
http://www.storagecraft.com