Speaking of illegal functions (IgnoreHWSerNum)

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: Daniel Miller (dan_at_invalid.com)
Date: 12/03/04


Date: 3 Dec 2004 11:51:01 -0600

I've implemented this entry in USBFlags, and it succeeded in my original
requirement, which was adding the physical address to the USB registry
entry for each device. However, it is *also* appending the device serial
number to the key, giving entries such as:

            7&147b5178&0&0857db02225543071004&0

one for each inserted device.

This is ultimately going to be a problem, since this device is a 12-slot
bulk USB tester/programmer; running at full bore, it could have some
15000 devices/day inserted into it... each with a different serial
number!! Imagine the size of the registry after six months of use (let
alone *years* of use!!).

(BTW, I looked at my workstation machine, which is *not* a tester and has
just been used for normal USB access, and there are literally HUNDREDS of
usb entries under the USBSTOR entry; there are 44 separate descriptors,
and each of those descriptors has from 1 to ... hmmm... ALOT!! of serial
number entries under it!! This seems like not that efficient of a
system, somehow... )

I'd *really* like to have ONLY the physical address registered, without
the serial number. Is that possible??

More specific questions:

- What if I set GlobalDisableSerNumGen=0 instead of 1, since this is
actually an Enable field, not a Disable field??

- Is there some way to create a generic IgnoreHWSerNum, along the lines
of

IgnoreHWSerNum*.*

??

            Dan Miller



Relevant Pages

  • Re: Registry question
    ... RegMaid.exe Helps Clean Up the Registry ... Microsoft Visual C++, 32-bit Learning Edition, version 6.0 ... RegMaid provides information about entries that are believed to be ... server file entry cannot be found by the system. ...
    (microsoft.public.windowsxp.general)
  • Re: How to Change the Default Screen in Windows CE 5.0
    ... Paul T. ... adding the entry in project.reg for my application entry,so my ... entries in your favorite reg file and then checking whose entries are ... Explrer.exe registry entry is available in the shell.reg, ...
    (microsoft.public.windowsce.embedded)
  • Re: Run appl in headless system at startup
    ... I have an entry for my app in the project.bib file, ... However, looking at the registry after booting the target device, using the ... CE Remote Registry tool, the Init key doesn't contain my entries, hence ...
    (microsoft.public.windowsce.platbuilder)
  • Re: Slow response despite ok dns...?
    ... All members of a single-label AD Domain require registry entries ... locate the UpdateTopLevelDomainZones entry. ... locate the AllowSingleLabelDnsDomain entry. ...
    (microsoft.public.windows.server.dns)
  • Re: registry cleaner
    ... Unless a registry entry causes a timeout any ... You mention removing 1,000 registry ... entries but how many of those entries would have been accessed when you ...
    (microsoft.public.windowsxp.general)