Windows XP Community - XPHeads



Edit Registry to Eliminate Driver Installation for Multiple IdenticalUSB Devices

microsoft.public.windowsxp.device_driver.dev


Reply
  #1 (permalink)  
Old 05-20-2008, 10:29 PM
kevincw01
 
Posts: n/a
Edit Registry to Eliminate Driver Installation for Multiple IdenticalUSB Devices
My understanding is that when I plug a new USB device into windows xp,
the device's serial number is polled and(if found), a series of
registry entries are created. Later when I install the driver for
this new device, the driver is associated with the serial number of
the device. Please correct me if I'm wrong.

I have over 100 USB devices with unique serial numbers. Each time I
connect a new one, I'm required to re-install the driver. My intent
is to gather the serial numbers from the manufacturer and replicate
the registry entries created by a single driver install, for all the
other USB devices. Can this be done? Is there a better way?

Thanks in advance,
-Kevin
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 05-21-2008, 09:28 PM
Doron Holan [MSFT]
 
Posts: n/a
Re: Edit Registry to Eliminate Driver Installation for Multiple Identical USB Devices
no, you cannot do this. if you are refering to the keys under
hklm\system\currentcontrolset\enum\... then the layout of these keys are
private and undocumented and are not portable from one machine to the next.

d

--
Please do not send e-mail directly to this alias. this alias is for
newsgroup purposes only.
This posting is provided "AS IS" with no warranties, and confers no rights.


"kevincw01" <kevin@netkev.com> wrote in message
news:59b34621-0052-43c9-aff0-8aa6c272e9d1@c19g2000prf.googlegroups.com...
> My understanding is that when I plug a new USB device into windows xp,
> the device's serial number is polled and(if found), a series of
> registry entries are created. Later when I install the driver for
> this new device, the driver is associated with the serial number of
> the device. Please correct me if I'm wrong.
>
> I have over 100 USB devices with unique serial numbers. Each time I
> connect a new one, I'm required to re-install the driver. My intent
> is to gather the serial numbers from the manufacturer and replicate
> the registry entries created by a single driver install, for all the
> other USB devices. Can this be done? Is there a better way?
>
> Thanks in advance,
> -Kevin


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 06-02-2008, 05:29 PM
kevincw01
 
Posts: n/a
Re: Edit Registry to Eliminate Driver Installation for MultipleIdentical USB Devices
On May 21, 2:28 pm, "Doron Holan [MSFT]" <dor...@online.microsoft.com>
wrote:
> no, you cannot do this. if you are refering to the keys under
> hklm\system\currentcontrolset\enum\... then the layout of these keys are
> private and undocumented and are not portable from one machine to the next.
>
> d
>
> --
> Please do not send e-mail directly to this alias. this alias is for
> newsgroup purposes only.
> This posting is provided "AS IS" with no warranties, and confers no rights.
>
> "kevincw01" <ke...@netkev.com> wrote in message
>
> news:59b34621-0052-43c9-aff0-8aa6c272e9d1@c19g2000prf.googlegroups.com...
>
> > My understanding is that when I plug a new USB device into windows xp,
> > the device's serial number is polled and(if found), a series of
> > registry entries are created. Later when I install the driver for
> > this new device, the driver is associated with the serial number of
> > the device. Please correct me if I'm wrong.

Even if the machines are identical and installed using a ghost image
of the same windows xp installation?
>
> > I have over 100 USB devices with unique serial numbers. Each time I
> > connect a new one, I'm required to re-install the driver. My intent
> > is to gather the serial numbers from the manufacturer and replicate
> > the registry entries created by a single driver install, for all the
> > other USB devices. Can this be done? Is there a better way?

>
> > Thanks in advance,
> > -Kevin


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 06-02-2008, 09:22 PM
Doron Holan [MSFT]
 
Posts: n/a
Re: Edit Registry to Eliminate Driver Installation for Multiple Identical USB Devices
yes, even for identical machines. you are not allowed to manipulate the
enum key outside of the OS in any way in any context

d

--
Please do not send e-mail directly to this alias. this alias is for
newsgroup purposes only.
This posting is provided "AS IS" with no warranties, and confers no rights.


"kevincw01" <kevin@netkev.com> wrote in message
news:aa7f1116-be5f-45c6-ad0f-219b28539ee5@d19g2000prm.googlegroups.com...
> On May 21, 2:28 pm, "Doron Holan [MSFT]" <dor...@online.microsoft.com>
> wrote:
>> no, you cannot do this. if you are refering to the keys under
>> hklm\system\currentcontrolset\enum\... then the layout of these keys are
>> private and undocumented and are not portable from one machine to the
>> next.
>>
>> d
>>
>> --
>> Please do not send e-mail directly to this alias. this alias is for
>> newsgroup purposes only.
>> This posting is provided "AS IS" with no warranties, and confers no
>> rights.
>>
>> "kevincw01" <ke...@netkev.com> wrote in message
>>
>> news:59b34621-0052-43c9-aff0-8aa6c272e9d1@c19g2000prf.googlegroups.com...
>>
>> > My understanding is that when I plug a new USB device into windows xp,
>> > the device's serial number is polled and(if found), a series of
>> > registry entries are created. Later when I install the driver for
>> > this new device, the driver is associated with the serial number of
>> > the device. Please correct me if I'm wrong.

> Even if the machines are identical and installed using a ghost image
> of the same windows xp installation?
>>
>> > I have over 100 USB devices with unique serial numbers. Each time I
>> > connect a new one, I'm required to re-install the driver. My intent
>> > is to gather the serial numbers from the manufacturer and replicate
>> > the registry entries created by a single driver install, for all the
>> > other USB devices. Can this be done? Is there a better way?

>>
>> > Thanks in advance,
>> > -Kevin

>


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 08-22-2008, 01:52 PM
Bill Davy
 
Posts: n/a
Re: Edit Registry to Eliminate Driver Installation for Multiple Identical USB Devices
"kevincw01" <kevin@netkev.com> wrote in message
news:aa7f1116-be5f-45c6-ad0f-219b28539ee5@d19g2000prm.googlegroups.com...
> On May 21, 2:28 pm, "Doron Holan [MSFT]" <dor...@online.microsoft.com>
> wrote:
>> no, you cannot do this. if you are refering to the keys under
>> hklm\system\currentcontrolset\enum\... then the layout of these keys are
>> private and undocumented and are not portable from one machine to the
>> next.
>>
>> d
>>
>> --
>> Please do not send e-mail directly to this alias. this alias is for
>> newsgroup purposes only.
>> This posting is provided "AS IS" with no warranties, and confers no
>> rights.
>>
>> "kevincw01" <ke...@netkev.com> wrote in message
>>
>> news:59b34621-0052-43c9-aff0-8aa6c272e9d1@c19g2000prf.googlegroups.com...
>>
>> > My understanding is that when I plug a new USB device into windows xp,
>> > the device's serial number is polled and(if found), a series of
>> > registry entries are created. Later when I install the driver for
>> > this new device, the driver is associated with the serial number of
>> > the device. Please correct me if I'm wrong.

> Even if the machines are identical and installed using a ghost image
> of the same windows xp installation?
>>
>> > I have over 100 USB devices with unique serial numbers. Each time I
>> > connect a new one, I'm required to re-install the driver. My intent
>> > is to gather the serial numbers from the manufacturer and replicate
>> > the registry entries created by a single driver install, for all the
>> > other USB devices. Can this be done? Is there a better way?

>>
>> > Thanks in advance,
>> > -Kevin

>



FWIW, I think I spotted one funny thing. I has a serial number string of
"S/N:xxxx" but that was mutated somewhere into "S#N:xxxx" and device names
(which we are not permitted to read) of a uses "#" as a field separaor so I
was always being asked for the device driver. Fixed that and it was happy
with different serial numbered devices.

Just my 2c worth.

Bill


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 05:19 AM.








Design by Vjacheslav Trushkin for phpBBStyles.com.
Powered by vBulletin® Version 3.6.7
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.1.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74