Installing driver without administrator priviledge

Hi everybody,

I have a question? Can I install a driver with user access? I customize
devcon source code. It needs administrator priviledges. How can I remove
this requirement?

Any help would be appreciated. Thanks.

Best Regards,

Impossible.

The only possibility is, when a driver package is already installed, then UmPnPMgr will associate this driver with some devnode automatically without user intervention, i.e. without the admin logon.

Also probably it can install the properly signed driver package from the external files automatically in this case.

But, if UmPnPMgr/SetupAPI will require the UI to be shown, then sorry - admin must be logged on. This UI is only shown to the admin.


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

“elahe shekuhi” wrote in message news:xxxxx@ntdev…
Hi everybody,

I have a question? Can I install a driver with user access? I customize devcon source code. It needs administrator priviledges. How can I remove this requirement?

Any help would be appreciated. Thanks.

Best Regards,

On Mon, 15 Feb 2016, elahe shekuhi wrote:

I have a question? Can I install a driver with user access? I customize
devcon source code. It needs administrator priviledges. How can I remove
this requirement?

At least before the priviledge to install and start a driver was a
separate priviledge that you could enable for an ordinary user. (but in
practice he/she would be an administrator just not called one by
Microsoft terminology)

Bo Branten

elahe shekuhi wrote:

I have a question? Can I install a driver with user access? I
customize devcon source code. It needs administrator priviledges. How
can I remove this requirement?

As I said privately, this should be obvious. Installing a driver lets
you run code in the kernel, and code in the kernel can bypass all system
security. You can’t allow that to an unprivileged user.


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