How to show "Non-plug and Play Drivers" in Device Manager for Windows XP Embedded

G

Guest

I made an image of Windows XP Embedded. But I couldn't see "Non-plug and Play Drivers" in Device Manager. Is there any component I missed or do I have to change some settings on Device Manager

Thank you.
 
D

Doug Hoeffel

Try:

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session
Manager\Environment]
"DEVMGR_SHOW_NONPRESENT_DEVICES"="1"

--
HTH... Doug
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Have an opinion on the effectiveness of Microsoft Embedded newsgroups? Tell
Microsoft!
https://www.windowsembeddedeval.com/community/newsgroups
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Bin said:
I made an image of Windows XP Embedded. But I couldn't see "Non-plug and
Play Drivers" in Device Manager. Is there any component I missed or do I
have to change some settings on Device Manager?
 
K

KM

Bin,

That should work. What actually Doug meant was setting the
DEVMGR_SHOW_NONPRESENT_DEVICES environmental variable to "1". Device Manager
(devmgr.dll) will pick the var value up and display hidden devices, non-Plug
and Play devices, and devices not attached to the computer (commonly known
as "ghosted" or "phantom" devices).

Instead you may just try to run the following commands from Command Line
Prompt box:
set DEVMGR_SHOW_NONPRESENT_DEVICES=1
start devmgmt.msc
Select "Show hidden devices" option and see if it helps.

--
KM,
BSquare Corporation
Thank you for your reply, Doug.

But I couldn't find the Registry "DEVMGR_SHOW_NONPRESENT_DEVICES" at that
path. I searched all of Registries under "HKEY_LOCAL_MACHINE" and I still
couldn't find it. So I created a new Registry with this name and value. It
doesn't help, either, I still couldn't see the "Non-plug and Play Drivers"
in Device Manager.
 
D

Doug Hoeffel

Thanks KM for helping clarify. I have a tendancy to reg hack instead of
typing :)

Also, maybe you have a missing component. This works for me but of course I
don't remember what all the components do. So maybe make sure you have
Class Installer - Non plug and play drivers, Pnp (Kernel mode), Pnp (User
mode), Plug and Play Software Device Enumerator, Device: Legacy Driver,
etc.. You probably already have most of these.

--
HTH... Doug
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Have an opinion on the effectiveness of Microsoft Embedded newsgroups? Tell
Microsoft!
https://www.windowsembeddedeval.com/community/newsgroups
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
G

Guest

Thank you for your reply, KM.

I did exactly what you talked here. After I set the Registry, I could see the envirnment variable "DEVMGR_SHOW_NONPRESENT_DEVICES=1" by typing "set" in DOS Prompt Window. However, I really couldn't see "Non-plug and Play Drivers" in devmgr

I do have a few devices without drivers installed, so every time when I reboot the machine, it pops up window to show that OS found new devices. On the same hard disk and on the same machine, I have another partition on which Windows XP Professional was installed. Same as Windows XP Embedded, I didn't install drivers on these devices. But I could see "Non-plug and Play Drivers" on Windows XP Professional on the same machine and with the same devices. Since we'll make our own drivers for these devices later for Windows XP Embedded and they are going to be shown in "Non-plug and Play Drivers", this is why I'm looking for it. At least, I should be able to see "Non-plug and Play Drivers" like "Beep", "Null"

Will those devices affect the "Non-plug and Play Drivers"? I don't know. But I could see "Non-plug and Play Drivers" on Windows XP Professional on the same machine. So I guess there could be something I missed in Windows XP Embedded or some settings I did do properly

I'm looking forward to hearing from you, and thanks again for both of you

----- KM wrote: ----

Bin

That should work. What actually Doug meant was setting th
DEVMGR_SHOW_NONPRESENT_DEVICES environmental variable to "1". Device Manage
(devmgr.dll) will pick the var value up and display hidden devices, non-Plu
and Play devices, and devices not attached to the computer (commonly know
as "ghosted" or "phantom" devices)

Instead you may just try to run the following commands from Command Lin
Prompt box
set DEVMGR_SHOW_NONPRESENT_DEVICES=
start devmgmt.ms
Select "Show hidden devices" option and see if it helps

-
KM
BSquare Corporatio
Thank you for your reply, Doug
path. I searched all of Registries under "HKEY_LOCAL_MACHINE" and I stil
couldn't find it. So I created a new Registry with this name and value. I
doesn't help, either, I still couldn't see the "Non-plug and Play Drivers
in Device Manager
 
G

Guest

Thank you so much, Doug. I did missed some components

At the beginning, I couldn't see all of the components you listed here. After I change TD options a

"opiont"|"Advanced"|"Component Visibility

and set "Minimum Visibility" from 1000(default value) to 100. I was able to see them. And I misse

-- Class Installer - Non plug and play drivers ( I do have a lot of Class Installers, except this one :-(
-- Device: Legacy Drive

I'm rebuilding the image now ... I'll let you know the result later

Thanks a lot

----- Doug Hoeffel wrote: ----

Thanks KM for helping clarify. I have a tendancy to reg hack instead o
typing :-

Also, maybe you have a missing component. This works for me but of course
don't remember what all the components do. So maybe make sure you hav
Class Installer - Non plug and play drivers, Pnp (Kernel mode), Pnp (Use
mode), Plug and Play Software Device Enumerator, Device: Legacy Driver
etc.. You probably already have most of these

--
HTH... Dou
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Have an opinion on the effectiveness of Microsoft Embedded newsgroups? Tel
Microsoft
https://www.windowsembeddedeval.com/community/newsgroup
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
G

Guest

After I added the two components and rebuilt the image, I could see the "Non-plug and Play Drivers" in Device Manager

Thank both of you very much

Bi

----- Bin wrote: ----

Thank you so much, Doug. I did missed some components

At the beginning, I couldn't see all of the components you listed here. After I change TD options a

"opiont"|"Advanced"|"Component Visibility

and set "Minimum Visibility" from 1000(default value) to 100. I was able to see them. And I misse

-- Class Installer - Non plug and play drivers ( I do have a lot of Class Installers, except this one :-(
-- Device: Legacy Drive

I'm rebuilding the image now ... I'll let you know the result later

Thanks a lot

----- Doug Hoeffel wrote: ----

Thanks KM for helping clarify. I have a tendancy to reg hack instead o
typing :-

Also, maybe you have a missing component. This works for me but of course
don't remember what all the components do. So maybe make sure you hav
Class Installer - Non plug and play drivers, Pnp (Kernel mode), Pnp (Use
mode), Plug and Play Software Device Enumerator, Device: Legacy Driver
etc.. You probably already have most of these

--
HTH... Dou
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Have an opinion on the effectiveness of Microsoft Embedded newsgroups? Tel
Microsoft
https://www.windowsembeddedeval.com/community/newsgroup
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top