Driver Problems? Questions? Issues?
Put OSR's experience to work for you! Contact us for assistance with:
  • Creating the right design for your requirements
  • Reviewing your existing driver code
  • Analyzing driver reliability/performance issues
  • Custom training mixed with consulting and focused directly on your specific areas of interest/concern.
Check us out. OSR, the Windows driver experts.

Monthly Seminars at OSR Headquarters

East Coast USA
Windows Internals and SW Drivers, Dulles (Sterling) VA, 13 November 2017

Kernel Debugging & Crash Analysis for Windows, Nashua (Amherst) NH, 4 December 2017

Writing WDF Drivers I: Core Concepts, Nashua (Amherst) NH, 8 January 2018

WDF Drivers II: Advanced Implementation Techniques, Nashua (Amherst) NH, 15 January 2018


Go Back   OSR Online Lists > ntdev
Welcome, Guest
You must login to post to this list
  Message 1 of 7  
04 Oct 17 07:10
Amin Mohammadi
xxxxxx@gmail.com
Join Date: 06 Jan 2016
Posts To This List: 6
controlling usb functionality

hi i want to enable/disable usb using software device driver how can i do this?
  Message 2 of 7  
04 Oct 17 12:54
Peter Viscarola (OSR)
xxxxxx@osr.com
Join Date:
Posts To This List: 5949
List Moderator
controlling usb functionality

You could set the USB controller drivers to be disabled. How does that sound as a simple solution? Peter OSR @OSRDrivers
  Message 3 of 7  
05 Oct 17 01:09
Amin Mohammadi
xxxxxx@gmail.com
Join Date: 06 Jan 2016
Posts To This List: 6
controlling usb functionality

but what if anyone else re enable it?? i want to do it with my own driver
  Message 4 of 7  
05 Oct 17 01:52
Tim Roberts
xxxxxx@probo.com
Join Date: 28 Jan 2005
Posts To This List: 11622
controlling usb functionality

On Oct 4, 2017, at 10:10 PM, xxxxx@gmail.com <xxxxx@lists.osr.com> = wrote: >=20 > but what if anyone else re enable it?? i want to do it with my own = driver=20 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. =E2=80=94=20 Tim Roberts, xxxxx@probo.com Providenza & Boekelheide, Inc.
  Message 5 of 7  
05 Oct 17 09:37
Mark Roddy
xxxxxx@gmail.com
Join Date: 25 Feb 2000
Posts To This List: 4012
controlling usb functionality

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 <xxxxx@lists.osr.com> wrote: > On Oct 4, 2017, at 10:10 PM, xxxxx@gmail.com <xxxxx@lists.osr.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. <...excess quoted lines suppressed...> --
  Message 6 of 7  
06 Oct 17 10:04
Peter Viscarola (OSR)
xxxxxx@osr.com
Join Date:
Posts To This List: 5949
List Moderator
controlling usb functionality

<quote> but what if anyone else re enable it?? </quote> They would have to be an administrator. <quote> i want to do it with my own driver </quote> 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. <quote> If you really want to prevent USB use totally, the only way is to pack the USB sockets with silicone sealant. </quote> My favorite solution of all time. Peter OSR @OSRDrivers
  Message 7 of 7  
06 Oct 17 10:13
Don Burn
xxxxxx@windrvr.com
Join Date: 23 Feb 2011
Posts To This List: 1349
controlling usb functionality

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 <xxxxx@lists.osr.com> Subject: RE:[ntdev] controlling usb functionality <quote> but what if anyone else re enable it?? </quote> They would have to be an administrator. <quote> i want to do it with my own driver </quote> 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. <quote> If you really want to prevent USB use totally, the only way is to pack the USB sockets with silicone sealant. </quote> My favorite solution of all time. Peter OSR @OSRDrivers --- NTDEV is sponsored by OSR Visit the list online at: <http://www.osronline.com/showlists.cfm?list=ntdev> MONTHLY seminars on crash dump analysis, WDF, Windows internals and software drivers! Details at <http://www.osr.com/seminars> To unsubscribe, visit the List Server section of OSR Online at <http://www.osronline.com/page.cfm?name=ListServer>
Posting Rules  
You may not post new threads
You may not post replies
You may not post attachments
You must login to OSR Online AND be a member of the ntdev list to be able to post.

All times are GMT -5. The time now is 02:16.


Copyright ©2015, OSR Open Systems Resources, Inc.
Based on vBulletin Copyright ©2000 - 2005, Jelsoft Enterprises Ltd.
Modified under license