How to auto run a driver for a new device?

Hi experts,

I have a pad play a role of a monitor. this is new device, we write a driver by ourself. so I should install the driver manually by myself on host PC (at least we have to click the installer to install the driver for the device).

Is there a way for us to have automatically run this device ? i.e. we don’t need an operation on host PC, and just plug in the device, then the driver would be transfer / or anything else to the host PC and then automatically being installed (so that the customer needn’t care of any driver problem, just plug in device and use it).

In current benchmark, I know that some vendors may have a solution like : simulate the device as CD drive at first, and the driver will be installed by AutoRun program, then replug the device, the device will become/transform to the real function device. there is a defect that some host PCs will prevent the CD drive to auto run a program.

Is there any other solution?

xxxxx@hotmail.com wrote:

I have a pad play a role of a monitor. this is new device, we write a driver by ourself. so I should install the driver manually by myself on host PC (at least we have to click the installer to install the driver for the device).

Is there a way for us to have automatically run this device ? i.e. we don’t need an operation on host PC, and just plug in the device, then the driver would be transfer / or anything else to the host PC and then automatically being installed (so that the customer needn’t care of any driver problem, just plug in device and use it).

In current benchmark, I know that some vendors may have a solution like : simulate the device as CD drive at first, and the driver will be installed by AutoRun program, then replug the device, the device will become/transform to the real function device. there is a defect that some host PCs will prevent the CD drive to auto run a program.

Is there any other solution?

There are no magic back doors. I think you can enumerate the possible
solutions yourself. You can either mke a fake CD and hope for autorun,
or you can pass your driver through WHQL and get it installed in the
driver library.

Anything else would be a huge security hole.


Tim Roberts, xxxxx@probo.com
Providenza & Boekelheide, Inc.

And you should note that a lot of the security suites disable auto-run these
days because the fake-CD model is considered a security hole, one that has
been exploited a few times.

Don Burn
Windows Driver Consulting
Website: http://www.windrvr.com

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Tim Roberts
Sent: Thursday, March 12, 2015 12:38 PM
To: Windows System Software Devs Interest List
Subject: Re: [ntdev] How to auto run a driver for a new device?

xxxxx@hotmail.com wrote:

I have a pad play a role of a monitor. this is new device, we write a
driver by ourself. so I should install the driver manually by myself on host
PC (at least we have to click the installer to install the driver for the
device).

Is there a way for us to have automatically run this device ? i.e. we
don’t need an operation on host PC, and just plug in the device, then the
driver would be transfer / or anything else to the host PC and then
automatically being installed (so that the customer needn’t care of any
driver problem, just plug in device and use it).

In current benchmark, I know that some vendors may have a solution like :
simulate the device as CD drive at first, and the driver will be installed
by AutoRun program, then replug the device, the device will become/transform
to the real function device. there is a defect that some host PCs will
prevent the CD drive to auto run a program.

Is there any other solution?

There are no magic back doors. I think you can enumerate the possible
solutions yourself. You can either mke a fake CD and hope for autorun, or
you can pass your driver through WHQL and get it installed in the driver
library.

Anything else would be a huge security hole.


Tim Roberts, xxxxx@probo.com
Providenza & Boekelheide, Inc.


NTDEV is sponsored by OSR

Visit the list at: http://www.osronline.com/showlists.cfm?list=ntdev

OSR is HIRING!! See http://www.osr.com/careers

For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars

To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer

Thanks for your quick response.

the device is in private network and running on XP, so the WHQL want help as we can not connect to internet. The CD drive solution will help, but the device hardware should be redesigned to adapt this solution, we actually not willing to do that as we have sold out many boards already. It looks no back door here.

> Is there any other solution?

Surely no, any autorun can be (and usually is) disabled by security tools.


Maxim S. Shatskih
Microsoft MVP on File System And Storage
xxxxx@storagecraft.com
http://www.storagecraft.com