Anders Nilsson | 1 Apr 13:05 2009
Picon
Picon
Picon

USB hardware drivers

I may be in the wrong forum here, but perhaps a kind soul can set me in
the right direction.

I use WPKG for deploying hardware drivers for some USB devices. This
problems concerns a USB bluetooth dongle in particular.

Installing the driver via WPKG is no problem, but when the user plugs in
the dongle it has to be installed as Administrator, and this has to be
done for every USB port on the PC to be able to use it in that
particular port.

The driver itself is not signed by Microsoft. Could this be the reason
as to why the Administrator is needed when the device is plugged in?

Anyway, is this problem solvable with WPKG at all given that I could
figure out what registry keys and/or files that changes when the device
is plugged in?
-------------------------------------------------------------------------
wpkg-users mailing list archives >> http://lists.wpkg.org/pipermail/wpkg-users/
Chris Wilcox | 1 Apr 13:07 2009
Picon

Re: USB hardware drivers

This is normal behaviour for any device using non-signed drivers.  There isn't any way around it beyond trying to source some signed drivers.


 
> Date: Wed, 1 Apr 2009 13:05:31 +0200
> From: andersn <at> isy.liu.se
> To: wpkg-users <at> lists.wpkg.org
> Subject: [wpkg-users] USB hardware drivers
>
> I may be in the wrong forum here, but perhaps a kind soul can set me in
> the right direction.
>
> I use WPKG for deploying hardware drivers for some USB devices. This
> problems concerns a USB bluetooth dongle in particular.
>
> Installing the driver via WPKG is no problem, but when the user plugs in
> the dongle it has to be installed as Administrator, and this has to be
> done for every USB port on the PC to be able to use it in that
> particular port.
>
> The driver itself is not signed by Microsoft. Could this be the reason
> as to why the Administrator is needed when the device is plugged in?
>
> Anyway, is this problem solvable with WPKG at all given that I could
> figure out what registry keys and/or files that changes when the device
> is plugged in?
> -------------------------------------------------------------------------
> wpkg-users mailing list archives >> http://lists.wpkg.org/pipermail/wpkg-users/
> _______________________________________________
> wpkg-users mailing list
> wpkg-users <at> lists.wpkg.org
> http://lists.wpkg.org/mailman/listinfo/wpkg-users

Share your photos with Windows Live Photos – Free. Try it Now!
-------------------------------------------------------------------------
wpkg-users mailing list archives >> http://lists.wpkg.org/pipermail/wpkg-users/
_______________________________________________
wpkg-users mailing list
wpkg-users <at> lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users
Tomasz Chmielewski | 1 Apr 13:23 2009

Re: USB hardware drivers

Chris Wilcox schrieb:
> This is normal behaviour for any device using non-signed drivers.  There 
> isn't any way around it beyond trying to source some signed drivers.

What about checking what changes in the system (i.e. with WinInstall LE 
or similar tool):

- check all files, registry before plugging in the device
- check all files, registry *after* plugging in the device and accepting 
it as Administrator

Technically, I think it could work.

--

-- 
Tomasz Chmielewski
http://wpkg.org

-------------------------------------------------------------------------
wpkg-users mailing list archives >> http://lists.wpkg.org/pipermail/wpkg-users/
Chris Wilcox | 1 Apr 13:31 2009
Picon

Re: USB hardware drivers

If it does work then hundreds of us on a different user forum have been missing a trick for decades!
 
I've tried in the past to package non-signed drivers for a scanner - even if you create the MSI for them around plugging the device in as an admin level user it still needs this done on the workstation aswell.  It also needs repeated for each 'set' of USB ports on the workstation aswell e.g. once on rear ports, once on front ports.
 
And then add in all the different hardware configurations and you're on a losing path.
 
XP/Vista will only install signed drivers under non-admin user accounts.


 
> Date: Wed, 1 Apr 2009 13:23:06 +0200
> From: mangoo <at> wpkg.org
> To: not_rich_yet <at> hotmail.com
> CC: wpkg-users <at> lists.wpkg.org
> Subject: Re: [wpkg-users] USB hardware drivers
>
> Chris Wilcox schrieb:
> > This is normal behaviour for any device using non-signed drivers. There
> > isn't any way around it beyond trying to source some signed drivers.
>
> What about checking what changes in the system (i.e. with WinInstall LE
> or similar tool):
>
> - check all files, registry before plugging in the device
> - check all files, registry *after* plugging in the device and accepting
> it as Administrator
>
> Technically, I think it could work.
>
> --
> Tomasz Chmielewski
> http://wpkg.org
>

Get the New Internet Explore 8 Optimised for MSN. Download Now
-------------------------------------------------------------------------
wpkg-users mailing list archives >> http://lists.wpkg.org/pipermail/wpkg-users/
_______________________________________________
wpkg-users mailing list
wpkg-users <at> lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users
Tomasz Chmielewski | 1 Apr 13:36 2009

Re: USB hardware drivers

Chris Wilcox schrieb:
> If it does work then hundreds of us on a different user forum have been 
> missing a trick for decades!
>  
> I've tried in the past to package non-signed drivers for a scanner - 
> even if you create the MSI for them around plugging the device in as an 
> admin level user it still needs this done on the workstation aswell.  It 
> also needs repeated for each 'set' of USB ports on the workstation 
> aswell e.g. once on rear ports, once on front ports.
>  
> And then add in all the different hardware configurations and you're on 
> a losing path.
>  
> XP/Vista will only install signed drivers under non-admin user accounts.

Repackaging/creating MSI package may not be enough.

Look into a created MSI package to see what files and registry entries 
it adds.
With some luck (and a lot of head scratching), it may be possible to 
figure out what changes where and why.

--

-- 
Tomasz Chmielewski
http://wpkg.org
-------------------------------------------------------------------------
wpkg-users mailing list archives >> http://lists.wpkg.org/pipermail/wpkg-users/
Chris Wilcox | 1 Apr 13:38 2009
Picon

Re: USB hardware drivers

  Chris Wilcox schrieb:
> > If it does work then hundreds of us on a different user forum have been
> > missing a trick for decades!
> >
> > I've tried in the past to package non-signed drivers for a scanner -
> > even if you create the MSI for them around plugging the device in as an
> > admin level user it still needs this done on the workstation aswell. It
> > also needs repeated for each 'set' of USB ports on the workstation
> > aswell e.g. once on rear ports, once on front ports.
> >
> > And then add in all the different hardware configurations and you're on
> > a losing path.
> >
> > XP/Vista will only install signed drivers under non-admin user accounts.
>
> Repackaging/creating MSI package may not be enough.
>
> Look into a created MSI package to see what files and registry entries
> it adds.
> With some luck (and a lot of head scratching), it may be possible to
> figure out what changes where and why.
>
 
I don't even think it's down to the registry - XP knows the driver isn't signed and it has to install it the first time a device is plugged into that exact computer.  The only way around it will probably be via a GPO setting to allow all users to install un-signed device drivers which I think is possible to do but highly dubious as they can then install ANY device they wish without the network admin staff knowing about it which could lead to stability issues.

Share your photos with Windows Live Photos – Free. Try it Now!
-------------------------------------------------------------------------
wpkg-users mailing list archives >> http://lists.wpkg.org/pipermail/wpkg-users/
_______________________________________________
wpkg-users mailing list
wpkg-users <at> lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users
Marco Gaiarin | 1 Apr 13:54 2009
Picon

Re: USB hardware drivers

Mandi! Anders Nilsson
  In chel di` si favelave...

> I use WPKG for deploying hardware drivers for some USB devices. This
> problems concerns a USB bluetooth dongle in particular.

I use dpinst /q to install driver package for an USB smartcard
reader/dongle, but i don't remember if the driver was signed or not...

--

-- 
dott. Marco Gaiarin				    GNUPG Key ID: 240A3D66
  Associazione ``La Nostra Famiglia''                http://www.sv.lnf.it/
  Polo FVG  -  Via della Bontà, 7 - 33078  -  San Vito al Tagliamento (PN)
  marco.gaiarin(at)sv.lnf.it	  tel +39-0434-842711  fax +39-0434-842797

		Dona il 5 PER MILLE a LA NOSTRA FAMIGLIA!
	   http://www.lanostrafamiglia.it/chi_siamo/5xmille.php
	(cf 00307430132, categoria ONLUS oppure RICERCA SANITARIA)
-------------------------------------------------------------------------
wpkg-users mailing list archives >> http://lists.wpkg.org/pipermail/wpkg-users/
Claudiu Cristea | 1 Apr 14:22 2009
Picon

WPKG Client settings

Hi all,

Does anybody know were are stored the WPKG Client settings?

Thanks,
Claudiu

-------------------------------------------------------------------------
wpkg-users mailing list archives >> http://lists.wpkg.org/pipermail/wpkg-users/
_______________________________________________
wpkg-users mailing list
wpkg-users <at> lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users
Tomasz Chmielewski | 1 Apr 14:25 2009

Re: WPKG Client settings

Claudiu Cristea schrieb:
> Hi all,
> 
> Does anybody know were are stored the WPKG Client settings?

It is stored in "secure containers" provided by the operating system.

Do you need to access that data, or?

--

-- 
Tomasz Chmielewski
http://wpkg.org

-------------------------------------------------------------------------
wpkg-users mailing list archives >> http://lists.wpkg.org/pipermail/wpkg-users/
Tomasz Chmielewski | 1 Apr 14:33 2009

Re: WPKG Client settings

Claudiu Cristea schrieb:
> I thought that is a file. I wanted to simply copy that file to all 
> workstations instead of export/import it...

No, it's not possible.
You have to import the file.

Otherwise, any usernames/passwords could be revealed too easily.

--

-- 
Tomasz Chmielewski
http://wpkg.org

-------------------------------------------------------------------------
wpkg-users mailing list archives >> http://lists.wpkg.org/pipermail/wpkg-users/

Gmane