controlling usb functionality

hi
i want to enable/disable usb using software device driver
how can i do this?

You could set the USB controller drivers to be disabled.

How does that sound as a simple solution?

Peter
OSR
@OSRDrivers

but what if anyone else re enable it?? i want to do it with my own driver

On Oct 4, 2017, at 10:10 PM, xxxxx@gmail.com wrote:
>
> but what if anyone else re enable it?? i want to do it with my own driver

What are you trying to prevent? If the owner of the computer wants to use USB, it’s not up to you to block him.

If you really want to prevent USB use totally, the only way is to pack the USB sockets with silicone sealant.

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

So if by “usb” you really mean “removable media” then
https://technet.microsoft.com/en-us/library/cc772540(v=ws.10).aspx

Mark Roddy

On Thu, Oct 5, 2017 at 1:51 AM, xxxxx@probo.com wrote:

> On Oct 4, 2017, at 10:10 PM, xxxxx@gmail.com
> wrote:
> >
> > but what if anyone else re enable it?? i want to do it with my own driver
>
> What are you trying to prevent? If the owner of the computer wants to use
> USB, it’s not up to you to block him.
>
> If you really want to prevent USB use totally, the only way is to pack the
> USB sockets with silicone sealant.
> —
> Tim Roberts, xxxxx@probo.com
> Providenza & Boekelheide, Inc.
>
>
> —
> NTDEV is sponsored by OSR
>
> Visit the list online at: http:> showlists.cfm?list=ntdev>
>
> MONTHLY seminars on crash dump analysis, WDF, Windows internals and
> software drivers!
> Details at http:
>
> To unsubscribe, visit the List Server section of OSR Online at <
> http://www.osronline.com/page.cfm?name=ListServer&gt;
></http:></http:>

They would have to be an administrator.

but what if anyone else disable your driver?

With all due respect, we would appreciate it if you put a BIT more effort into describing your problem… if you expect us to put effort into answering your question or providing you advice.

My favorite solution of all time.

Peter
OSR
@OSRDrivers

Actually, there are companies that have plugs for USB sockets that detect if
they are removed. They are not cheap and I have not looked for a while,
but they were sold for security situations. You can in theory remove the
plug to put in a device, but alarms start going off, and the places I have
seen them grim people carrying firearms appear immediately.

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 xxxxx@osr.com
Sent: Friday, October 06, 2017 10:05 AM
To: Windows System Software Devs Interest List
Subject: RE:[ntdev] controlling usb functionality



They would have to be an administrator.



but what if anyone else disable your driver?

With all due respect, we would appreciate it if you put a BIT more effort
into describing your problem… if you expect us to put effort into
answering your question or providing you advice.



My favorite solution of all time.

Peter
OSR
@OSRDrivers


NTDEV is sponsored by OSR

Visit the list online at:
http:

MONTHLY seminars on crash dump analysis, WDF, Windows internals and software
drivers!
Details at http:

To unsubscribe, visit the List Server section of OSR Online at
http:</http:></http:></http:>