Welcome to WebmasterWorld Guest from 54.221.28.179

Forum Moderators: bill

Message Too Old, No Replies

Disable ALL USB ports

     

onetry

3:16 pm on Nov 20, 2007 (gmt 0)

5+ Year Member



I would like to write a script (bat,reg,vbs or whatever) to disable ALL usb ports on a client, not only USB removable drives.

Can you point me in right direction?

Best regards.

bill

1:54 am on Nov 21, 2007 (gmt 0)

WebmasterWorld Administrator bill is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month



Microsoft has an article on their site: How to disable the use of USB storage devices [support.microsoft.com] that should get you headed in the right direction. A quick perusal of the search engines show a number of other methods to accomplish this.

onetry

12:42 pm on Nov 21, 2007 (gmt 0)

5+ Year Member



bill,

thanks for the reply but as I mentioned


not only USB removable drives.

I would like to disable USB ports also for other use: USB printer, USB keyboard, etc etc...

I cannot find articles about it.

Regards.

vincevincevince

12:45 pm on Nov 21, 2007 (gmt 0)

WebmasterWorld Senior Member vincevincevince is a WebmasterWorld Top Contributor of All Time 10+ Year Member



Method one
Remove the driver files for those USB ports and replace them with another file of the same name but empty. Restart and cross your fingers.

Method two
Mix three parts epoxy resin with one part hardener, place into the corner of a plastic bag, roll up the other end as if you wanted to do icing, and then snip the tiny corner which should now be full of pressurised hardening resin. Squeeze the bag and position the tip so that resin pushes its way into the USB ports, securely ensuring that they cannot be used for any devices.

Method three
If you are lucky, your ports are not directly soldered to the board but are actually connected by wires. Remove case. Remove the wires from the board or the back of the port. Replace case.

onetry

10:35 am on Nov 23, 2007 (gmt 0)

5+ Year Member



Can you explain me how to know where USB driver files are in windows xp?

Any help appreciated. Best regards.

kaled

12:49 pm on Nov 23, 2007 (gmt 0)

WebmasterWorld Senior Member kaled is a WebmasterWorld Top Contributor of All Time 10+ Year Member



Rather than using hacks, open the device manager and disable all USB ports, etc.

If this isn't good enough, you can view the device driver files from here and delete them by sneaky means (but if you don't know what you're doing, you'll kill the whole system). I'm not going to explain further.

Kaled.

 

Featured Threads

Hot Threads This Week

Hot Threads This Month