disbale USB PnP

  • Thread starter Thread starter Urs Gehrig
  • Start date Start date
U

Urs Gehrig

Hi there,

I'm working with Windows XP embeded and lokking for a way to disable the
plug and play popup which appears when I connect a new device on an USB
port.
Because my computer runs as a dedicated machine controller with an enabled
USB port (necessary for a pinter e.g.) I have to control which devices an
user can connect through the USB port.
My goal is just to allow some fixed and predefined devices. If the user
plugs in a device Windows XP should either use the driver it already have or
nothing for all not predefined devices.
No Windows messages and pop up windows are allowed.

Any idea? Thanks

Urs
 
I don't know about getting rid of the popups, but if you
don't include the drivers for anything you're not using,
they'll not be able to use them anyway.
 
Yeah, thats's right.
But the thing around the popup is very important.
The GUI of the machine (running on XP) will be delivered in nearly 20
languages but runs always on an english Windows XP. So I don't like to have
any english popup from windows, because the user can't understand the
message anyway.
Any idea about disabling the popup?

Thanks
Urs
 
I have the same problem, only specified hardware is allowed.
So I have only inluded my specific hardware.

To stop the popup's you have to delete the hfwwiz.cpl and the newdev.dll,
after you have installed your drivers.
Or if all your drivers are included as components in the image and you don't
need to install drivers after build, the only thing you have to do is, don't
include Hardware wizard.

If the hardware wizard is not in the image, there are no popups.
If there is a driver in the image, pnp do all what is needed and the
hardware works fine.
If there is no driver, the new hardware is marked as unknown in device
manager.

Thats all...

Mario
 
Back
Top