Welcome to WebmasterWorld Guest from 54.225.6.131

Forum Moderators: bill

Message Too Old, No Replies

Disable ALL USB ports

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

Junior Member

5+ Year Member

joined:Nov 4, 2006
posts:128
votes: 0


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.

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

Administrator from JP 

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

joined:Oct 12, 2000
posts:14786
votes: 86


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.
12:42 pm on Nov 21, 2007 (gmt 0)

Junior Member

5+ Year Member

joined:Nov 4, 2006
posts:128
votes: 0


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.

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

Senior Member from MY 

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

joined:Apr 1, 2003
posts:4847
votes: 0


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.

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

Junior Member

5+ Year Member

joined:Nov 4, 2006
posts:128
votes: 0


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

Any help appreciated. Best regards.

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

Senior Member

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

joined:Mar 2, 2003
posts:3710
votes: 0


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.