Hiding a device from device manager

Hi,

This has been discussed earlier using
IRP_MN_QUERY_PNP_DEVICE_STATE->PNP_DEVICE_DONT_DISPLAY_IN_UI. Could anybody
confirm me whether ‘Show hidden devices’ from device manager shows the
device back?

Thanks,
Hakim

My test is done and test shows that ‘Show hidden devices’ from device
manager shows the
device back. Is it supposed to be like this or I’m doing something wrong?

Thanks,
Hakim

“Hakim” wrote in message news:xxxxx@ntdev…
> Hi,
>
> This has been discussed earlier using
> IRP_MN_QUERY_PNP_DEVICE_STATE->PNP_DEVICE_DONT_DISPLAY_IN_UI. Could
> anybody confirm me whether ‘Show hidden devices’ from device manager shows
> the device back?
>
> Thanks,
> Hakim
>
>

Yes, showing hidden devices in device manager will let you see devices
which set PNP_DEVICE_DONT_DISPLAY_IN_UI. There is no way to truly make
the device stack completely hidden. You can make the entire class not
displayable (I don’t remember the reg value for this), but if you don’t
own the device class this is not a viable answer.

d

– I can spell, I just can’t type.

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Hakim
Sent: Wednesday, August 16, 2006 7:18 AM
To: Windows System Software Devs Interest List
Subject: Re:[ntdev] Hiding a device from device manager

My test is done and test shows that ‘Show hidden devices’ from device
manager shows the device back. Is it supposed to be like this or I’m
doing something wrong?

Thanks,
Hakim

“Hakim” wrote in message news:xxxxx@ntdev…
> Hi,
>
> This has been discussed earlier using
> IRP_MN_QUERY_PNP_DEVICE_STATE->PNP_DEVICE_DONT_DISPLAY_IN_UI. Could
> anybody confirm me whether ‘Show hidden devices’ from device manager
> shows the device back?
>
> Thanks,
> Hakim
>
>


Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256

To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer

Thanks for confirming this.

Hakim

“Doron Holan” wrote in message
news:xxxxx@ntdev…
Yes, showing hidden devices in device manager will let you see devices
which set PNP_DEVICE_DONT_DISPLAY_IN_UI. There is no way to truly make
the device stack completely hidden. You can make the entire class not
displayable (I don’t remember the reg value for this), but if you don’t
own the device class this is not a viable answer.

d

– I can spell, I just can’t type.

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Hakim
Sent: Wednesday, August 16, 2006 7:18 AM
To: Windows System Software Devs Interest List
Subject: Re:[ntdev] Hiding a device from device manager

My test is done and test shows that ‘Show hidden devices’ from device
manager shows the device back. Is it supposed to be like this or I’m
doing something wrong?

Thanks,
Hakim

“Hakim” wrote in message news:xxxxx@ntdev…
> Hi,
>
> This has been discussed earlier using
> IRP_MN_QUERY_PNP_DEVICE_STATE->PNP_DEVICE_DONT_DISPLAY_IN_UI. Could
> anybody confirm me whether ‘Show hidden devices’ from device manager
> shows the device back?
>
> Thanks,
> Hakim
>
>


Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256

To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer